text:
Added Max Point Distance for Non-Ch Requests

This PR intents to fix #734. It adds the option to define a maximum beeline between two consecutive points. The distance will be only checked for non-ch requests.

Thanks!
I'm not sure about the naming. Do you think we need at some point parameters for CH, non-CH and different boost techs like landmarks? If yes, then probably just max_waypoint_distance is enough for the non-ch case without the 'non-ch' addition? And for all ch and landmark related configs we just use e.g. lm.max_waypoint_distance?
And ugly that there is way_point_max_distance with a complete different meaning. But we could find a better name for this and make this accessible in the docs, plus deprecate the old naming.

If yes, then probably just max_waypoint_distance is enough for the non-ch case without the 'non-ch' addition?

Not sure, I chose the naming because that is actually the meaning of the parameter, whereas I would assume that max_waypoint_distance is enforced independent from CH, which is not true right now.

If yes, then probably just max_waypoint_distance is enough for the non-ch case without the 'non-ch' addition?

We just got rid of the . in parameters, so I feel like that I would chose something different, but yes denoting or creating some sort of category would be great. Maybe with __, we should think about this; maybe in a different issue or in the forum?

And ugly that there is way_point_max_distance with a complete different meaning

You are right, I have not considered that. This is ugly indeed. Any naming suggestions here? I somehow feel that the current name describes the meaning pretty well.

whereas I would assume that max_waypoint_distance is enforced independent from CH, which is not true right now.

Yes, you are right. Can you still slightly rename it to non_ch_max_waypoint_distance?

We just got rid of the . in parameters

Not if they can easily fall into a category like ch.disable or are for config.properties only (routing...)
BTW: maybe we should introduce a category 'non_ch' and name it non_ch.max_waypoint_distance?

I somehow feel that the current name describes the meaning pretty well.

Maybe perpendicular_max_waypoint_filter_distance or some 'filter/smoothing/cleaning' addition?

One minor addition could be useful: if CH disabling is possible or CH is disabled and this parameter is still MAX we should probably print out a warning? Or already set a high limit per default?

BTW: maybe we should introduce a category 'non_ch' and name it non_ch.max_waypoint_distance?

Thanks, I did that :).

Maybe perpendicular_max_waypoint_filter_distance or some 'smoothing/cleaning' replacing the filter?

Not sure about the naming, so I thought I won't touch it for now, however I can change it if you want?

if CH disabling is possible or CH is disabled and this parameter is still MAX we should probably print out a warning? Or already set a high limit per default?

Yes sounds good, but I would only add it to the config file, not to the code itself. Therefore, we don't break existing code.
Let me know what you think or if I should improve anything with the current solution?

Not sure about the naming, so I thought I won't touch it for now

Yes. I've put a note in #437

Therefore, we don't break existing code

Nice idea, I'll change the config-example.properties

Nice idea, I'll change the config-example.properties

Ups - you've already done this - thanks!

authors: boldtrn karussell

repo: graphhopper/graphhopper


text:
Ask for 'startBlock' during 'graph init' and 'graph add'

One caveat that new subgraph developers always fall into is not specifying a startBlock. That makes the subgraph super slow to start indexing useful data. We should ask for startBlock during the init and add dialogs. Best would be to get it automatically like described here: #917. But this issue describes a quicker way to implement and a fallback if an external source is not available.

It would be a great addition to the graph add command, that will permit to use the command from scripts without having to manually edit afterward.

@bmarcot like a command line argument: graph add 0xdeadbeef.... --start-block 123?

@schmidsi yes!

@dotansimha, @incrypto32 is already working on this feature since it is a good first issue to learn the codebase. Just to let you know 😊

source: gharchive/issue

authors: bmarcot schmidsi

repo: graphprotocol/graph-cli

license_type: permissive

license_source: github-api


text:
store: Fix call_cache queries when the chain is in a separate namespace

Fixes https://github.com/graphprotocol/graph-node/issues/2168

For my understanding, how does this change make the code better handle a separate namespace?

For my understanding, how does this change make the code better handle a separate namespace?

It doesn't improve anything, it just makes it work ;) Before the change, the queries were just incorrect when a chain had its own namespace.

@lutter I just wanted to understand how "CURRENT_DATE > eth_call_meta.accessed_at" is functionally different from
sql(&format!(
                            "CURRENT_DATE > {}.{}",
                            CallMetaTable::TABLE_NAME,
                            CallMetaTable::ACCESSED_AT
                        )),

@lutter I just wanted to understand how "CURRENT_DATE > eth_call_meta.accessed_at" is functionally different from
sql(&format!(
                            "CURRENT_DATE > {}.{}",
                            CallMetaTable::TABLE_NAME,
                            CallMetaTable::ACCESSED_AT
)),

Aah .. now I understand the confusion: the original query had the wrong table name. CallMetaTable::TABLE_NAME boils down to call_meta, which is actually used in the query whereas eth_call_meta is not. Chains that live in their own namespace have tables blocks, call_cache and call_meta in their namespace that mirror ethereum_block, eth_call_cache and eth_call_meta in the public schema.

@lutter ah so we don't need to explicitly handle the namespace. Thanks for the clarification.

source: gharchive/pull-request

authors: leoyvens lutter

repo: graphprotocol/graph-node


text:
Altair spring boot application properties

I like Altair and was wondering if altair variables are available as application properties just like graphiql
window.ALTAIR_ENDPOINT_URL = '';
window.ALTAIR_SUBSCRIPTIONS_ENDPOINT = '';
window.ALTAIR_INITIAL_QUERY = '{ hello { id }}';
window.ALTAIR_INITIAL_VARIABLES = '{"number": 2}';

@mrcasablr, this feature is available and fixed in the last PR, just wait for the  next release 😊.

@Sparow199 Just released it in v5.7.3. Could you describe these relevant properties in the README?

authors: Sparow199 mrcasablr oliemansm

license: MIT


text:
Cannot use Connection Field with unions

When I try to use t.connectionField in the definition of a unionType I get a Property 'connectionField' does not exist on type 'UnionDefinitionBlock' error.
Example:
const CharacterInterface = unionType({
  name: "Character",
  definition(t) {
    t.connectionField("friends", {
      type: "Character"
      nodes(root, args, ctx) {
        return ["hello", "hello"]
      }
    })
  }
})

Update:
I just realised that you can't define a field inside the definition of a Union.
Although in the query we would have to query them in separate fragments, in some cases some fields might have common resolvers, in which case it's better to write them once in the union definition rather than write them separately each time in the definition of every type that's a part of the union. Is there something that I'm missing here?

Although in the query we would have to query them in separate fragments, in some cases some fields might have common resolvers, in which case it's better to write them once in the union definition rather than write them separately each time in the definition of every type that's a part of the union. Is there something that I'm missing here?

Sounds like you're describing an interfaceType.

@tgriesser Yup, as I typed it out I realised that I should be using an interface instead of a union. Sorry for the trouble 🙂

repo: graphql-nexus/schema


text:
Disable juniper_hyper testing on nightly due to rustc bug

This will make the tests pass for now when dealing with pull requests.
Once merged we should create an issue to track the re-enabling of all channels (as an addition to the TODO comment).

ps: the changes have reached beta, so it's not working there anymore either

Ok well, it's not even working on stable anymore!

repo: graphql-rust/juniper

license_source: bigquery


text:
Serve the resources only over HTTPS

In order to close H1-117330, redirect all HTTP requests to the HTTPS URL.
Not 100% sure it'll be working on the first try. Let's see.

How do browsers handle redirects in script element src? Are they loaded transparently?

I don't think there is any distinction between fetching a page and fetching a resource related to a page. Never had any issue with this.
It's just making useless requests since we are not caching the redirection, slowing a little bit the process.

How do browsers handle redirects in script element src? Are they loaded transparently?

Looks like it. 👍

It's just making useless requests since we are not caching the redirection, slowing a little bit the process.

Well, we are caching the final resource, so the browser can still avoid a second HTTP request.

I'm trying to understand the default_server (formerly default) parameter to listen. I'm pretty sure what we have in dd65e0592f024d4df86db3858ec0f217358a6b73 will do what we want, but I don't quite understand why. Does NGINX match based on the Host header, I guess?

Yeah, we're good. NGINX matches the Host header against server_name, and anything that doesn't match will go to the default server block, which is the first when none is specified via the default_server parameter to listen.
http://nginx.org/en/docs/http/request_processing.html
That means we don't need the server_names in the first server, and not having them would maybe be better since really we want to redirect anything to https://grtp.co/.

Aha, I was trying to figure the same thing! Nice catch.
Anyway, the browser will never make more than two requests and we can easily see on the logs if a lot of users are using HTTP, but I don't think it's the case.
Sounds OK for me :)

Okay! Note that I snuck in 7d249f61dd6b10bf531bb84704cca2e24399bb42 as well. 😁  If you're good with that and the rest, I'm ready to give this a whirl.

I saw, np!

Okay! Deploying ...

Deployed. 👍
http://grtp.co/v1.js

FTR, the www. subdomains are not defined (why not for removing the wildcard "because phishing" but we should restore the www ones) and there are no IPv6 records (I'll make an issue for this).

The www. subdomains are not defined in DNS, right? Is that what you're saying? You think we should define www.g{rt}tp.co in DNS?

Exactly. These two subdomains are already covered by the SSL certificate, so why not…

why not…

Because it's more work and no users are asking for it? :)

license: mit


text:
fix copy&paste error in log message

It seems someone copied the log message statement from a few lines earlier and forgot to adjust the message from addr to route.

 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.

authors: CLAassistant taladar

repo: gravitl/netclient


text:
finish overlay implementation on ingesters

Not Completed
[ ] - File Follow Windows
[ ] - canbus
[ ] - collectd
[ ] - Netlfow
[ ] - network log/pcap
[ ] - migrate
[ ] - kafka consumer
[ ] - Google PubSub
[ ] -  O365
[ ] - SQS Ingester
[ ] - WinEvents
[ ] - IPMI Ingester
Completed
[X] - SimpleRelay
[X] - File Follow Linux
[X] - HTTP Ingester

https://github.com/gravwell/gravwell/pull/376

repo: gravwell/gravwell


text:
Plot doesnt appear

Hi! I am using the Chia-Plot-Status Programm since yesterday. Since them it showed all plots i made, but now i have made an new plot (actual 9% in chia gui) but it doesnt is shown in the chia-plot-status programm.
The log file is there and in the same folder, like all other plots, but it doesnt apears in the programm. can i manually select plot files to be shown in the programm?

Can you publish the log file so I can take a look why this is not picked up?

plotter_log_f4282a09-fe55-470c-891a-618dcb9efc7d.txt

Thank you for that log file.
The reason its not showing up is Chia Plot Status tries to probe each file before it parses it as a log file to prevent reading dozens of MB or GB if the user tells Chia Plot Status to use the wrong directory (like a plot directory with multiple 100GB of plots). It reads the first 1024 bytes of every file, converts it to text and looks for "Starting plotting progress into temporary dirs".
In your log you got a warning:
2021-05-14T13:03:30.100  chia.plotting.create_plots       : INFO     NOT adding directory I:\Plot-4150 to harvester for farming
2021-05-14T13:03:30.100  chia.plotting.create_plots       : WARNING  Directory I:\Plot-4150 already exists for harvester, please remove it manually

These pushed the key sentence far enough down that is was no longer in the first 1024 bytes.
Currently building a fix for that.

Version 0.9.10 is released

BIG thanks to you! it works now

authors: dvlzgrmz grayfallstown

repo: grayfallstown/Chia-Plot-Status


text:
CEF Severity supports both Strings and Integers

We have several ArcSight smart connectors processing/outputting messages in CEF format that are failing when using the parse_cef() function. The ArcSight Smart connector is already converting the CEF Severity to the "Low", "High"...etc. equivalent instead of the integer. Example:
CEF:0|Check Point|Security Gateway/Management|1.0|ctl|ctl|Low| ....
java.lang.NumberFormatException: For input string: "Low"
As of May 16th, 2016, Common Event Format v23 allows Severity to be a string value Low, Medium, High, or Very-High, or the integer value of 0-10. Would it be possible to get support for these string values?

@BenjaminLSmith Before devs fix this in the official branch, please check my forked repo:
https://github.com/SonofLiberty90/graylog-plugin-cef
I fixed some things there including string severity field parsing.

repo: graylog-labs/graylog-plugin-cef


text:
Make pull-requests for updates where major is 0

Is this comment correct?

Also, forgive me if this is a duplicate. I really did search.

Hey @mightyiam,
no I think this was simply an error on our side. You're correct that 0.17.0 is not part of the ^0.16.0 range, but greenkeeper will still send you a pull request. In the meantime we improved the stability of the new greenkeeper, so this will hopefully not happen again :)
Best,
Finn

authors: finnp mightyiam

repo: greenkeeperio/greenkeeper


text:
Installation needs an update

When I run pip install PyWavefront I got the following message:
Collecting PyWavefront
  Downloading PyWavefront-0.1.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\kai\appdata\local\temp\pip-build-l2skpl\PyWavefront\setup.py", line 12, in <module>
        long_description=open('README.md').read(),
    IOError: [Errno 2] No such file or directory: 'README.md'

To workaround it, I replaced the long description with an empty string.

Please try again with 0.1.3, which I just uploaded.

With 0.1.3 I got the same error and when I manually download the tar from https://pypi.python.org/pypi/PyWavefront/0.1.3, the readme isn't included.

authors: greenmoss nachtgold

repo: greenmoss/PyWavefront


text:
How to use "jsxRuntime": "automatic"

💬 Questions and Help
How to use "jsxRuntime": "automatic" and / or "typescript": true.
I have these configurations and all it is working well:

.babelrc.json
{
  "presets": [["@babel/preset-react", { "runtime": "automatic" }]],
  "env": {
    "development": {
      "plugins": [["babel-plugin-styled-components", { "displayName": true }]]
    },
    "production": {
      "plugins": [["babel-plugin-styled-components", { "displayName": false }]]
    }
  }
}

.svgrrc.json
{
  "svgoConfig": {
    "plugins": [
      {
        "name": "preset-default",
        "params": { "overrides": { "removeViewBox": false } }
      }
    ]
  }
}

tsconfig.json
{
  "compilerOptions": {
    "target": "ES2015",
    "module": "ES2020",
    "lib": ["ES2021", "DOM"],
    "jsx": "preserve",
    "outDir": "dist",
    "importHelpers": true
    "sourceMap": true,
    "removeComments": true,
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitOverride": true,
    "moduleResolution": "Node",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true
  }
}

webpack.config.js
const CssMinimizerWebpackPlugin = require('css-minimizer-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { resolve } = require('path');

module.exports = {
  mode: process.env.NODE_ENV,
  devtool: 'source-map',
  entry: './src/index.tsx',
  resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx'] },
  module: {
    rules: [
      { test: /\.css$/, use: [MiniCssExtractPlugin.loader, 'css-loader'] },
      { test: /\.jsx?$/, exclude: /node_modules/, use: ['babel-loader'] },
      { test: /\.tsx?$/, exclude: /node_modules/, use: ['babel-loader', 'ts-loader'] },
      { test: /\.svg$/, issuer: /\.[jt]sx?$/, use: ['@svgr/webpack'] },
    ],
  },
  plugins: [new MiniCssExtractPlugin({ filename: 'styles/[contenthash].css' }), new HtmlWebpackPlugin({ template: 'web/index.html' })],
  optimization: { minimizer: ['...', new CssMinimizerWebpackPlugin()] },
  output: {
    path: resolve(__dirname, 'dist'),
    filename: 'scripts/[contenthash].js',
    publicPath: '/',
  },
  devServer: {
    static: {
      directory: 'web',
    },
    historyApiFallback: true,
  },
};

src/types/common.d.ts
declare module "*.svg" {
    import { FunctionComponent, SVGProps } from "react";

    const GraphicSvg: FunctionComponent<SVGProps<SVGSVGElement>>;

    export default GraphicSvg;
}

Now, if I add "jsxRuntime": "automatic" to .svgrrc.json get several errors:
Uncaught ReferenceError: React is not defined
    at SvgMenu (menu.svg:6)
    at renderWithHooks (react-dom.development.js:14985)
    at mountIndeterminateComponent (react-dom.development.js:17811)
    at beginWork (react-dom.development.js:19049)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)
    at invokeGuardedCallback (react-dom.development.js:4056)
    at beginWork$1 (react-dom.development.js:23964)
    at performUnitOfWork (react-dom.development.js:22779)
    at workLoopSync (react-dom.development.js:22707)

The above error occurred in the <SvgMenu> component:
    at SvgMenu (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:860:3)
    at button
    at O (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:35857:19741)
    at div
    at O (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:35857:19741)
    at header
    at O (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:35857:19741)
    at HeaderLayout
    at div
    at O (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:35857:19741)
    at AppLayout (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:1131:74)
    at Routes (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:30397:5)
    at AppRouting (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:1178:22)
    at Router (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:30331:15)
    at BrowserRouter (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:29854:5)
    at Fe (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:35857:17300)
    at AppContent (http://localhost:8080/scripts/d7bb909c6a1151a3effc.js:1084:74)
    at AppRoot

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

And if I add "typescript": true to .svgrrc.json get  errors too:
ERROR in ./src/graphics/menu.svg
Module build failed (from ../../node_modules/@svgr/webpack/dist/index.js):
SyntaxError: unknown: Unexpected token, expected "," (3:22)

  1 | import { SVGProps } from "react";
  2 |
> 3 | const SvgMenu = (props: SVGProps<SVGSVGElement>) => <svg xmlns="http://www.w3.org/2000/svg" width={32} height={32} viewBox="0 0 32 32" {...props}><path d="M4 6h24v2H4zM4 12h24v2H4zM4 18h24v2H4zM4 24h24v2H4z" /></svg>;
    |                       ^
  4 |
  5 | export default SvgMenu;
    at Object._raise (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:541:17)
    at Object.raiseWithData (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:534:17)
    at Object.raise (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:495:17)
    at Object.unexpected (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:3580:16)
    at Object.expect (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:3554:28)
    at Object.parseParenAndDistinguishExpression (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:12278:14)
    at Object.parseExprAtom (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:11891:23)
    at Object.parseExprAtom (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:7477:20)
    at Object.parseExprSubscripts (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:11584:23)
    at Object.parseUpdate (/home/alejandro/Desarrollo/tattoo/node_modules/@babel/parser/lib/index.js:11564:21)

Hello @xeladejo, you should run @svgr/loader and babel-loader in webpack.config.js.

Hello @gregberge, I have tried to change webpack.config.js from:
{ test: /\.svg$/, issuer: /\.[jt]sx?$/, use: ['@svgr/webpack'] }

to:
{ test: /\.svg$/, issuer: /\.[jt]sx?$/, use: ['babel-loader', '@svgr/webpack'] }

But I get same errors when add "jsxRuntime": "automatic" to .svgrrc.json (You can see the complete config on my previous post).

@xeladejo (I have not tested such a config myself but) I think it might come from your tsconfig.json, the output generated by typescript when using "jsx": "preserve" is different than using "react-jsx" as a value.
Perhaps try with "jsx": "react-jsx" in your compilerOptions instead?
More information about that: https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/#jsx-factories

Thanks @flo-sch
I am using "jsx": "preserve" with:
{ test: /\.tsx?$/, exclude: /node_modules/, use: ['babel-loader', 'ts-loader'] },

So tsc is handling typescript and babel is handling JSX. I need this because I am using styled-components css prop that require to use babel-plugin-styled-components.

I close this issue, @xeladejo I hope you found what you need.

Ran into this issue as well today... Uncaught ReferenceError: React is not defined.
Realized that the issue is that we've not configured @babel/preset-react correctly.
To support automatic mode, we need to pass in the runtime into the presets settings as per - https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
So the fix would be to pass that runtime along (either classic | automatic) to the preset at - https://github.com/gregberge/svgr/blob/main/packages/webpack/src/index.ts#L21
I also ran into the TypeScript issue mentioned but couldn't figure what that issue was.

authors: flo-sch gregberge kapiljaveri xeladejo

repo: gregberge/svgr


text:
ensure ids are unique when rendering multiple tables

auto generated the unique table id if not passed regardless of other options
added tableId to row and cell id prop to ensure ids are unique if there are multiple tables in a page

@angus-88  thank pr!

added tableId to row and cell id prop to ensure ids are unique if there are multiple tables in a page

Is it the case of calling the mui components at the webpage?
If so, what's wrong with the ID?

Hi. I also saw DOM alert about non-unique ID of pagination buttons. More details here #1519.
Any one have a solution ?

Is this ready to merge then what's the hold up, if not what's outstanding so I can sort it out?

@gregnb

repo: gregnb/mui-datatables


text:
Document option for hiding column from 'View Column' list

I was looking to implement the feature requested in #43 , when I discovered the option already exists, it just is not documented.

Coverage remained the same at 77.049% when pulling 642e8662e49486c4aeea57e087c5e064ed68c50a on georgezee:43-column-hide-docs into 267c4cdb3a95fa48bc999beb786612f4dd215f59 on gregnb:master.

authors: coveralls georgezee


text:
Remove ambiguity for cross-account peering

Transparent declaration of the peer_owner_id variable
Removes ambiguity for cross-account peering connections.

README update

Fixes #12


text:
Cannot interact with Partitioned Tables

I have a partitioned table made with the GridDB CLI, but when I try to interact with it via Python NoSQL, it results in an error:
gs[public]> showcontainer myIntervalPartition4
Database    : public
Name        : myIntervalPartition4
Type        : COLLECTION
Partition ID: 19
DataAffinity: -
Partitioned : true
Partition Type           : INTERVAL
Partition Column         : date
Partition Interval Value : 30
Partition Interval Unit  : DAY
Expiration Type      : PARTITION
Expiration Time      : 30
Expiration Time Unit : DAY

Columns:
No  Name                  Type            CSTR  RowKey
------------------------------------------------------------------------------
 0  date                  TIMESTAMP(3)    NN
 1  value                 STRING

And then some python code (using python 3.10 on Ubuntu 22.04)
import griddb_python as griddb
import numpy as np
import pandas as pd

factory = griddb.StoreFactory.get_instance()
DB_HOST = "127.0.0.1:10001"
DB_CLUSTER = "myCluster"
DB_USER = "admin"
DB_PASS = "admin"

try:
    # (1) Connect to GridDB
    # Fixed list method
    gridstore = factory.get_store(
        notification_member=DB_HOST, cluster_name=DB_CLUSTER, username=DB_USER, password=DB_PASS)

    container_name = "myIntervalPartition4"
    partition_container = gridstore.get_container(container_name)
    print("Succesfully connected to GridDB!")

    if partition_container == None:
        print("ERROR Container not found: " + container_name)

    query = partition_container.query("SELECT *")
    rs = query.fetch()
    while rs.has_next():
        row = rs.next()
        print(row)

except griddb.GSException as e:
    for i in range(e.get_error_stack_size()):
        print("[", i, "]")
        print(e.get_error_code(i))
        print(e.get_location(i))
        print(e.get_message(i))

Succesfully connected to GridDB!
ERROR Container not found: myIntervalPartition4

Unfortunately GridDB Python Client doesn't support operations for Partitioned Tables.
Could you use GridDB Java Client/JDBC Driver for Partitioned Tables ?

authors: Imisrael knonomura


text:
@gridsome/source-contentful locales not support at linked Data

I can't get linked data's content by @gridsome/source-contentful, I Just started learning gridsome, It is an excellent framework. and I really hope to get the help of community technical experts.
Problem description:
I use @gridsome/source-contentful, config as following in [gridsome.config.js]:
   {
      use: '@gridsome/source-contentful',
      options: {
        space: 'xxxxxx', // required
        accessToken: 'uudsxxxxxx', // required
        host: 'cdn.contentful.com',
        environment: 'master',
        typeName: 'Contentful',
        parameters: {
          locale: "*"
        }
      }
    }

My Product linked Catalog:

I query data on page
query {
  allContentfulProduct(sortBy:"hot",order: DESC){
    edges {
      node {
        id,
        title{
          en_US
          zh_CN
        },
        key{
          en_US
        },
        description,
        summary{
          en_US
          zh_CN
        },
        review{
          en_US
        },
       catalog{
          en_US{
            fields{
              key{
                en_US
              },
              title{
                en_US,
                zh_CN
              },
              top{
                en_US,
              },

              catalog{
                en_US{
                  fields{
                    key{
                      en_US
                    },
                    title{
                      en_US
                    },
                    top{
                      en_US
                    },
                    catalog{
                        en_US{
                          fields{
                            key{
                              en_US
                            },
                            title{
                              en_US
                            },
                            top{
                              en_US
                            },
                          }
                        }
                      }
                  }
                }
              }
            }
          },
          zh_CN{
             sys{
              id,
              contentType{
                __typename
              }

            }
            fields{
              key{
                en_US
              },
              title{
                zh_CN
              },
              top{
                en_US
              },

              catalog{
                zh_CN{
                  fields{
                    key{
                      en_US
                    },
                    title{
                      zh_CN
                    },
                    top{
                      en_US
                    }
                  }
                }
              }
            }
          }
        }
        featured{
          en_US
        },
        hot{
          en_US
        },
        delivery{
          en_US
          zh_CN
        },
        os{
          en_US
        },
        cloud{
          en_US,
          zh_CN
        },
        priceModel{
          en_US,
          zh_CN
        }
        description
      }
    }
  }

}

I can get chinese and english on product 【title】property， but linked catalog's title,key is null

Who has the same problem as me? I'd love to discuss it here, thanks

@kecrily I am very glad to meet you, You submitted an issue on gridsome and were officially accepted. It's very powerful. Can you share my question.

I haven't used contentful, so I can't necessarily help you. And is that the data returned by the contentful api on the right in your screenshot?

您好，我也湖南长沙的，徐伟，主要是做云市场开源项目云原生的，您是浙江杭州人吗？
看您在github开源项目提交issue，并获得社区合并，感觉您前端肯定很厉害，也想跟您交流。
我的电话是 19936716250（微信同号）
------------------ 原始邮件 ------------------
发件人:                                                                                "gridsome/gridsome"                                                                                @.>;
发送时间: 2021年12月7日(星期二) 晚上11:09
@.>;
@.@.>;
主题: Re: [gridsome/gridsome] @gridsome/source-contentful locales not support at linked Data (Issue #1589)
I haven't used contentful, so I can't necessarily help you. And is that the data returned by the contentful api on the right in your screenshot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

repo: gridsome/gridsome


text:
Source Request: Google Docs plugin

Summary
Fetching Google Docs (not to confuse with Google Spreadsheet) from Drive folders. Google released Docs API a few months ago.
Basic example
Gatsby already has this plugin here : gatsby-source-google-docs
Motivation
A lot of people are using Docs already, it has first-class collaborate features and writing experience is way different than writing in markdowns. What's more, general users like bloggers with no web development might be more familiar with Google Docs than any other the source plugins Gridsome currently has, leading to simpler setup and productivity boost for writers who already used Google Docs in their workflows.

@tomtev I want to give this a try. I might get stuck or need help later on but I would like to know Gridsome core better and try to make a foundation at least.
Would you prefer me to develop it as a core plugin or stand alone external plugin?

@sidekaraktergendut I have started working on the plugin and have a starting point, authentication and fetching some basic data is complete, there are a few things I need to solve and improve on but you should be able to test it at least! You can find the repo here.

@sidekaraktergendut I have started working on the plugin and have a starting point, authentication and fetching some basic data is complete, there are a few things I need to solve and improve on but you should be able to test it at least! You can find the repo here.

I'm currently on a chromebook, and it seems codesandbox doesn't let me paste the authorization code in the terminal when gridsome develop is running. I'll try again later if I get my hands on my brother's windows laptop.
Thanks for taking this request by the way.

authors: LokeCarlsson sidekaraktergendut


text:
Markdown

Description
Not able to embed plot.ly plots via markdown.
Steps to reproduce

Include following in main.js export default function:
  head.script.push({
    src: 'https://cdn.plot.ly/plotly-latest.min.js',
    body: false
  })</script>

Expected result
A plotly plot to be inserted into the div
Actual result
Nothing is output. The script is included in head, the div and script tags appear in the DOM, but the script tag is not processed. If I copy the contents of the script tag into the chrome console, the plot appears.
Environment

Libs:
   "@gridsome/cli": "^0.2.1",
    "@gridsome/plugin-google-analytics": "^0.1.0",
    "@gridsome/source-filesystem": "^0.5.0",
    "@gridsome/transformer-remark": "^0.3.2",
    "gridsome": "^0.6.5",
    "gridsome-plugin-remark-shiki": "^0.3.0",
    "gridsome-plugin-remark-twitter": "^0.1.2",
    "gridsome-plugin-remark-youtube": "^1.0.1",
    "remark-html-katex": "^1.2.0",
    "remark-math": "^1.0.6",
    "vue-katex": "^0.2.0"

Browser:
- [x] Chrome (desktop) version 75
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

The browser won't execute script tags after the DOM is loaded, unfortunately :) You need to somehow run eval or use jQuery or equivalent to insert the markup instead. But a better approach would probably be to do something like this in the mounted hook:
this.$refs.div
  .querySelectorAll('.plotly-graph-div')
  .forEach(el => Plotly.newPlot(el.id, ...))

this.$refs.div
  .querySelectorAll('.plotly-graph-div')
  .forEach(el => Plotly.newPlot(el.id, ...))

thank you for getting back to me! I have the following in my Blog template:
  mounted() {
    this.$refs.div
    .querySelectorAll('.plotly-graph-div')
    .forEach(el => Plotly.newPlot(el.id, ...))
    }
}

This doesn't work because I suspect you gave an example of how to do it, i.e. the ellipses, but my javascript isn't that good! Do you by any chance have a working example? I understand if this is asking too much

Here is a generic all in one function you can use to insert html (script included) and have it execute any scripts within. Either add this function on the page where you will use it as a helper:
<template>

</template>
…

authors: fullpwemium hjvedvik u12206050


text:
Failed to activate the auto-indent package

[Enter steps to reproduce below:]

Update Atom to the latest version

Atom Version: 0.192.0 :warning: in 1.0 API Preview Mode :warning:
System: Mac OS X 10.10.3
Thrown From: auto-indent package, v0.1.0
Stack Trace
Failed to activate the auto-indent package
At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/markus/.atom/packages/auto-indent/lib/auto-indent.coffee:8:32)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:222:19)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:203:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:147:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:195:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:434:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:418:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app/src/config.js:298:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:413:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:394:46)

Commands

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "tabs",
      "tree-view",
      "language-sass",
      "linter-eslint",
      "linter"
    ],
    "excludeVcsIgnoredPaths": false
  }
}

Installed Packages
# User
Atom-Syntax-highlighting-for-Sass, v0.5.0
auto-indent, v0.1.0
better-handlebars, v0.1.1
color-picker, v1.6.0
editor-stats, v0.17.0
emmet, v2.3.7
es-navigation, v0.1.5
indent-guide-ext, v0.1.0
language-docker, v1.1.3
language-javascript-better, v1.3.0
language-json5, v1.1.0
sublime-tabs, v0.5.3

# Dev
No dev packages

This plugin currently have three deprecation warnings.
This means it will be crashing as above for everyone when Atom goes 1.0
Click the orange warning icon in the lower right to see more information about these:

The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
Store package style sheets in the styles/ directory instead of stylesheets/
Use activationCommands instead of activationEvents in your package.json

PR #18 should fix the undefined property issue

Should be fix now, sorry for the delay.

authors: Globegitter griiin simonjosefsson

repo: griiin/atom-auto-indent


text:
Chinese, Simplified

Could you release a newer version for us to try the sending mode?

Why did you change every single file in the project?

authors: BingoKingo grishka

repo: grishka/NearDrop

license: Unlicense


text:
Bad gateway error

Hello,
Firstly, I would like to extend my gratitude for your work.
I am experiencing a "502 Bad Gateway" error while using Grist Omnibus and I am hoping you can assist me in resolving this issue.
I have tried several Docker invocations, including the simplest one provided in your readme. However, I am still encountering the error. Here is the simplest Docker command I used:
mkdir -p /tmp/grist-test
docker run \
  -p 9999:80 \
  -e URL=http://localhost:9999 \
  -e TEAM=cool-beans \
  -e EMAIL=owner@example.com \
  -e PASSWORD=topsecret \
  -v /tmp/grist-test:/persist \
  --name grist --rm \
  -it gristlabs/grist-omnibus  #

All ports on my server are open, and I even tried running the Docker command with the root user.
Could you please advise me on how to resolve this issue? All the services started successfully, but when I open the URL, I face a blank page with a "Bad Gateway" error. I would greatly appreciate any assistance you can provide.
Thank you for your time and attention.

I see an error on the latest image:
/grist/sandbox/run.sh: line 6: ./sandbox/gvisor/update_engine_checkpoint.sh: No such file or directory

Looks like something has broken in the build. Apologies, will look into it.

Hi @KDurimel, could you try again after repeating docker pull gristlabs/grist-omnibus? I made a fix in #4

authors: KDurimel paulfitz

repo: gristlabs/grist-omnibus


text:
Replace RegExp HTML parsing

As mentioned in #11, parsing HTML with RegExp is prone to errors.
Test and use the following:
    <!doctype html>

...

Done in 1.129.2018.06.

repo: grompe/Drawception-ANBT

license: unlicense


text:
Class section in the documentation

Since the keyword 'static' is no longer available for classes, I supressed the 'Static class' section. As far as I know, the closest construct to static class is class with all members static, which I don't think deserves a specific section.

Merged. Thanks for the contribution. :)

Merged. Thanks for the contribution. :)

authors: PascalSchumacher michaelss

repo: groovy/groovy-core


text:
Core dump after ^C when polling RTSP

On Ubuntu 22.04 (arm64) with py3.10.12, when I have a simple app that polls an RTSP stream with framegrab, when I hit ^C it shows KeyboardInterrupt, but doesn't exit right away.  If I ^C again, I get this error:
KeyboardInterrupt
^CException ignored in: <module 'threading' from '/usr/lib/python3.10/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1567, in _shutdown
    lock.acquire()
KeyboardInterrupt:
terminate called without an active exception
Aborted (core dumped)

Core dumps indicate something fundamentally wrong.

This was resolved in https://github.com/groundlight/framegrab/commit/0549bb80b33116fb9aaa04878edd5b402fd602c3

authors: robotrapta timmarkhuff

repo: groundlight/framegrab


text:
Error automation switch cannot add bridged accessory uuid already used - more than one switch

Hello,
I try to add different automations switches. My config loocks like the following:
"switches" : [ { "period" : "1800", "name" : "Schlafzimmerlicht", "type" : "automation", "autoOff" : "false" }, {           "type": "switch",           "name": "VS_Frühmorgen",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Morgen",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Morgen",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Mittag",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Sonnenuntergang",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Abend",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Nacht",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Filmlicht",           "stored": true,           "default": false }, {           "type": "switch",           "name": "VS_Sonnentag",           "stored": true,           "default": false } ], "platform" : "AutomationSwitches", "name" : "device" },
Sadly then Homebridge isn't starting anymore and I get the Error:
"Cannot add bridged Accessory with the same UUID as another brdiged Accessory"
Is there a mistake in my config jason creating more than one switch?
Thanks for your support,...

You had two switches with the same name in the configuration :( (VS_Morgen)

repo: grover/homebridge-automation-switches


text:
Add type checking to Python layers

Anything below the very outer layer visible to users should be made easier to reason about.
e.g. assert isinstance(arg0, MyAbc)

We will probably end up using an actual type-checker with python, so closing this.

authors: mehrdada soltanmm

repo: grpc/grpc


text:
Create a private Podspec repo

How to: http://guides.cocoapods.org/making/private-cocoapods.html

This was solved by having the podspec in the root of the repo.


text:
Create a class for test environment and migrate most of the tests to use it.

This is needed for https://github.com/grpc/grpc/pull/17308 as I will need to put something in the destructor later to do some cleanup waiting.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,020,410      Total (=)      2,020,410

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,174,082      Total (>)     11,174,072

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,020,410      Total (=)      2,020,410

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,174,079      Total (=)     11,174,079

 No significant differences in binary sizes

Test flake: #17342

authors: grpc-testing yang-g


text:
Add a test client for certain grpclb fallback scenarios

This synchronizes upstream test protos from https://github.com/grpc/grpc-proto/pull/55 and https://github.com/grpc/grpc-proto/pull/56, and then adds a new one-off test client.
Checking this test into this repo is mostly done to simply the build process - the runner for this test will live outside of this repo. Also note this has been manually tested.

Comments addressed, thanks for the quick review!

C/C++ macos: https://github.com/grpc/grpc/issues/19614
Node Macos: https://github.com/grpc/grpc/issues/19422
Objc Macos: https://github.com/grpc/grpc/issues
Interop cloud-to-cloud: https://github.com/grpc/grpc/issues/19626


text:
Compression metadata

This PR includes PR #2071

Green Travis-wise


text:
Fix python dns resolver test on kokoro MacService

Needed for migration of python tests to kokoro macservice (the test fails if run on a worker that use DNS64 dns servers).
See b/201064791
Related PR https://github.com/grpc/grpc/pull/28343

Adhoc run on macservice worker: http://sponge/057759e0-095a-4f88-8cad-1ec61559ad47

Known failures:

macos artifact build is b/209603283
python windows is job timeout


text:
Workaround the UTF-8 encoding restriction of google.rpc.Status protobuf mssage

Protobuf message requires the text field to be a valid UTF-8 string and gRPC serializes child absl::Status to store it at the parent Status. This is mostly okay but upb will return an error for the parsing error which happens to have invalid UTF-8 character. This is caught by a fuzzer test. Solution is using payload instead of message because payload is bytes which doesn't care its encoding.
In addition to this, Parsing message is updated not to have non UTF-8 characters because it's still valuable to keep UTF-8 messages

Also, please do not force-push in the middle of a review.  That makes it much harder for the reviewer to see what's changed since their last review.  Thanks!

Also, please do not force-push in the middle of a review. That makes it much harder for the reviewer to see what's changed since their last review. Thanks!

Oh sorry about that. (I just did it again.)

@ctiller Yes, that's a good idea. Once we finish the grpc-error migraiton, we can add that limitation.

I already replied to your latest changes above.  I'd prefer to not modify the string in the chttp2 code, because that can basically corrupt the error message such that it's unusable for users.

@ctiller It's ready for your review. PTAL.

authors: markdroth veblush


text:
[Audit Logging] Xds Audit Logger Registry

Third-party loggers will be added in subsequent PRs once the logger factory APIs are available to validate the configs here.
This registry is used in xds_http_rbac_filter.cc to generate service config json.

I can't comment on the IWYU so I'm responding here. I added the include of "envoy/config/rbac/v3/rbac.upb.h" for now. Meanwhile, I'm running tools/distrib/iwyu.sh locally. IIRC, it didn't say anything meaningful last time I ran it. I will report back when it finishes this time (can take a while).

Local iwyu.out didn't not include anything useful about why this header was needed.


text:
Fixed leak in dualstack_socket_test

git bisect is the bee's knees

LGTM
On Sat, Sep 12, 2015, 12:36 AM David G. Quintas notifications@github.com
wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/grpc/grpc/pull/3334
Commit Summary

Fixed leak introduced in #3293

File Changes

M test/core/end2end/dualstack_socket_test.c
https://github.com/grpc/grpc/pull/3334/files#diff-0 (2)

Patch Links:

https://github.com/grpc/grpc/pull/3334.patch
https://github.com/grpc/grpc/pull/3334.diff

—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/3334.

Actually, best merge #3335, which includes this one as well as the other needed change to make all tests pass again.

authors: ctiller dgquintas


text:
[PSM Interop] Migrate to Artifact Registry

Migrate PSM Interop images from Container Registry (gcr.io) to Artifact Registry (pkg.dev).

[ ] grpc/core/master/linux/psm-csm

[ ] grpc/core/master/linux/psm-csm


text:
Prevent generating unparseable xml reports

Fixes #3799.

Friendly ping.


text:
[PSM Interop] Update logic to detect failed ADS channels

Syncs https://github.com/grpc/grpc/pull/35280
Fixes the issue with returning even when channel's not found

[ ] grpc/java/v1.60.x/branch/xds_url_map
[ ] grpc/java/v1.60.x/branch/xds_k8s_lb
[ ] grpc/java/v1.60.x/branch/psm-security

repo: grpc/psm-interop


text:
fix(provider_cache): run terraform commands without including module …

…prefix
When 2 following conditions are met, then terragrunt can't find 423 Locked in the output:

--terragrunt-include-module-prefix is enabled
Provider name / version is long enough

The output from terraform looks like this:
╷
│ Error: Failed to install provider
│
│ Error while installing snowflake-labs/snowflake v0.89.0: could not query
│ provider registry for registry.terraform.io/snowflake-labs/snowflake: 423
│ Locked
╵

And the regex which is used right now ((?mi)423[^a-z0-9]*Locked) avoids non-alphanumeric characters that are prepended by the IncludeModulePrefix.
Given that the output from provider cache is not displayed to the user, there is no need to prepend module prefix.
Fixes: https://github.com/gruntwork-io/terragrunt/issues/3100

@levkohimins this fixes my issue, please review / merge. Sorry for missing test but I can't come up with something simple enough with my Go skills.

=== NAME  TestInitFailureModulePrefix
    integration_test.go:5837: [TestInitFailureModulePrefix] Full contents of init:
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server
    integration_test.go:5837: [TestInitFailureModulePrefix] There are some problems with the CLI configuration:
    integration_test.go:5837: [TestInitFailureModulePrefix] ╷
    integration_test.go:5837: [TestInitFailureModulePrefix] │ Warning: Unable to open CLI configuration file
time=2024-04-28T17:01:20Z level=debug msg=Did not find any locals block: skipping evaluation.
    integration_test.go:5837: [TestInitFailureModulePrefix] │
    integration_test.go:5837: [TestInitFailureModulePrefix] │ The CLI configuration file at "fixture-init-error/.terraformrc" does not
    integration_test.go:5837: [TestInitFailureModulePrefix] │ exist.
    integration_test.go:5837: [TestInitFailureModulePrefix] ╵
    integration_test.go:5837: [TestInitFailureModulePrefix]
    integration_test.go:5837: [TestInitFailureModulePrefix]
    integration_test.go:5837: [TestInitFailureModulePrefix] Error: Failed to get existing workspaces: operation error S3: ListObjectsV2, https response error StatusCode: 301, RequestID: B582117DDKEH9YJY, HostID: 7pDSpDlJNKAr1yoWkersKEAfOFKx7mv5r0gzNvGKevRHHgzaZjWJE7EUjBUockK72Z9x6vT1f2E=, api error PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
    integration_test.go:5837: [TestInitFailureModulePrefix]
    integration_test.go:5837: [TestInitFailureModulePrefix]
    integration_test.go:5837: [TestInitFailureModulePrefix] time=2024-04-28T17:01:20Z level=error msg=tofu invocation failed in fixture-init-error
    integration_test.go:5837: [TestInitFailureModulePrefix]
    integration_test.go:5838:
                Error Trace:    /home/circleci/project/test/integration_test.go:5838
                Error:          "time=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on \ntime=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server\ntime=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on \ntime=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on \ntime=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server\ntime=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on \ntime=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server\ntime=2024-04-28T17:01:20Z level=info msg=Terragrunt Cache server is listening on \ntime=2024-04-28T17:01:20Z level=info msg=Start Terragrunt Cache server\nThere are some problems with the CLI configuration:\n╷\n│ Warning: Unable to open CLI configuration file\n│\n│ The CLI configuration file at \"fixture-init-error/.terraformrc\" does not\n│ exist.\n╵\n\n\nError: Failed to get existing workspaces: operation error S3: ListObjectsV2, https response error StatusCode: 301, RequestID: B582117DDKEH9YJY, HostID: 7pDSpDlJNKAr1yoWkersKEAfOFKx7mv5r0gzNvGKevRHHgzaZjWJE7EUjBUockK72Z9x6vT1f2E=, api error PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\n\n\ntime=2024-04-28T17:01:20Z level=error msg=tofu invocation failed in fixture-init-error\n" does not contain "[fixture-init-error] Error"
                Test:           TestInitFailureModulePrefix
--- FAIL: TestInitFailureModulePrefix (0.26s)

I guess (hope) this was not introduced by me.

I guess (hope) this was not introduced by me.

Oh, right. You need to remove your changes cloneOpts.IncludeModulePrefix = false.

@levkohimins done.

Resolved in v0.57.13 release.

authors: ignatenkobrain levkohimins

repo: gruntwork-io/terragrunt


text:
🛑 volkstanz.st is down

In 32bfd1e, volkstanz.st (https://volkstanz.st) was down:

HTTP code: 0
Response time: 0 ms

Resolved: volkstanz.st is back up in f85f1b2.


text:
Example input file out of date

The example input file hasn’t been updated when the support for attachment positioning was being implemented and still bears a statement that the contextual kerning subtable is the only type currently available.
Moreover, there’s a comment saying that a “list of values is applied to the kern stack by popping glyphs from the stack one by one…” This is unfortunate wording as the stack isn’t actually being popped: kern values are applied in order of popping the stack, but the stack itself stays untouched and can only be pushed down with new glyphs coming in.

Updated, see 59d7dd6c777dffe399c47554913852aa3bbcbb6b

repo: grzegorzrolek/kif-compiler


text:
그래프 그리기

우리가 흔히 보는 논문들은 엑셀 그래프가 아니라, gnuplot이나 LaTeX 내장함수에 의해 그려진 그래프인 듯 합니다. 배우고 싶다...
구글 검색하면 이에 관해 설명하는 문서들이 몇몇 있긴 합니다.
ex. https://tobi.oetiker.ch/lshort/lshort.pdf

박사과정 대학원생입니다. 실제로 현업(?)에서는 Origin을 쓰는 사람이 한 무더기 있고, ggplot이나 matplotlib을 많이 씁니다. 또 저널마다 그림 스타일이 다르기 때문에 그에 맞춰 Adobe Illustrator 등으로 수정하는 경우도 꽤 있죠(예를 들어 Nature 등).
반면 그래프가 아닌 그림은 간단한 거라면 tikz로 그리는 게 일반적이구요.

조언에 감사드립니다.
An Introduction to LaTeX 에 그래프 첨부 관련하여 가이드를 더 추가해야 할것 같군요.
선배님의 조언 + 제 경험 을 토대로 정리하면
그래프 그리기

Origin
ggplot
matplotlib
gnuplot

그림 넣기

Adobe Illustrator
tikz
GeoGebra + tikz

@LeeJuchan 여기요

repo: gshslatexintro/gshslatexintro


text:
chore(deps): update dependency gitversion.msbuild to v6

This PR contains the following updates:

Package
Type
Update
Change

GitVersion.MsBuild
nuget
major
5.12.0 -> 6.0.0

Release Notes

GitTools/GitVersion (GitVersion.MsBuild)
v6.0.0
Compare Source
As part of this release we had 1594 commits.
The changes that were introduced can be found within each of the pre-releases:
6.0.0-alpha.1
6.0.0-beta.1
6.0.0-beta.2
6.0.0-beta.3
6.0.0-beta.4
6.0.0-beta.5
6.0.0-beta.6
6.0.0-beta.7
6.0.0-rc.1
6.0.0-rc.2
For additional information check the BREAKING_CHANGES.md
Breaking changes

#1054 Rename tag to label
#2210 Remove Verbosity old values parsing
#2325 [Improvement] Remove legacy version variables and related configuration options in v6
#2997 Sunset support for .NET Framework 4.8
#2998 Sunset support for .net50
#3166 [Feature] Sunset .net core 3.1
#3190 Change the logic inheriting BranchConfiguration from parent branch if the IncrementStrategy is set to Inherit
#2848 [Bug] Default configuration is used when config file specified via -config not found
#3235 Create new fallback and unknown section in GitVersionConfiguration an…
!3805 Refactor caching system in GitVersion
#3229 [Breaking Change] Remove init wizard for v6

Bugs

#3020 [Bug] Closing pull request from hotfix to support failed to inherit Increment branch configuration
#3101 [Bug] Version not generated correct when creating a feature branch from a release branch
#3105 [Bug] Version of commit in develop merged to master changes if master is tagged
#3151 [Bug] SemVer of a feature branch started from a release branch gets decremented
#3154 [Bug] Merging develop to release branch makes alpha version jump back
#3187 [Bug] Wrong semver calculation when making a PR from a hotfix branch to main branch
#3282 [Bug] tag-prefix still seems to be optionally considered
#964 When assembly-versioning-scheme is set to none, AssemblyInfoBulider should not emit AssemblyVersion attribute
#1518 Stack overflow due to infinite loop falling back to branch config
#1789 track-merge-target in branch config not working
#2336 [Bug] Hotfix branch name not taken as version source
#3052 [Bug] track-merge-changes produces unexpected result when combining hotfix and support branches
#3341 [Bug] Failed to parse 0.1 into a Semantic Version (v 6.0.0-alpha.1)
#1579 Azure Pipelines - Pull Request Inheritance
#2134 [Appveyor] InvalidSpecificationException: the given reference name '[branch]' is not valid
#2285 [Bug] Incrementing steps does not occur when I expect them
#2287 [Bug] Wrong version calculation
#2347 [Bug] When PreleaseLabel is empty, the PreleaseTag is not correctly generated
#2597 [Bug] gitversion seems to pick the wrong base version, when using git flow while tagging on develop.
#2667 Commit message can bump major version twice in GitFlow
#2693 [Bug] VersionInBranchNameVersionStrategy only considers the release branch
#2821 Pull Request Version Calculation Not Based on source branch
#2917 Manually incrementing the version
#3103 [Bug] GitLab: Branch names cannot contain the word 'refs'
#3137 [Bug] Minor version increased instead of the prerelease tag
#3183 [Bug]? no minor version detected on pull request that contains organization name
#3397 [Bug] Normalization takes a very long time
#3422 [Bug] wrong patch count after merging Release branch
#3436 [Bug] GitVersion behaves different if it is used the first time where the fallback version strategy applies
#3438 [Bug] Consider pre-release tags only when they matching with the label name on branch
#2533 In GitVersion.MsBuild 5.6.3,  AfterTargets="GetVersion" causes msbuild warning '"WriteVersionInfoToBuildLog" task could not be loaded'
#2595 [Bug] GitVersion.MSBuild broken for WiX setup projects
#2606 [Bug] The 'Documentation', 'Failing test', and 'Improvement request' issue templates lack proper descriptions.
#2881 [Bug] GitVersion is extremely slow (25 minutes)
#3212 [Bug]Regression perfomance since 5.2.4
#3442 [Bug] Performance issue in pre 6.0.0-beta.1
#3450 GitVersion 6.0-beta.1 : Error on WriteVersionInfoToBuildLog with can't load System.Runtime 6.0.0.0 on a .NET 7 project
#3487 [Bug] Regression: GitVersion 5.12.0 uses only MajorMinorPatch from tag instead of SemVer
#2462 [Bug] Using output of showconfig for config file results in invalid config
#3606 [Bug] CS0436 may be present with InternalsVisibleTo
#3654 [Bug] GitVersion forces a C# language for projects that aren't C#
#3704 [Bug] MSB4062 The "WriteVersionInfoToBuildLog" task could not be loaded
#3716 [Bug] Error when trying to set "Branch Increment mode"
#3739 [Bug] The configuration JSON schemas use the wrong properties for default values and assign bad regex patterns
#3832 [Bug] 6.0 Beta 4 gitversion.msbuild with dotnet build
#3108 [Bug] Version not generated correct when creating a feature branch from a develop branch
#3316 [Bug] BUILD_SOURCEBRANCH is assumed to be relevant
#3570 [Bug] Incrementing patch version automatically on main without tags nor specific commit messages
#3644 [Bug] 5.12 bumps major based on the previous merges instead of the last tag and branch convention
#3656 [Bug] CommitsSinceVersionSource is counting from latest minor tag or first tag instead of latest tag
#3699 [Bug] GitVersion calculates the wrong version after main is merged back to develop
#3757 Version not bumped if an irrelevant tag exists in latest commit
#3074 [Bug] ignore parameter does not ignore everything
#3206 [Bug] GitVersion mainline always returns latest version based on master branch history, even if building for an older commit
#3427 [Bug] Ignoring a SHA in the configuration does not seem to exclude it from the version calculation
#2394 [Bug] GitVersionTask: VersionSource is set to wrong tag

Dependencies

#3044 (deps): Bump Buildalyzer from 3.2.2 to 4.1.2
#3388 (deps): Bump YamlDotNet from 13.0.0 to 13.0.1
#3389 (deps): Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0
#3411 (deps): Bump Microsoft.Build.Utilities.Core from 17.4.0 to 17.5.0
#3439 (deps): Bump YamlDotNet from 13.0.1 to 13.0.2
#3440 (deps): Bump NUnit.Analyzers from 3.6.0 to 3.6.1
#3475 (deps): Bump LibGit2Sharp from 0.27.0-preview-0182 to 0.27.2
#3482 (deps): Bump YamlDotNet from 13.0.2 to 13.1.0
!3728 (deps): Bump YamlDotNet from 13.7.0 to 13.7.1
!3784 (deps): Bump Polly from 8.1.0 to 8.2.0 in /src
!3798 Remove JetBrains.Annotations dependency
!3799 Remove System.Net.Requests package reference
!3824 (deps): Bump LibGit2Sharp from 0.28.0 to 0.29.0 in /src
!3972 (deps): Bump LibGit2Sharp from 0.29.0 to 0.30.0
!4095 (deps): Bump YamlDotNet from 15.3.0 to 16.0.0 in /src

Documentation

#2665 [Docs] issue templates are missing descriptions
#3627 [Docs] Fix "Conventional Commit" commit message format
#3740 [Docs] Git push does not transfer tags
!3858 Docker documentation (v6)
#3937 [Docs] Update the docs for Azure Pipelines and Github actions - redirect to the gittools/actions
!4041 Fix typo in track-merge-target and track-merge-message
#4042 gitversion from container image default behaviour differs from other installation methods
#4043 [Documentation]: Documenting the GitFlow workflow and create sequence diagrams
#4060 [ISSUE]: init command still shown in the help output
#4063 [Documentation]: Documenting the GitHubFlow workflow and create sequence
#4078 [ISSUE]: Update the docs on DockerHub and specify the usage when running in a CI environment
#3918 [Docs] Mark API published before v6.0.0 release

Features

#3131 Implement SemVer strict parsing
#3169 [Feature] Add support for .net 7.0
#2874 [Feature Request] Add JSON schema to help configure 'GitVersion.yml'
#3302 [Feature] Introducing a new branch related property with name track-merge-message
#3305 [Feature] Introducing a new templating mechanism to support different workflows
#3396 Using effective branch configuration
#3400 [Feature] Add an additional command line argument - "-format" to allow to output an expression instead of a singular version variable
#3420 [Feature] Allow the default configuration file to have both yml and yaml extension
#3661 Support Regex for label property
!3742 Remove win-x86 support in BuildContext
!3752 Add .net 8.0 support
#1839 Configurable next-version strategies and mode
#3453 [Feature] Same version computed on different branches
#3877 Add configuration option to disable branch name version calculation
#3922 [Feature] The increment of the branch will be ignored when prevent-increment is set to true on the branch
#3461 [Feature] We need to consider somehow the IGitVersionConfiguration::Ignore property

Improvements

#2316 [Improvement] Remove NoMono categories
#3095 Change GitVersionInformation C# template ('const string' instead of 'static string')
#3172 no-bump-message should take precedence over *-version-bump-message
#3226 Feature/3101 rename config to configuration
#3231 [Improvement] Switch to Central Package Management for nuget dependencies
#3284 Fixed typo in image reference commit id
#2193 [Improvement] Chocolatey package 'gitversion' should point to 'gitversion.portable'
#3234 [Improvement] Rename the Cache namespace to Caching
#3244 Refactor next version calculator (get rid of taggedSemanticVersion)
#3334 [Improvement] Target .net6.0 and .net7.0  instead of netstandard2.0
#3337 tracks-release-branches won't track remote release branches without regex mod
#3375 [Improvement] Deprecate GitVersion.Commandline nuget package
#3386 move build agents to a separate lib out of core
#3398 Move output (VersionConverters) to its own module
#2340 GitVersion should only consider tags matching current branch config (was: GitVersion fails to return correct version when tag exists on commit)
#2742 [Improvement] Automatically update Docker Hub README with released version
#3060 Cannot use empty tag in branch specific configuration
#3245 Adds trouble shooting info for #1627
#3443 [Improvement] The following classes needs to be changed to immutable types: SemanticVersion, SemanticVersionPreReleaseTag and SemanticVersionBuildMetaData
#3454 Use IGitVersionConfiguration instead of GitVersionConfiguration (where possible)
#2885 Improve GitVersion performance
#3432 [Feature] Unknown language detected: 'wix'
#3463 [Improvement] Update the CONTRIBUTING guidelines to match the current state of the code base
#3479 Check that repository isn't a shallow clone and show an error if it is
#3480 [Improvement] Rename back to "tag-pre-release-weight" and "tag-prefix"
#3306 [Improvement] Move serialization and deserialization process of configuration out of the scope of core domain
#3727 [Improvement] Include winget publishing in the release workflow
!3768 Re-fixed github actions tag handling
!3790 Extract GitVersion Configuration into a separate project
!3804 Refactor GitVersion.Core for clear, maintainable methods
!3806 Refactor variable serialization and extend serialization tests
!3811 Switch to JSON for cache serialization and deserialization
#3831 Better Bitbucket support for gitversion /output buildserver for Powershell
!3844 Feature/replace the version mode mainline part i.a
#3308 [Improvement] Replacing the mainline version mode with the continuous deployment mode
!3921 Mark dependencies as private assets for GitVersion.MsBuild
#3919 Review Ignored unit tests
#3689 [Improvement] Increment version as per source branch
#3916 [Improvement] Refator BaseVersionV2 into BaseVersion
!3975 cleanups & refactorings
!3984 Add support for Squash Commit releases
#4000 [Improvement]: Rename TrunkBased Version Strategy to Mainline
#4002 [Improvement]: Create TaggedSemanticVersionService class
#4005 [Improvement]: Finalizing the configuration of GitFlow and GitHubFlow workflow and align with the Mainline version strategy
!4087 Fix path separator for gitversion.dll in MSBuild task
#4017 Verifies the contents of configuration.md against the default serialized configuration
!4107 Sunset .net 7.0

SHA256 Hashes of the release artifacts

5fb42c20729a3a4c0ecb0b84a70d1f4a01b89f76d7e1bc39e0b86e3da7ccc868	- gitversion-linux-arm64-6.0.0.tar.gz
a9654d447d9bc753c4c107efd726137a756b45249575ff7e2544b0dee34047df	- gitversion-linux-musl-arm64-6.0.0.tar.gz
2be9d503181411b4443619675db3cd745fc42bfd11c620dd758f7b8d81960432	- gitversion-linux-musl-x64-6.0.0.tar.gz
99324ad86713606f2e5e81f77a3d034ae1c9b2bc8672ddc0ffcec5150e6e92b4	- gitversion-linux-x64-6.0.0.tar.gz
16d23f586181bc816587ab923a32504b5bf6451d11c86856b3929afd0527c09c	- gitversion-osx-arm64-6.0.0.tar.gz
f0c5fe2512d918acdea7cd145bff04729c6071f0ccee4bbdf04abcaa14daa219	- gitversion-osx-x64-6.0.0.tar.gz
e9897532489586e276cf449aee66e141e675d226d43be12976d8495a8ae12e77	- gitversion-win-arm64-6.0.0.zip
5905dc372acecee526b6e29ee38853fa5f53b36db3812b2de9715f4da8644155	- gitversion-win-x64-6.0.0.zip

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

repo: gsoft-inc/wl-extensions-mediatr


text:
OCR on full pages

Hi,
I tried to use this repository to perform OCR on a modern comics. I performed OCR on full pages of the comics, and I did not have good results. I troubleshooted the issue and found that, if I only try to OCR a single speech bubble, the model works pretty well and the output is nearly flawless.
It seems to me that one should perform bubble detection before performing OCR on each bubble. From my experiments, one could order bubbles using Morton order, which seems to work decently well.
However, it seems this repository only performs text line detection. I did not find any model in COMICS Text+ to perform bubble detection, even though such a model is described in the COMICS paper at the end of Section 2.2. Is this model available anywhere?

Hi @Aethor,
Firstly, I apologize for the delayed response; wrapping up the fall term was quite challenging.
Your observations regarding the OCR performance on individual speech bubbles versus full comic pages are indeed accurate. As you've correctly identified, performing bubble detection before OCR can significantly enhance the accuracy. This approach is not currently incorporated into the repository, and as you've noted, the specific model discussed in the COMICS paper (end of Section 2.2) is not available here.
However, there's a viable alternative. You can develop a simple bubble detection model using YOLO architectures, particularly with datasets like DCM772. In my thesis, which builds upon this work, I've addressed this issue in greater detail and have further refined the architecture initially presented in "Comic MTL: optimized multi-task learning for comic book image analysis". For more comprehensive insights, I invite you to read my thesis, particularly Chapter 3, where I elaborate on how I improved the model.
I hope this information assists you in your endeavors, and I appreciate your interest and usage of my work.
Best!

Thanks for your answer!

authors: Aethor gsoykan


text:
Can Default.ParseArguments support more than 16 verbs?

I have a CLI program (C#, CommandLine v2.0.275-beta) where I've been gradually expanding the number of verbs that are available. I just ran into an issue trying to add my 17th verb.
Right now, I'm using CommandLine.Parser.Default.ParseArguments to parse my verb and options and run different tasks, as you'd expect. Like so (simplified to only 2 verbs):
var errorcode = CommandLine.Parser.Default.ParseArguments<
    Verb1Options,
    Verb2Options>(args).MapResult(
        (Verb1Options) => DoVerb1Actions(opts),
        (Verb2Options) => DoVerb2Actions(opts),
        errs => 1);

This works fine and dandy up to 16 verbs/verb option types provided to ParseArguments. However, when I go to add a 17th, I get the error Using the generic method 'Parser.ParseArguments<T>(IEnumerable<string>)' requires 1 type arguments. Looking at the overloads of Default.ParseArguments, IntelliSense tells me there are 17 overloads, with almost all of them just expanding the number of verb types from T to <T1, T2, T3...T16>(IEnumerable<string> args). So I suppose based on that, when I try to add a 17th verb type, it fails.
Is there a way to support using more than 16 verbs with this library? Perhaps there's a better way than our MapResult, which leads to a really giant code block. Let me know if you need any clarification.

Have you tried the params overload?

Thanks @nemec, must've missed that. Based on the "Latest Version" documentation, I am now using the params overload for ParseArguments and I switched from using MapResult to using a variety of WithParsed<T>() extension methods.
The only thing I can't figure out now is how to translate getting an error code back using these WithParsed methods. Each of the methods called in the WithParsed<T>() lambdas returns an int. Before I was using WithParsed and was using MapResult, I basically followed the example in the Verb section of the Latest Version documentation that returns an exit code. However, I haven't quite figured out how to do that here. It doesn't seem to return something that is an int or can be cast to an int, but perhaps I'm just doing something wrong. Relatedly, I haven't figured out what the WithParsed version of the MapResult errs => 1 is (it does not seem to be .WithNotParsed( errs => 1);

Since WithParsed is a "fluent interface" it just returns itself. You'll want to use closures to assign a local error code variable. Something like this:
var errorCode = 0;
result
    .WithParsed<Verb1>(errs => errorCode = 10)
    .WithParsed<Verb2>(errs => errorCode = 18);

Console.Error.WriteLine("Your error was: " + errorCode);

Is that what you're looking for?

Ah yep, that's exactly it. Makes sense.
Thanks for all your help @nemec!

Awesome! Glad it worked out.

authors: drboyer nemec

repo: gsscoder/commandline


text:
Task 'run' not found in root project 'san_google_login'.

(Please fill out these details before submitting an issue)
Sample Name
(i.e. Gmail Quickstart)
Expected Behavior
It should have run like this web said:
https://developers.google.com/people/quickstart/java
Actual Behavior
Turn out giving error like this:

What went wrong:
Task 'run' nt found in root project 'san_google_login'.

FAILURE: build failed with an exception.

Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1s
Specifications

Java version: 9.0.4
OS: Windows 7 Profesional, SP 1
Processor: Intel(R) Core(TM) i5-4200 CPU @1.60GHz 2.30GHz
RAM: 8Gb
System Type: 64-bit Operating System
System Model: X450LCP
System Manufacturer: ASUSTek COMPUTER INC.
DirectX 11

Glad you found a solution. Can you post what it was, in others run into this issue in the future?

Sorrry I haven't installed the Gradle in my environment. After installing, the next time I run it the error doesn't appear anymore.

repo: gsuitedevs/java-samples


text:
Extend code validation response with the xml file from diga api response

We have noticed in section 4.4 - Protokollierung here that it is required to log the interactions with the DiGA api.
Die Protokollierung muss die folgenden Mindestinhalte umfassen:
- Eindeutige Bezeichnung der Kommunikationspartner (Institutionskennzeichen)
- Zeitstempel im Format „yyyy-MM-dd HH:mm:ss“, basierend auf deutscher Zeit
- Prozesskennzeichen (Prüfung Freischaltcode / Rezeptcode / Abrechnung)
- Freischaltcode / Rezeptcode
- Verarbeitungskennzeichen (fehlerfrei/fehlerhaft)

Translated fields:
- ik numbers
- timestamp in German timezone
- value for `verfahren`
- prescription code
- flag if valid or not

In the current json response of this service we only get parts of this data. Also it might be a good idea to store the response xml (on caller-side) after making the validation request. Therefore, it would be great if this service could return the xml file in addition to the existing response format. In its' simplest form the xml could just be returned as text string.
Current Response
{
    "code": "77AAAAAAAAAAAAAX",
    "digavId": "00451000",
    "dayOfServiceProvision": "2021-06-02"
}

Proposed Change
{
    "code": "77AAAAAAAAAAAAAX",
    "digavId": "00451000",
    "dayOfServiceProvision": "2021-06-02",
    "xmlResponse": "<?xml version="1.0" ...>..."
}

All the required data for logging can be extracted from the xml_response on the caller-side. Additionally, it could make sense to return a boolean field isTestCode which denotes if the code was a test code or not.
What do you think @gtuk ?

Hey @gtuk thanks for having a look so fast! :)

As far as I understood the document it is more about request/response logging on the diga manufactors side (e.g auditing)

Yes, this is also what I understood. From our backend we can make a code validation request to the diga-api-service but need to do the request/response logging in our backend. But without the xml file we wouldn't have all the required data for this.

I'm not sure if returning the raw xml response would give you enough infos

I think it should be alright. At least it provides the data which we otherwise wouldn't have access to in our Backend. Trying to go through the initial list:

ik numbers: can be extracted from the xml
timestamp: can be created easily on caller side according to DiGA specification
verfahren: can be extracted from xml
prescription code: in json response already
flag if valid or not: can be set depending on response status code

some other infos couldn't be easily extracted from the raw response.

Yes, it will require parsing of the response on the caller-side as well. Ideally, the diga-api-service could return the fields in json. However, for auditing and debugging purposes it might still be a good idea to have access to the raw DiGA response.
Btw. as I still have not all prerequisites to test out this service myself, how does the error responses look like? There it would also be great to expose the raw xml response from DiGA api.

Currently the diga-api-client is handling catching invalid validation codes already and throws a DigaCodeValidationException. The response from this is service is then:
{
    "timestamp": "2021-06-11T08:21:34.924+00:00",
    "status": 400,
    "error": "Bad Request",
    "message": "DigaCodeValidationResponseError(errorCode=CODE_CANCELLED, errorText=Freischaltcode storniert)",
    "path": "/validate/77AAAAAAAAAAADFF"
}

#6 merged

Cool, thanks for adding the example response 👍

authors: SebastianRehfeldt gtuk

repo: gtuk/diga-api-service


text:
麻烦抽空看下节点拖动后树刷新位置错乱问题

非常感谢大佬

编辑功能已添加

repo: guaishouN/android-thinkmap-treeview


text:
locally run failed

File: Error: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use from_documents instead.
after I uploaded a PDF file,I got this. any help? thanks!

May I ask what type of file you are uploading? pdf? or epub?

PDF发自我的 iPhone在 2023年4月7日，14:19，guangzhengli @.***> 写道：
May I ask what type of file you are uploading? pdf? or epub?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

At present, I don't reproduce this issue locally. The error was caused by the llama_index create index function. I upgraded llama_index to the latest version and modified the from_documents method. Please test whether pulling the image again is successful. Thank you, and best wishes.

File: Error: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use from_documents instead.
after I uploaded a PDF file,I got this. any help? thanks!

Add from_documents after passing your vector index classifier, for example;
change this:-
index = GPTSimpleVectorIndex(documents)
adding from_documents, it will be:-
index = GPTSimpleVectorIndex.from_documents(documents)
I suppose it will work just fine.

It seems your OpenAI key is incorrect, do you set the env with OPENAI_API_KEY=sk-xxxx ?

It seems your OpenAI key is incorrect, do you set the env with OPENAI_API_KEY=sk-xxxx ?

thanks. I clear browser cash and set os.environ['OPENAI_API_KEY'] =
problem fixed!

Hey @guangzhengli @Ilya88Weber I faced the same issue mentioned at the top of the issue by @michael7908  where
File: Error: The constructor now takes in a list of Node objects. Since you are passing in a list of Document objects, please use from_documents instead.
I resolved that, Thanks to this thread.
However, I am getting this error now
ImportError: tiktoken package not found, please run pip install tiktoken`
Can someone please help

repo: guangzhengli/ChatFiles


text:
Support Pixi v7

Dependencies

Upgraded Cubism 4 framework from R4 to R7 (see changelog in CubismWebFramework)
Migrated to Pixi v7
Changed peer dependency to entire pixi.js instead of individual @pixi/* packages. This should prevent version conflicts which cause duplicate Pixi instances to be bundled (as in #109)

Changes

BREAKING: Moved model automation (update/hit-test/focus) into an Automator class. Now, to dynamically change these options, for example autoUpdate, use model.automator.autoUpdate = true instead of model.autoUpdate = true.
Added autoHitTest and autoFocus options to provide fine-grain controls of the old (deprecated) autoInteract option.
Added ticker option to allow passing a custom PIXI.Ticker instance.
Fixed an "unhandled Promise rejection" warning in the console when the texture fails to load. This does not change any actual logic.
Fixed a bug where the model's initial state depends on the time it's instantiated.
Removed unexpected package gh-pages from dependencies in package.json.

Deprecations

Deprecated autoInteract option in favor of autoHitTest and autoFocus
Deprecated Live2DModel.registerTicker() in favor of the ticker option

The commit history is somehow messed up... alright I'm merging it to master.


text:
Mj us top reader article count badge copy test

What does this PR do?
Adds a hard-coded test to ascertain the better wording for the top reader article count badge in the US.
This PR also adds the ability to override the default top reader badge copy by defining articleCountCopy on an epic variant object. This will allow us to quickly and easily run more hard-coded tests on this component going forward, and it also lays the groundwork for this to be configurable by the RRCP if we want to go down this route.
Screenshots

 US Top Reader copy test

Ah the auto-merge introduced a type error - that's why your branch built fine!

repo: guardian/support-dotcom-components


text:
Update circe-core, circe-generic, ... to 0.14.3

Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #86.


text:
Performance Comparison - Presidio (direct) vs Detect PII (Guardrails)

Hi,
I was comparing the performance of using Presidio directly vs using the Detect PII validator via Guardrails. In most cases, I found that there is difference of 1/10th of a second with using Presidio directly performing better than Detect PII. Both used the default model (en_web_core_lg) and on the same dataset. Wanted to understand if this is due to the additional Guardrails wrappers or am I missing something.
Example dataset: https://github.com/microsoft/presidio-research/blob/master/data/synth_dataset_v2.json
PII entities:
    "pii": [
        "EMAIL_ADDRESS",
        "PHONE_NUMBER",
        "IP_ADDRESS",
        "DATE_TIME",
        "LOCATION",
        "PERSON",
        "URL",
        "NRP",
        "CREDIT_CARD",
        "US_BANK_NUMBER",
        "US_DRIVER_LICENSE"
    ]

@nichwch @zsimjee Would love to get your thoughts on this.


text:
Birb returns broken account for requested feed

Requested feed: http://www.giantitp.com/comics/oots.rss
From thread: https://genart.social/@twilliability/111691696204075211

fixed with v0.0.28

repo: gugray/rss-parrot


text:
Update README.md

for geneach, items keyword does not appear to work. Replacing it with char_items makes the code work. Updated the example in the readme so it will work.

I think that subsequent API changes have rendered this obsolete?

authors: aniquetahir riedgar-ms

repo: guidance-ai/guidance


text:
Error "Vhost: myvhost refers to an unsupported attribute: encryption"

I used the settings from the documentation here: https://github.com/guidesmiths/rascal#encrypting-messages
When I add the encryption field to the vhost I get this error:
Error "Vhost: myvhost refers to an unsupported attribute: encryption.  If I remove the encryption field it works as expected.
This setting does not work:
"publications": {
    "my_q": {
        "queue": "my.q",
        "encryption": "well-known-v1"
    }
},
"encryption": {
    "well-known-v1": {
        "key": "f81db52a3b2c717fe65d9a3b7dd04d2a08793e1a28e3083db3ea08db56e7c315",
        "ivLength": 16,
        "algorithm": "aes-256-cbc"
    }
}

I saw the test's added it to the publication field, if I add it there and remove it from the vhost it works fine.  This setting works:
my_q: {
    queue: `my_q`,
    encryption: {
        name: 'well-known',
        key: 'f81db52a3b2c717fe65d9a3b7dd04d2a08793e1a28e3083db3ea08db56e7c315',
        ivLength: 16,
        algorithm: 'aes-256-cbc',
    }
}

Any ideas?  I'm using "version": "3.2.0".

The encryption config needs to be outside the vhosts configuration. i.e.
{
  vhosts: { },
  encryption: {}
}

What's probably caused the confusion is that publications, can be inside or outside the vhost configuration, so when the examples do
{
  publication: {}
  encryption: {}
}

it is correct, but not if your configuration is
{
   vhosts: {
     "/": {
       publications: {}
       encryption: {}
     }
  }
}

I'll try and make the readme clearer.

I've updated the readme and advanced example.

I made the changes and its working now, thx!

repo: guidesmiths/rascal

license: isc


text:
updates for bevy_mod_picking 0.4

Fixes for bevy_mod_picking 0.4 and bevy 0.5

@guimcaballero looks like this works. I accidentally committed my change to cargo config because I don't run nightly.


text:
Building wheels for 32-bit Windows is flaky on rust 1.49. It is fixed in rust 1.50.

Problem
Cargo randomly fails to download the source code of chrono because of the bug in the downstream dependency, libgit2. This is specific for x32 systems, and it sometimes prevents the wheels from building:

This bug is fixed in cargo 1.50 thanks to @ehuss. This version will be released on 2021-02-11.
Solution
Short-term: add retries to this CI step.
Long-term: use rust 1.50 when it's out.

Short-term mitigation is in place.

Short-term mitigation is in place.

repo: gukoff/dtparse


text:
Cursor disappears when triggering plugin

Awesome plugin! I've been using quick-scope for quite a while and am now trying this plugin out. Something I immediately noticed is that the cursor disappears when triggering this plugin (i.e. when I for instance press t) until I press the character to jump to. This happen in quick-scope.

Hi @Melkster , so I guess you want to report an issue that the cursor disappears when pressing f/t/F/T, right?
If that's the case, can you describe in more detail why that's a problem?
thanks

To me personally it's distracting. Since the default f/t/F/T don't behave that way I would say that it is an undesired behaviour :)

@mawkler Hi, would you please upgrade to the latest version of ftFT.nvim? I have made some fix to this issue, feedback is welcome!

@gukz Seems to have solved the issue, thank you very much!

authors: Melkster gukz mawkler


text:
-offset(loft(slot)) fails but works in FreeCad

p = loft([
    SlotOverall(10, 6).clean(),
    Pos(Z=4)*SlotOverall(6, 4).clean(),
])

p = offset(p, -0.5, p.faces()>>Axis.Z)

gives
OCP.Standard.Standard_Failure: Geom_TrimmedCurve::parameters out of range

FreeCad has no problem performing this exact operation so the issue lies within how B3D is calling OCCT.

The problem occurs in the fix() method after the offset is complete.
p = loft([SlotOverall(10, 6).clean(), Pos(Z=4) * SlotOverall(6, 4).clean()])
p_solid = p.solid()
top = p_solid.faces().sort_by(Axis.Z)[-1]
hollow = p_solid.offset_3d([top], -0.5, kind=Kind.ARC)
print(hollow.is_valid()) # False
fixed = hollow.fix() # OCP.Standard.Standard_ConstructionError: Geom_TrimmedCurve::parameters out of range

So, the part isn't valid but looks as though it is and fix can't fix it.
As far as I can tell FreeCAD also uses BRepOffsetAPI_MakeThickSolid to create the shell. I've tried changing its parameters but could not get it to generate a valid part. It could be that FreeCAD just returns the part even though it isn't valid but I don't know.
The attempted fix could be put in a try block and the broken part returned with a warning if thefix failed.  Would that be better?


text:
Manually copy the SVG icons from lucide-react-native?

Would remove dependency to lucide
Would minimize the bundle size

This is quite important because there is currently no good support for tree shaking.

authors: gunnartorfis hyoban

repo: gunnartorfis/sonner-native


text:
Core gunrock parameters list

Much like what we are doing with result_t and params_t for application-specific input and output parameters, we eventually want gunrock-specific parameters, which control things like load-balancing, filter algorithm, unquification, direction-optimized thresholds, etc.

Related to #20

repo: gunrock/essentials


text:
#74 Add support for "Icon Shortcodes" plugin

https://github.com/aidenlx/obsidian-icon-shortcodes

Closed
TODO: rewrite with Icon Shortcodes API

repo: guopenghui/obsidian-quiet-outline


text:
Onde está os slides da aula 04 (teste)

Testando o uso de Issues na aula do Curso em Vídeo de Git e GitHub
Obrigado professor

Usando Issues, Curso em Vídeo de Git e GitHub.
Professor show de bola.

authors: LuyysHenriqueKuromi paulocesarnlima

repo: gustavoguanabara/git-github


text:
Aprendendo Markdown

Estou aprendendo linguagem Markdown no  Curso  em Vídeo de Git e GitHub
Negrito -> X ou X
Itálico -> X ou X
Negrito e itálico -> X
linha para separar -> --- ou ***
Título nível 1

Título nível 2

Título nível 3

Lista numerada:

Teste 1
Teste 2

Teste 2.2

subitem -> três espaços

Teste 99
Teste 100

Lista demarcada:

Teste
Teste
Teste

Teste

Teste

subitem -> três espaços

Lista de tarefas:

[x] Crie a página principal
[x] Criar a página da loja
[ ] Finalizar reunião com cliente
[ ] Receber pagamento
[ ] Criar uma saved reply no Git

Acesse meu GitHub

Tebela

Num
Nome
Nota

1
Ana
10

2
Lara
10

3
Marcos
10

terminou a tabela
Linha de divisão da tabela -> ---|

Códigos
Não entendo direito para que serve o comando document.getElementById() da linguagem JavaScript
Olha meu programa em Python
num = int(input('Digite um valor: '))
if num % 2 = 0:
    print(f'O valor {num} é PAR')
else:
    print(f'O valor {num} é IMPAR')

obs: 4 espaços para fazer a função do TAB

Emoji 🖖
Cadê mi princesa cococó cococó ✨ 🐔 💅
Repositório dos nomes dos emojis
Site de Emoji

Menções
@(pessoa)
quotes usa: ''>'' ou aperta nos três pontinhos da postagem

PDF do Manual de Markdown do Guanabara

Testando a linguagem markdown

Lista numerada:

teste1
teste2

teste4
teste5
teste6

teste7

Lista de tarefas:

[x] Criar um reposítorio local
[x] Criar um Remoto
[x] Criar um repositorio
[ ] teste

Octocat

Clique aqui

Este codigo e de qual linguagem? ' System.out.printlin("Hello Word") '

Olha meu programa em Python
'''
n1 = int(input('Digite uma nota: ')
n2 = int(input('Digite outra nota:')
if n1 > n2:
print('Este numero e maior)
else:
print('Este numero e menor')
'''
Alguem entendeu este codigo?

tabela

idade
Nome
Ano

20
Gabriel
2004

27
Babi
1978

Olá pessoal 🙅
Já pegou seu café ? ☕
Huuuu 👻

@gustavoguanabara  Estou vendo como marca uma pessoa

authors: BrazAElis garobiel


text:
Slide aula 4 ( pratica do curso)

Procurei os slides da aula 04 e não encontrei, alguem poderia atualizar para mim ?

concluido


text:
Removed extra brackets

PHP already evaluates the ! after the stuff on the right. :)

I like the explicitness here: it's more clear, and just in case they ever break the precedence in a future release

authors: GrahamCampbell mtdowling


text:
可考虑支持msys2 python

可考虑支持msys2，源 https://github.com/msys2-contrib/cpython-mingw

目前不支持编译安装。

repo: gvcgo/version-manager


text:
Update 21c images with Critical Patch updates from Jan 2023

The January security patch update was released here:
https://www.oracle.com/security-alerts/cpujan2023.html#AppendixDB
Can the 21c base images be updated to pull a new version that has these patches and the faststart images be updated to have the patches already installed?

AFAIK Oracle patches require a support contract, but XE editions are unsupported... hence this could only be done when Oracle provides (new) downloads, current downloads are from September 08, 2021, https://www.oracle.com/nl/database/technologies/xe-downloads.html

That is correct, Oracle doesn't provide any support or patches for Express Edition:

How can I get support?
Go to the Oracle Database Express Edition (XE) Forum, and search existing questions and answers, or enter your own question.
Can I log an SR against XE?
No, you can only log Service Requests, with Oracle Support, against fully supported products, such as Oracle Database Enterprise Edition, Oracle Database Standard Edition 2, and all of the Oracle Database Cloud Services.
Will patches be provided for Oracle Database XE?
No, patches will not be released for XE. To obtain patches you must be on a fully supported edition, such as Oracle Database Enterprise Edition or Oracle Database Standard Edition 2.

authors: KyleAure gvenzl mprins

repo: gvenzl/oci-oracle-xe