text:
Assertion 'context_p->token.type != LEXER_RIGHT_PAREN' failed at jerryscript/jerry-core/parser/js/js-parser-statm.c(parser_parse_for_statement_start):1605.

JerryScript revision
Commit: a6ab5e9
Version: v3.0.0
Build platform
Ubuntu 18.04.5 LTS (Linux 4.19.128-microsoft-standard x86_64)
Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)
Build steps
python ./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --compile-flag=-g --strip=off --lto=off --logging=on --line-info=on --error-message=on --system-allocator=on --stack-limit=20

Test case

poc.js

function toPrinted(value) {
  return value = value.replace(/\\n/g, 'NL')
    .replace(/\\r/g, 'CR')
    .replace(/[^\x20-\x7E]+/g, escapeString);
}
function escapeString(str) {
  var a, b, c, d;
  var len = str.length;
  var result = "";
  var digits = ["0", "1", "2", "3", "4", "5", "6", "7",
    "8", "9", "A", "B", "C", "D", "E", "F"];
  for (var i = 0; i < len; i++) {
    var ch = str.charCodeAt(i);
    a = digits[ch & 0xf];
    if (ch) {
      c = digits[ch & 0xf];
      ch >>= 4;
      d = digits[ch & 0xf];
      result += "\\u" + d + c + b + a;
    }
  }
}
function reportCompare(expected, actual, description) {

  try {
    gczeal(2, 4);
  } catch (exc1) { }
  var trimMethods = ['trim', 'trimLeft', 'trimRight'];
  var whitespace = [
    {{ : '\u2028', t: 'LINE SEPARATOR' },
  ];
  for (var j = 0; j < trimMethods.length; ++j) {
    var method = trimMethods[j];
    for (var i = 0; i < whitespace.length; ++i) {
      var v = whitespace[i].s;
      var t = whitespace[i].t;
      v = v + v + v;
      str = v;
      expected = '';
      actual = str[method]();
      reportCompare(expected, actual, t + ':' + '"' + toPrinted(str) + '".' + method + '()');
    }
  }

Execution steps & Output
$ ./jerryscript/build/bin/jerry poc.js

ICE: Assertion 'context_p->token.type != LEXER_RIGHT_PAREN' failed at jerryscript/jerry-core/parser/js/js-parser-statm.c(parser_parse_for_statement_start):1605.
Error: ERR_FAILED_INTERNAL_ASSERTION
[1]    27191 abort      jerry poc.js

The main issue is similar to #4916. The problem is going to be resolved via #4942.

authors: FlydragonTy rerobika


text:
Sign Assembly SquishIt.Framework

Is there any constraint that the assemblies are not signed. It would be nice if the project were signed with a strong-name for inclusion in the global assembly cache.

Not being strongly signed is a pain. I don't want to put SquishIt in the GAC, but I do want to use it from a project that is strongly signed.
I love the fact that SquishIt is on NuGet, but the lack of strongly-signed assemblies mean I'm going to have to roll my build instead.

I'm having the same problem.
please also see: https://github.com/jetheredge/SquishIt/issues/153
trying to sign the SquishIt.Framework in the project within visual studio fails:
Error	1	Assembly generation failed -- Referenced assembly 'Jurassic' does not have a strong name	SquishIt.Framework
That one also needs to be signed i suppose.

just to let you know - about signing jurassic:
http://jurassic.codeplex.com/workitem/29984?PendingVoteId=29984

source: gharchive/issue

authors: flcdrg keschte toebens

repo: jetheredge/SquishIt

license: mit

license_type: permissive

license_source: bigquery


text:
Add github label for DNS01 providers

/release-note-none

/lgtm
/approve

source: gharchive/pull-request

authors: kragniz munnerz

repo: jetstack/cert-manager

license_source: github-api


text:
[BUG] - Trying to ask for tracking permissions with iOS < 14.5 will cause crash

Describe the bug
If you are not using iOS v14.5, the handlePermissionRequest()
permission.getPermissionManager()?.init(permissionType: permission) will return nil because version is less than 14.5...
This should be correct behavior, however, the next line in handlePermissionRequest() tries to force unwrap permissionManager by doing permissionManager!.requestPermission...
Would a if permissionManager != nil  {} check be enough to suffice?
To Reproduce
Steps to reproduce the behavior:

use iOS simulator with v14.4, add .tracking to JMModal, watch crash

Expected behavior
Should not crash with iOS versions < 14.5... Should just not show tracking permission option

@smaldd14 Please try newest 1.4.3 and see if it works.

@jevonmao The button successfully changes to 'Allowed' but the modal that is showing still does not dismiss.

@jevonmao It no longer crashes, but in PermissionType.swift, I see that you say  @available(iOS 14, *) case tracking... Correct me if I'm wrong, but I thought tracking was only available with iOS 14.5 and  newer. That is what this link says below. https://developer.apple.com/app-store/user-privacy-and-data-use/
It seems to work fine, however, like the comment in the other issue I have created, the JMModal does not automatically dissappear, and setting autoDismissal : true, messes things up

@smaldd14 If you look into the v1.4 migration guide, it says:
JMModal will not be dismissed by swiping. The autoDismiss still work, but the user will always have to use the close button if autoDismiss is enabled. JMAlert is not affected.
HOWEVER, I plan to continue debugging and fixing this behavior bug because it's not optimal.
I will reproduce what you mentioned that setting autoDismiss to true mess things up, and we go from there.

@smaldd14 Yes you are correct, tracking permission only works above 14.5. But I made it available for iOS 14.0 since there is no compiler warning or error for that, meaning Apple's API is marked for 14.0.

Resolved.

repo: jevonmao/PermissionsSwiftUI

license: MIT


text:
[FEATURE] shape insert modifiers

add insert and (push/pop)(front/back) funcions to shape - which function as 'factories' - they return a new object

the pop one just drop the dimension right ? LIke [4 6 9] becomes [4 6] or w/e ?

authors: jfalcou psiha

repo: jfalcou/kiwaku


text:
Detect CUDA and nvcc compiler

Can you add information for the detection of Nvidia's CUDA compiler (nvcc)? See https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#nvcc-identification-macro
It would be nice to also be able to detect the CUDA compilation phases (host and device code generation). A caveat is that clang can also compile CUDA and uses different macros, see https://www.llvm.org/docs/CompileCudaWithLLVM.html#detecting-clang-vs-nvcc-from-code

Sounds like a good idea.

Will give it a shot as we migrate to Github Action, we will then reuse the nvidia docker directly.

authors: jfalcou lahwaacz

repo: jfalcou/spy


text:
Allow registry to be configurable

I saw that you used environment variables for authentication inside admin.js, so I decided to do the same for configuring the npm registry. Let me know if you'd like this done differently!

Nah, this looks legit.
I'll run tests and merge when I get home.

authors: akenn jfhbrook

repo: jfhbrook/browserify-cdn


text:
New rule: Report what looks like a title but isn't

What the rule should do:
Report when (module/function/type) documentation contains what looks like a title but that is
What problems does it solve:
Fixes a Markdown that can surprise documentation authors.
Example of things the rule would report:
module A exposing (..)
{-|

#Title

-}

a = 1

Here's an example of the result: https://package.elm-lang.org/packages/stil4m/elm-syntax/7.2.6/Elm-Syntax-Infix (#Types)
Multiplying the number of #'s
Example of things the rule would not report:
module A exposing (..)
{-|

# Title

-}

a = 1

When (not) to enable this rule:
This can probably have some false positives, if authors genuinely want to start a line with #.

I am looking for:

General feedback
Information as to whether there is a maximum number of # for titles.
Information as to whether this will be a problem in practice
Information: Is this issue only a problem with the current Markdown implementation of the packages website, or is this part of the GitHub Flavored Markdown spec as well?

(cc @dillonkearns who might know some of the answers)

Max number of # is 6:

This issue is part of the GitHub Flavored Markdown spec as well:

You might find markdownlint to be a useful reference here as well. I actually use markdownlint in VS Code and find it helpful for things like making sure heading levels don't skip a level.
https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

authors: dillonkearns jfmengels lue-bird

repo: jfmengels/elm-review-documentation


text:
How to change JFXCombo Box text color to white

Please help me. I know this is a dumb question but please help

Try one of these css styles. Hope it helps.
-jfx-focus-color: white;
-jfx-unfocus-color: white;
.combo-box > .list-cell {
-fx-background: black;
-fx-background-color: black;
-fx-text-fill: white;
}

Non of these work

If you mean the editor of the combobox, you might need to find a proper css property to set the editor's text color considering the default editor is a textfield.

i mean this

try this maybe?
.combo-box > .combo-box-button-container {
-fx-background: black;
-fx-background-color: black;
-fx-text-fill: white;
}

Nope still didnt work.. Hmm

boop boop ^.^
.jfx-combo-box {
	-fx-background-color:  PINK;
}

.jfx-combo-box .label {
	-fx-background-color:  WHITE;
	-fx-text-fill: RED;
}

@Sashie thanks mate! You did it thanks alot cuz im doing this for my degree project and im having my dead line near by thanks alot.

by rights that's up to the ones who run this repo but i see no harm in it,,

Oh, then I'm opening this window and from here I will open another stage and in it, I have a tree view. Could I know how can I get those values back to text fields in the below shown. like lets say the one shown below is 1st window then I click on the button near the cuscode and opens another 2nd window which contains tree view which from there i need selected row values passed to my 1st below shown stage.

https://cloud.githubusercontent.com/assets/20990764/25537065/aaff7412-2c5a-11e7-8904-de7620e93f27.png

pregunto lo mismo

authors: Joanne86 Sashie aminabs lahirunc

repo: jfoenixadmin/JFoenix


text:
Handle policy enforcement webhook

https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_policy_enforcement

A policy enforcement will be taken on a page if it does not conform to Messenger Platform policy, fails to meet Facebook community standards or violates Facebook Pages guidelines. Common issues include spams, sending inappropriate messages (porn, suicide, etc), abusing tags, etc.

This PR adds the ability to listen for this webhook and act on it.

Hey, nice! :sparkles: :cake: :sparkles:

authors: cfurrow jgorset

repo: jgorset/facebook-messenger


text:
Add a loading dialog while logs are ingested

Logs do take some time to make their way into the database. In the meantime, the user shouldn't be allowed to interact. (For now, we could queue log files in the future). A loading dialog of some form seems an option here. The button being talked about is [1]. We want the dialog to last till promise [2] finishes.
[1] - https://github.com/jgraham/wptview/blob/master/index.html#L8
[2] - https://github.com/jgraham/wptview/blob/master/angular_scripts.js#L85

FWIW I think we should find a little spinner action and after one clicks any button that sets busy = true display the spinner next to that button so it's clear what's going on.

FWIW I think we should find a little spinner action and after one clicks any button that sets busy = true display the spinner next to that button so it's clear what's going on.

Are the line numbers pointing correctly? I think some new commits made them point to wrong lines.
Press y and clicking on a line number to add the commit hash to the url, this preserves it for future usage.

@Sumith1896, yeah we have had a lot of changes in wptview. Thanks for the tip, I've followed it and updated the description. Do tell me if you are interested in this issue.

Thanks @udiboy1209 ! Remove the "urgent" tag for now. This is better than the original approach in my opinion. Let's see what @jgraham has to say about this.

I think the spinner is good.

authors: Sumith1896 jgraham martiansideofthemoon

repo: jgraham/wptview


text:
Support better swimlane reorder

"“to front” move the lane to the most right position. “to back” move the lane to the most left position. But this is not what I want. I simple want e.g. to move the third lane to be the fourth or fifth out of total 8. "
At the moment we only have to front/to back option for swimlane reorder as the user mentioned.
Asked in Did-2072

Added Bring Forward / Send Backward.

authors: alderg mararad

repo: jgraph/drawio


text:
Block lastModifierName and creatorName in the generated json

Asked in DID-2499
"Is there a way to disable that this information is exposed in the source code (see attached)? lastModifierName and creatorName."
draw.io 9.4.16 for Confluence DC 7.4.4

Added in 9.8.0

authors: davidjgraph mararad


text:
Integrate multiple platforms using embed.ly

Embed.ly is a plattform that provides other companies with a simple way to support embedding third-party content from over 600 content providers.
For example: Notion.so lets their users embed third-party content using embed.ly. If draw.io would partner with embed.ly, I would be able to embed draw.io diagrams into my other content at Notion.so (which is in fact the endeavour that brought me here).
I think this would be a nice and simple solution to spread adoption of draw.io quite easily.
P.S.: I'm in no way associated with either Embed.ly or Notion.so 🙂

@davidjgraph - Instead of going through 3rd party, is it possible to look into implementing oEmbed endpoints? That way, the diagrams can be embedded anywhere that supports oEmbed.

authors: amimas tillsanders


text:
SX1276 compatibility

Hi, I am using two SX1276RF1IAS-ND modules o ne as a transmitter and one as a receiver. I want to transmit the data and receive the data only.
can any one guide how to configure this module as a transmitter and as a receiver to send and receive the data.
thanks

To transmit a packet, call the lora.transmit function. To receive one, call the lora.receive function. Please refer to the example code provided in /examples/ directory. For a more detailed API reference, there's the wiki.

I need your help bro. Thanks
On Fri, 9 Feb 2018 at 4:24 PM, Jan Gromeš notifications@github.com wrote:

To transmit a packet, call the lora.transmit function. To receive one,
call the lora.receive function. Please refer to the example code provided
in /examples/ directory. For a more detailed API reference, there's the
wiki https://github.com/jgromes/LoRaLib/wiki.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364482437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvmqyfVZuIXqN1F0yDMpiTFKVY-rWks5tTHFRgaJpZM4R_uVj
.

You really don't, using the library is just as simple as using Serial.println and Serial.read. If you run into some trouble, post your code and we can discuss it. You can try modifying the examples so that they suit your needs. But please, at least try first.

but before sending ad receiving the data i need to configure the
module by using configuration  registers but i dont have any idea
about that how to configure the registers to set frequency, bandwidth
and spreadinf factor and others elements.
On 2/9/18, Jan Gromeš notifications@github.com wrote:

You really don't, using the library is just as simple as using
Serial.println and Serial.read. If you run into some trouble, post your code
and we can discuss it. You can try modifying the examples so that they suit
your needs. But please, at least try first.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364513725

You don't have to set anything, unless you want settings other than the default ones. If you want to adjust range and datarate, this wiki article has the information about that.

Try running the example sketches, and if you want to set non-default settings, pass them to the Lora calss contructor, like so:
Lora lora(CH_SX1276, 7, BW_250_00_KHZ, SF_8, CR_4_6)
This will force SX1276 chip with NSS connected to Arduino pin 7, bandwidth 250 kHz, spreading factor 8, coding rate 4/6. All of that is a part of the documentation here.

Thanks i will try and let you know
On Sat, 10 Feb 2018 at 12:17 PM, Jan Gromeš notifications@github.com
wrote:

Try running the example sketches, and if you want to set non-default
settings, pass them to the Lora calss contructor, like so:
Lora lora(CH_SX1276, 7, BW_250_00_KHZ, SF_8, CR_4_6
https://maps.google.com/?q=4_6&entry=gmail&source=g)
This will force SX1276 chip with NSS connected to Arduino pin 7, bandwidth
250 kHz, spreading factor 8, coding rate 4/6. All of that is a part of the
documentation here https://github.com/jgromes/LoRaLib/wiki/LoRa-Class.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364647663, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvmTR8yvb5oRBptip3eiqXS5eLroQks5tTYi9gaJpZM4R_uVj
.

If i use default setting so will i connect to Miso Mosi and Ck pin or left
it unconnected only use Tx/Rx?
On Sat, 10 Feb 2018 at 12:27 PM, Asim Kayani kayani009@gmail.com wrote:

Thanks i will try and let you know
On Sat, 10 Feb 2018 at 12:17 PM, Jan Gromeš notifications@github.com
wrote:

Try running the example sketches, and if you want to set non-default
settings, pass them to the Lora calss contructor, like so:
Lora lora(CH_SX1276, 7, BW_250_00_KHZ, SF_8, CR_4_6
https://maps.google.com/?q=4_6&entry=gmail&source=g)
This will force SX1276 chip with NSS connected to Arduino pin 7,
bandwidth 250 kHz, spreading factor 8, coding rate 4/6. All of that is a
part of the documentation here
https://github.com/jgromes/LoRaLib/wiki/LoRa-Class.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364647663, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvmTR8yvb5oRBptip3eiqXS5eLroQks5tTYi9gaJpZM4R_uVj
.

LoRaLib uses SPI to connect to the module, so use MOSI, MISO, clock and slave select pin.

Thanks a lot
On Sat, 10 Feb 2018 at 12:53 PM, Jan Gromeš notifications@github.com
wrote:

LoRaLib uses SPI to connect to the module, so use MOSI, MISO, clock and
slave select pin.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364649769, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvvz0X1IYkpiqh3uAGYjrOAbCTcmtks5tTZExgaJpZM4R_uVj
.

hi bro
i have tested this program thee are no error at all but it is not sending
the data.
which pins are to be connected to transmit the data.
On Sat, Feb 10, 2018 at 1:50 PM, Jan Gromeš notifications@github.com
wrote:

Closed #5 https://github.com/jgromes/LoRaLib/issues/5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#event-1468005928, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvjCasb-AoOw-MaDTMdyK1R6YeHdvks5tTZ60gaJpZM4R_uVj
.

You can set all the connections however you like - see the Settings example. The default is Arduino pin 7 as SPI slave select, Arduino pin 2 as SX1276 DIO0 and Arduino pin 3 as SX1276 DIO1.

I have to connect Sx1276 DIO0 pin with Arduino pin 2 and S1276 DIO1 pin
with arduino pin 3 .
Am i right?
On Mon, 12 Feb 2018 at 2:34 PM, Jan Gromeš notifications@github.com wrote:

You can set all the connections however you like - see the Settings
example. The default is Arduino pin 7 as SPI slave select, Arduino pin 2 as
SX1276 DIO0 and Arduino pin 3 as SX1276 DIO1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364939914, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvgdK2LJxmgEnbf8UffAOuLMJ0fRKks5tUEvZgaJpZM4R_uVj
.

That's the default setting - so yes if you use LoRa lora;
However, as I've told you multiple times already, you can customize it. See the Settings example.

Sorry bro my aim is to send and receive the data by using default setting.
If it works then i will change the setting.
The program stuck on sending packet and nothing happens after that.
On Mon, 12 Feb 2018 at 2:42 PM, Jan Gromeš notifications@github.com wrote:

That's the default setting - so yes if you use LoRa lora;
However, as I've told you multiple times already, you can customize it.
See the Settings example.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364942319, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvs50hISUL2coT_dV9TgZ7Bhq1Wfxks5tUE3ZgaJpZM4R_uVj
.

Can you post/attach your code? It is impossible to debug something I can't see...

I am using your code in examples transmit and receive.
On Mon, 12 Feb 2018 at 3:05 PM, Jan Gromeš notifications@github.com wrote:

Can you post/attach your code? It is impossible to debug something I can't
see...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364949346, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvok46oZCkJUIGu5c3hBVRmwG4Y8tks5tUFMfgaJpZM4R_uVj
.

In that case there is probably something wrong with your wiring. You should check all the connections.

i connect  pin of SX1276  VR_ANA,  VBAT_ANA,  VR_DIG,  VBAT_RF,  VR_PA to
3.3 V
DIO0  with arduino pin 2
DIO1/DCLK  with arduino pin 3
pin 15,23,26 of SX1276 to ground
MOSI of sx1276 to pin 11 of arduino
MISO of sx1276 to pin 12 of arduino
sck of sx1276 to pin 13 of arduino
NSS of Sx1276 with pin 9 of arduino
i am using ardiuno uno board
On Mon, Feb 12, 2018 at 3:08 PM, Jan Gromeš notifications@github.com
wrote:

In that case there is probably something wrong with your wiring. You
should check all the connections.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364950331, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvrSxiMGobeU8cB4ALgLelsQCfJXXks5tUFPjgaJpZM4R_uVj
.

i didnt connect pin 20 RX/TX to arduino
On Mon, Feb 12, 2018 at 3:20 PM, Asim Kayani kayani009@gmail.com wrote:

i connect  pin of SX1276  VR_ANA,  VBAT_ANA,  VR_DIG,  VBAT_RF,  VR_PA to
3.3 V
DIO0  with arduino pin 2
DIO1/DCLK  with arduino pin 3
pin 15,23,26 of SX1276 to ground
MOSI of sx1276 to pin 11 of arduino
MISO of sx1276 to pin 12 of arduino
sck of sx1276 to pin 13 of arduino
NSS of Sx1276 with pin 9 of arduino
i am using ardiuno uno board
On Mon, Feb 12, 2018 at 3:08 PM, Jan Gromeš notifications@github.com
wrote:

In that case there is probably something wrong with your wiring. You
should check all the connections.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364950331, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvrSxiMGobeU8cB4ALgLelsQCfJXXks5tUFPjgaJpZM4R_uVj
.

Why are you connecting NSS to Arduino pin 9? I told you the default setting is pin 7, so try that one instead.

i try that as well but not working
On Mon, Feb 12, 2018 at 3:24 PM, Jan Gromeš notifications@github.com
wrote:

Why are you connecting NSS to Arduino pin 9? I told you the default
setting is pin 7, so try that one instead.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364955519, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvoASlUPue-pvuo-0JZ7e7k4kfQZJks5tUFekgaJpZM4R_uVj
.

RFI_HF (GND)  not sure about this pin????
On Mon, Feb 12, 2018 at 3:24 PM, Asim Kayani kayani009@gmail.com wrote:

i try that as well but not working
On Mon, Feb 12, 2018 at 3:24 PM, Jan Gromeš notifications@github.com
wrote:

Why are you connecting NSS to Arduino pin 9? I told you the default
setting is pin 7, so try that one instead.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364955519, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvoASlUPue-pvuo-0JZ7e7k4kfQZJks5tUFekgaJpZM4R_uVj
.

What is the logic level of your module? SX1276 by itself is 3.3 V only, so unless there are level converters on your module, you might have blown the SX1276.

but there is a power supply of 3.3 v on arduino board i am using that tom
power up SX1276.
On Mon, Feb 12, 2018 at 3:28 PM, Jan Gromeš notifications@github.com
wrote:

What is the logic level of your module? SX1276 by itself is 3.3 V only, so
unless there are level converters on your module, you might have blown the
SX1276.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364956896, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvuR-4_1hbbDpzXSqxS2AyUUgKnk0ks5tUFiUgaJpZM4R_uVj
.

Logic level has nothing to do with the power supply. Arduino Uno has 5 V logic - if you set one of the digital pins high, it will have a value of 5 V. SX1276 has 3.3 V - logic high is 3.3 V. If you apply 5 V directly to a 3.3 V logic device, there's a good chance you will destroy the chip.

Thanks bro.
I have ordered logic level converter. But how to check whether my chip is
destroyed or not?
On Mon, 12 Feb 2018 at 3:32 PM, Jan Gromeš notifications@github.com wrote:

Logic level has nothing to do with the power supply. Arduino Uno has 5 V
logic - if you set one of the digital pins high, it will have a value of 5
V. SX1276 has 3.3 V - logic high is 3.3 V. If you apply 5 V directly to a
3.3 V logic device, there's a good chance you will destroy the chip.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-364958185, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvocQyC4UUrslP9ZU0pLYh9-Cm-Z2ks5tUFl9gaJpZM4R_uVj
.

No idea, I don't know this specific board,  check with your distributor or the board manufacturer. But the logic inputs are probably connected directly to the chip, and since you applied 5V repeatedly, I'd say the probability of the chip being damaged is fairly high.
I suggest that you first learn a bit more about Arduino and electronics in general, there's plenty of tutorials online. Once you have that, you can try using more advanced modules like this one.

Hi,
its working now but the receiver is giving CRC Error. Transmitter is
working fine. can you please help?
On Tue, Feb 13, 2018 at 11:40 AM, Jan Gromeš notifications@github.com
wrote:

No idea, I don't know this specific board, check with your distributor or
the board manufacturer. But the logic inputs are probably connected
directly to the chip, and since you applied 5V repeatedly, I'd say the
probability of the chip being damaged is fairly high.
I suggest that you first learn a bit more about Arduino and electronics in
general, there's plenty of tutorials online. Once you have that, you can
try using more advanced modules like this one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-365242204, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvmSiLoDderRYhs6NgdZI7PEZfjT4ks5tUXSegaJpZM4R_uVj
.

Hi,
its working now but the receiver is giving CRC Error. Transmitter is
working fine. can you please help?
On Thu, 22 Feb 2018 at 12:06 PM, Asim Kayani kayani009@gmail.com wrote:

Hi,
its working now but the receiver is giving CRC Error. Transmitter is
working fine. can you please help?
On Tue, Feb 13, 2018 at 11:40 AM, Jan Gromeš notifications@github.com
wrote:

No idea, I don't know this specific board, check with your distributor or
the board manufacturer. But the logic inputs are probably connected
directly to the chip, and since you applied 5V repeatedly, I'd say the
probability of the chip being damaged is fairly high.
I suggest that you first learn a bit more about Arduino and electronics
in general, there's plenty of tutorials online. Once you have that, you can
try using more advanced modules like this one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-365242204, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvmSiLoDderRYhs6NgdZI7PEZfjT4ks5tUXSegaJpZM4R_uVj
.

CRC error means that the CRC16 checksum of the received message does not match the expected CRC16 checksum - the packet was damaged while on-air. That can be either incorrect LoRa modem settings (bandwidth, spreading factor and coding rate of transmitter and receiver don't match), or not enough power for the module. The usual power requirements of SX1276 is low enough for the Arduino regulator to handle, but since this one is on a breakout board, there might be other components that increase it.
First of all, check all the settings and maybe try a different combination. If it still reports CRC error, get a 3.3 V regulator that can provide at least 1 A and power the module from that.

Look in the SX1276 datasheet: on page 11, RXTX pin is marked as output. I suspect it goes high when the module is transmiting. The library doesn't use this pin, because it is not routed on the modules this library is written for, like this one.
I would suggest that you get simple LoRa module like the one in the link and try with that. Only then use more complicated modules.

Hello brother,
I have checked 3.3v pin on Arduino board and it gives me 2.45V on DMM and
module can operate at 1.7 V as well.
Can you suggest some other library that i can use?
On Sun, 25 Feb 2018 at 10:41 AM, Jan Gromeš notifications@github.com
wrote:

Look in the SX1276 datasheet: on page 11, RXTX pin is marked as output. I
suspect it goes high when the module is transmiting. The library doesn't
use this pin, because it is not routed on the modules this library is
written for, like this one.
https://www.ebay.com/itm/433-LoRa-SX1278-Long-Range-RF-Wireless-Transceiver-Module-SX1276-5Km-For-Arduino/142465838566?epid=2259922846&hash=item212ba02de6:g:JN8AAOSwP6pZn9vc
I would suggest that you get simple LoRa module like the one in the link
and try with that. Only then use more complicated modules.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-368299242, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvkyVPpWcO2UQGv7sIr_yMTIffJePks5tYTjpgaJpZM4R_uVj
.

Are you measuring the voltage with the module connected? If so, your reading is very inaccurate - the regulator voltage output voltage will drop because of the load.
You can try this library.

Which libaray sandeepmistry one?
Is there any connection difference between transmitter and receiver?
On Mon, 26 Feb 2018 at 3:06 PM, Jan Gromeš notifications@github.com wrote:

Are you measuring the voltage with the module connected? If so, your
reading is very inaccurate - the regulator voltage output voltage will drop
because of the load.
You can try this library http://bfy.tw/GoII.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-368532926, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvn6OYpBb49JLbfLkdQwZ4FESbwpcks5tYsiLgaJpZM4R_uVj
.

What do you mean by "connection difference"? I told you about five times already - I don't know your specific module.

brother i need to only transmit data from transmitter and receive the data
from the receiver. no gateway is involved here i am not using LORAwan. its
simple transmitter and receiver. will LORa support this?
On Mon, Feb 26, 2018 at 3:17 PM, Jan Gromeš notifications@github.com
wrote:

What do you mean by "connection difference"? I told you about five times
already - I don't know your specific module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/5#issuecomment-368536478, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AiOtvqtH4UPv96UuC9bs-8fylAOC_yP7ks5tYssPgaJpZM4R_uVj
.

I don't think you understand the purpose of GitHub Issues - this is not a forum. GitHub issues are meant to suggest improvements, report bugs, or ask the repository authors specific questions about the code. Your questions do not fall into any of these cathegories, so please go to Arduino forums to ask these very basic questions there or better yet - try it yourself.
I am locking this conversation now. Good luck with your project.
PS: Do not call people you have never met "brother". It comes out as somewhat weird.

repo: jgromes/LoRaLib


text:
publicPath: '/' breaks the reference to CDN JS files

I hope I can explain this correctly. If something would be unclear, don't hesitate to ask further questions.
To enable local development with Webpack and React Router, you need both publicPath: '/' and historyApiFallback: true, as can be seen here
However, this makes the resulting HTML break when actually building, since it's there trying to import everything from /, even http assets.
<script type="text/javascript" src="/https://unpkg.com/react@16.8.0/umd/react.development.js"></script>

Hi @JDansercoer can you share more of your webpack config?
Also, please note that it is possible to set the publicPath for this plugin to a different value than the one used by webpack.
To resolve your issue, you may just want to add the following to the options for this plugin:
new HtmlWebpackTagsPlugin(
  {
    // your other options...
    publicPath: false
  }
);

Sorry for the late answer @jharris4.
Unfortunately, it seems I reverted my changes without stashing them, so I don't have a ready config to share with you.
I did however try setting 'publicPath' to false, but this made my main.js bundle ignore the publicPath as well. A possible solution I had, was to explicitly set publicPath: false on every tag (which are just React, ReactDOM and styled from CDN), but this seemed to be very cumbersome. I'd expect a tag that starts with http(s) to never ever listen to publicPath, no?

I think the usePublicPath and addPublicPath options can help you here!
Try something like this:
new HtmlWebpackTagsPlugin({
  usePublicPath: true,
  addPublicPath: (assetPath, publicPath) => {
    if (assetPath.startsWith('http')) {
      return assetPath;
    }
    return (publicPath !== '' && !publicPath.endsWith('/') && !assetPath.startsWith('/')) ? publicPath + '/' + assetPath : publicPath + assetPath;
  }
});

I'll also think about whether it might be a good idea to change the default to this behaviour...

Yeah, I know there's multiple ways of changing it, but just wanted to bring up that I'd expect different default behaviour for http assets :)


text:
Make qos serializable

Hello,
We saw ticket #297 and had already did some related work in our local repo.
Our scope was a bit different: We needed to make the QosPolicyBuilder ser/deserializable, to be able to load it from configuration files, then append/modify QoS Policies before building the QosPolicies struct. It was not a big deal to increase the scope to QosPolicies stuct.
Thus, I suggest this pull-request to resolve ticket #297.

I did not find any contributing guidelines, don't hesitate to tell me if the format doesn't suit you.

Regards,
Thomas
Modification description

Added Serialize and Deserialize derives to all QoS policies, and to the QosPolicies + QosPolicyBuilder structs.
Added missing derives to the QosPolicyBuilder for ease of use (Added derives are Clone, Debug, PartialEq, Eq). Its derives now match the QosPolicies ones.

Test Performed

Built RustDDS with and without security feature
Ran tests using cargo test -- --test-threads=1, no tests are failing
Build our internal project using this RustDDS version. I was able to deserialize a QoSPolicyBuilder from a file using serde-json crate.

What was not tested

Serialization / Deserialization of a QosPolicies (I let @samcarey test in his use case)
Serialization / Deserialization when the security feature is enabled (We don't use it in our project, so I was just able to compile RustDDS alone.)

Functional impact
One can now Serialize and Deserialize QosPolicies and QosPolicyBuilder using serde.

Thank you. This will be included in the next release.

repo: jhelovuo/RustDDS


text:
Update README.md

This pull request resolves #ISSUE_NUMBER.
The pull request is in progress.
OR
The pull request is ready to be merged.
The details of the pull request:

Pull Request Test Coverage Report for Build 895

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.08%) to 94.461%

Files with Coverage Reduction
New Missed Lines
%

autokeras/bayesian.py
1
95.02%

autokeras/net_transformer.py
1
97.53%

Totals

Change from base Build 881:
-0.08%

Covered Lines:
2285

Relevant Lines:
2419

💛  - Coveralls


text:
Tethered power

I'm getting a power supply so I can properly power the robot/pi 4 when working on it. I was doing it with the battery charger, it works but performance is impacted versus the battery. The battery is rated 6a max continuous power so that's what I'm ordering. The pi can get up to 3a under load and the charger is 800ma
https://www.amazon.com/gp/aw/d/B082PCR5YS/

Let me know how this works.  I've used the power brick to power just the raspberry pi, but not the motors or anything else.  At 5V it provides roughly 2amps of power so I figured it might throttle it at times but should work.

authors: jhiggason matt-desmarais


text:
Make reports downloadable in private repos

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Related to #482
Basically the strategy here is to make the link not the raw version if its a public repository. But if it's not a public repository, we need to use the website and its login information it has, so in that case we supply a link to where the file is.
I think the raw version link is still preferred over the link to the repository, so when possible, I think it makes sense to supply that one.

I don't think we really need this strategy. I'm going to close this for now.


text:
v-model=“checkedIds”

checkedIds发生变化，从后端拿的数据，结果渲染出来的就是不打勾的，搞不清楚这个和treeData还有先后顺序吗？还是说checkedIds变化的时候，页面监听不到？甚是不解

你把checkedIds放在options对象里面，不要直接放在data对象里面试试

repo: jiaxincui/vue-tree


text:
Is the pre-trained model uploaded the same that achieved the results in the paper?

Thanks

I've adapted the code to PyTorch, which may introduce some training discrepancies. But you should still achieve comparable classification accuracy.

authors: fjzs jiaxue-ai


text:
decode时部分数据会丢失

我在使用框架完成中文NER任务时，数据是用BIO格式标注的，训练一切正常，但是decode的时候生成的文件有部分数据会丢失。比如一个5219行的文件，decode之后只剩下前3429行。一个50W行的文件decode之后的文件只有30多W行，decode过程没有任何报错信息，请问有可能是什么原因造成的？是数据的问题吗？感谢您
下面是train的config文件
I/O
train_dir=data/train.data
dev_dir=data/dev.data
test_dir=data/test.data
model_dir=data/lstmcrf
word_emb_dir=data/sample.word.emb
#raw_dir=
#decode_dir=
#dset_dir=
#load_model_dir=
#char_emb_dir=
norm_word_emb=False
norm_char_emb=False
number_normalized=True
seg=True
word_emb_dim=50
char_emb_dim=30
###NetworkConfiguration###
use_crf=True
use_char=False
word_seq_feature=LSTM
char_seq_feature=CNN
#feature=[POS] emb_size=20
#feature=[Cap] emb_size=20
#nbest=1
###TrainingSetting###
status=train
optimizer=SGD
iteration=50
batch_size=256
ave_batch_loss=False
###Hyperparameters###
cnn_layer=4
char_hidden_dim=50
hidden_dim=200
dropout=0.5
lstm_layer=1
bilstm=True
learning_rate=0.015
lr_decay=0.05
momentum=0
l2=1e-8
gpu=True
#clip=
下面是decode的config文件
Decode
status=decode
raw_dir=data/33.data
nbest=0
decode_dir=data/33.out
dset_dir=data/lstmcrf.dset
load_model_dir=data/lstmcrf.20.model

It may be caused by the long sentences in your datasets. In default, the sentence length longer than 250 words would be filtered out. You can set the like MAX_SENTENCE_LENGTH=300 to enable the model to take longer sentences. Or you can manually change the default max sentence length here: https://github.com/jiesutd/NCRFpp/blob/b6c7df699b667d8ed29cea2d710995d9f8cbcad2/utils/data.py#L24
Otherwise, you can break the long sentence into short pieces.

authors: NCZkevin jiesutd

repo: jiesutd/NCRFpp


text:
Don't remove formatting from manga synposis

Right now the REST API just returns the synopsis with no newlines or anything. Tested with manga "Akumetsu" (mal_id: 1101).

Hi, formatting is not removed. The synopsis is parsed from a meta tag. Which is why there is not formatting.

Is there a way to fix it? Or do I just have to manually scrape MAL myself to get those correct paragraph linebreaks?

Will look into it the feasibility

authors: CountryTk irfan-dahir

repo: jikan-me/jikan-rest


text:
Will this work for me?

Hello,
I have a VW Golf R with Discover Pro. The software version shows H2B.28.135_HIGH2_EU
Will this mod work here?
Thanks

Should work! But..... there's only 1 way to find out: try it 😄

You're not wrong lol. For both install methods, the system needs to be in debug which you can only do using VCDS or similar right?

Hey man is it possible to check if developer mode is enabled via the unit itself? I went to change it in VCDS but it Said it's already enabled

I've get this error: unable to read release information file. Error when reading opening the file. Metainfo2.txt


text:
Tails Proxy Incompatbility

I haven't been able to get Multibit to work with Tails Linux. Per this other issue (https://github.com/jim618/multibit/issues/35), I tried the following invocation to use Tail's SOCKS proxy.
java -Dhttp.proxyPort=9050 -Dhttp.proxyHost=127.0.0.1 -jar multibit-exe.jar

Contents of multibit.log up through the first error:
00:30:45.829 [main] INFO  org.multibit.MultiBit - Starting MultiBit at 23 Mar 2015 00:30:45 GMT
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.runtime.name = OpenJDK Runtime Environment
00:30:45.832 [main] DEBUG org.multibit.MultiBit - sun.boot.library.path = /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.vm.version = 24.75-b04
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.vm.vendor = Oracle Corporation
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.vendor.url = http://java.oracle.com/
00:30:45.832 [main] DEBUG org.multibit.MultiBit - path.separator = :
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.vm.name = OpenJDK Client VM
00:30:45.832 [main] DEBUG org.multibit.MultiBit - file.encoding.pkg = sun.io
00:30:45.832 [main] DEBUG org.multibit.MultiBit - user.country = US
00:30:45.832 [main] DEBUG org.multibit.MultiBit - sun.java.launcher = SUN_STANDARD
00:30:45.832 [main] DEBUG org.multibit.MultiBit - sun.os.patch.level = unknown
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.vm.specification.name = Java Virtual Machine Specification
00:30:45.832 [main] DEBUG org.multibit.MultiBit - user.dir = /home/amnesia/MultiBit-0.5.18
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.runtime.version = 1.7.0_75-b13
00:30:45.832 [main] DEBUG org.multibit.MultiBit - java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
00:30:45.833 [main] DEBUG org.multibit.MultiBit - java.endorsed.dirs = /usr/lib/jvm/java-7-openjdk-i386/jre/lib/endorsed
00:30:45.833 [main] DEBUG org.multibit.MultiBit - os.arch = i386
00:30:45.833 [main] DEBUG org.multibit.MultiBit - java.io.tmpdir = /tmp
00:30:45.833 [main] DEBUG org.multibit.MultiBit - line.separator =

00:30:45.833 [main] DEBUG org.multibit.MultiBit - java.vm.specification.vendor = Oracle Corporation
00:30:45.833 [main] DEBUG org.multibit.MultiBit - os.name = Linux
00:30:45.834 [main] DEBUG org.multibit.MultiBit - sun.jnu.encoding = UTF-8
00:30:45.834 [main] DEBUG org.multibit.MultiBit - http.proxyPort = 9050
00:30:45.834 [main] DEBUG org.multibit.MultiBit - java.library.path = /usr/java/packages/lib/i386:/usr/lib/i386-linux-gnu/jni:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/jni:/lib:/usr/lib
00:30:45.834 [main] DEBUG org.multibit.MultiBit - java.specification.name = Java Platform API Specification
00:30:45.834 [main] DEBUG org.multibit.MultiBit - java.class.version = 51.0
00:30:45.834 [main] DEBUG org.multibit.MultiBit - sun.management.compiler = HotSpot Client Compiler
00:30:45.834 [main] DEBUG org.multibit.MultiBit - os.version = 3.16.0-4-586
00:30:45.834 [main] DEBUG org.multibit.MultiBit - user.home = /home/amnesia
00:30:45.834 [main] DEBUG org.multibit.MultiBit - user.timezone = Etc/UTC
00:30:45.834 [main] DEBUG org.multibit.MultiBit - java.awt.printerjob = sun.print.PSPrinterJob
00:30:45.834 [main] DEBUG org.multibit.MultiBit - file.encoding = UTF-8
00:30:45.834 [main] DEBUG org.multibit.MultiBit - java.specification.version = 1.7
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.class.path = multibit-exe.jar
00:30:45.835 [main] DEBUG org.multibit.MultiBit - user.name = amnesia
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.vm.specification.version = 1.7
00:30:45.835 [main] DEBUG org.multibit.MultiBit - sun.java.command = multibit-exe.jar
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.home = /usr/lib/jvm/java-7-openjdk-i386/jre
00:30:45.835 [main] DEBUG org.multibit.MultiBit - sun.arch.data.model = 32
00:30:45.835 [main] DEBUG org.multibit.MultiBit - user.language = en
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.specification.vendor = Oracle Corporation
00:30:45.835 [main] DEBUG org.multibit.MultiBit - awt.toolkit = sun.awt.X11.XToolkit
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.vm.info = mixed mode
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.version = 1.7.0_75
00:30:45.835 [main] DEBUG org.multibit.MultiBit - java.ext.dirs = /usr/lib/jvm/java-7-openjdk-i386/jre/lib/ext:/usr/java/packages/lib/ext
00:30:45.836 [main] DEBUG org.multibit.MultiBit - http.proxyHost = 127.0.0.1
00:30:45.836 [main] DEBUG org.multibit.MultiBit - sun.boot.class.path = /usr/lib/jvm/java-7-openjdk-i386/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-i386/jre/classes
00:30:45.836 [main] DEBUG org.multibit.MultiBit - java.vendor = Oracle Corporation
00:30:45.836 [main] DEBUG org.multibit.MultiBit - file.separator = /
00:30:45.836 [main] DEBUG org.multibit.MultiBit - java.vendor.url.bug = http://bugreport.sun.com/bugreport/
00:30:45.836 [main] DEBUG org.multibit.MultiBit - sun.io.unicode.encoding = UnicodeLittle
00:30:45.836 [main] DEBUG org.multibit.MultiBit - sun.cpu.endian = little
00:30:45.836 [main] DEBUG org.multibit.MultiBit - sun.desktop = gnome
00:30:45.836 [main] DEBUG org.multibit.MultiBit - sun.cpu.isalist =
00:30:45.836 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/amnesia/MultiBit'
00:30:45.856 [main] INFO  org.multibit.MultiBit - Configuring native event handling
00:30:45.858 [main] INFO  org.multibit.MultiBit - Checking to see if this is the primary MultiBit instance
00:30:45.860 [main] DEBUG o.m.ApplicationInstanceManager - Listening for application instances on socket 8331
00:30:45.861 [main] DEBUG org.multibit.MultiBit - userLanguageCode = en
00:30:45.863 [main] DEBUG org.multibit.MultiBit - MultiBit version = 0.5.18
00:30:45.863 [main] DEBUG org.multibit.MultiBit - Creating model
00:30:45.864 [main] DEBUG org.multibit.model.BaseModel - Initial view from properties file is 'WELCOME_VIEW'
00:30:45.900 [main] DEBUG org.multibit.MultiBit - Setting look and feel
00:30:46.084 [main] DEBUG o.m.v.swing.ColorAndFontConstants - labelBackground = 237 236 235
00:30:46.084 [main] DEBUG o.m.v.swing.ColorAndFontConstants - labelForeground = 26 26 26
00:30:46.085 [main] DEBUG org.multibit.MultiBit - Creating user interface with initial view : WELCOME_VIEW
00:30:46.117 [main] DEBUG o.m.v.swing.ColorAndFontConstants - labelBackground = 237 236 235
00:30:46.117 [main] DEBUG o.m.v.swing.ColorAndFontConstants - labelForeground = 26 26 26
00:30:46.469 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - exchange is null ... creating exchange ... (isFirstExchange = true)
00:30:46.470 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - shortExchangeName is null, defaulting to Bitstamp
00:30:46.470 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - creating exchange from exchangeShortname  = Bitstamp
00:30:46.473 [main] DEBUG o.m.viewsystem.swing.MultiBitFrame - Displaying view 'WELCOME_VIEW'
00:30:46.474 [AWT-EventQueue-0] DEBUG o.m.viewsystem.swing.StatusBar - StatusBar label = ''
00:30:46.497 [AWT-EventQueue-0] DEBUG o.m.v.swing.MultiBitTabbedPane - Set selected index = 3
00:30:46.687 [main] DEBUG org.multibit.MultiBit - Registering with controller
00:30:46.687 [main] DEBUG org.multibit.MultiBit - The user data directory is "/home/amnesia/MultiBit".
00:30:46.687 [main] DEBUG org.multibit.MultiBit - The installation directory is "/home/amnesia/MultiBit-0.5.18".
00:30:46.687 [main] DEBUG org.multibit.MultiBit - Creating Bitcoin service
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - Network parameters = com.google.bitcoin.params.MainNetParams@9d1d82f2
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - Loading/ creating blockstore ...
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - filePrefix = multibit
00:30:46.787 [main] INFO  o.m.ApplicationDataDirectoryLocator - Application data directory.1 = '/home/amnesia/MultiBit'
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - Installed checkpoints file = '/home/amnesia/MultiBit-0.5.18/multibit.checkpoints'.
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - Using user data checkpoints file as it is longer/same size as installed checkpoints - 13941 bytes versus 13941 bytes.
00:30:46.787 [main] DEBUG org.multibit.network.MultiBitService - Opening / Creating SPV block store '/home/amnesia/MultiBit/multibit.spvchain' from disk
00:30:46.865 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - marketDataService = com.xeiam.xchange.bitstamp.service.polling.BitstampPollingMarketDataService@15cf9de
00:30:46.909 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - exchangeSymbols = [BTC/USD]
00:30:46.913 [main] DEBUG org.multibit.network.MultiBitService - Blockstore is 'com.google.bitcoin.store.SPVBlockStore@7c29d7'
00:30:46.915 [Timer-4] DEBUG o.multibit.exchange.TickerTimerTask - Getting ticker for BTC USD
00:30:46.924 [main] DEBUG org.multibit.network.MultiBitService - Creating blockchain ...
00:30:46.928 [main] INFO  c.g.bitcoin.core.AbstractBlockChain - chain head is at height 292320:
v2 block:
   previous block: 00000000000000006b6834bae83e895a78c5026a8c8141388040d90506cf3148
   merkle root: 5c4e6d58df9d8075ff04c539f0b3cda199544156ba158f09f35ecc0a02dd6174
   time: [1395703832] Mon Mar 24 23:30:32 UTC 2014
   difficulty target (nBits): 419486617
   nonce: 2118152214

00:30:46.928 [main] DEBUG org.multibit.network.MultiBitService - Created blockchain 'com.google.bitcoin.core.MultiBitBlockChain@1a32423' with height 292320
00:30:46.928 [main] DEBUG org.multibit.network.MultiBitService - Creating peergroup ...
00:30:46.977 [main] DEBUG org.multibit.network.MultiBitService - Created peergroup 'MultiBitPeerGroup [NEW]'
00:30:46.979 [main] DEBUG org.multibit.network.MultiBitService - Starting peergroup ...
00:30:46.984 [main] DEBUG org.multibit.network.MultiBitService - Started peergroup.
00:30:47.013 [main] INFO  c.g.bitcoin.core.CheckpointManager - Read 145 checkpoints, hash is 35a83b9d1890b13d0ce0274822d0ff27fcd8fdc95ff79d3949f1c9be51b9de64
00:30:47.013 [main] DEBUG org.multibit.MultiBit - Locating wallets
00:30:47.013 [main] DEBUG org.multibit.MultiBit - When loading early wallets, there were 1
00:30:47.013 [main] DEBUG org.multibit.MultiBit - When loading protobuf3 wallets, there were 0
00:30:47.013 [main] DEBUG org.multibit.MultiBit - When loading the wallet orders, there were 1
00:30:47.017 [main] DEBUG org.multibit.MultiBit - Loading wallet from '/home/amnesia/MultiBit/multibit.wallet'
00:30:47.023 [main] DEBUG o.m.model.bitcoin.WalletInfoData - The wallet version in the constructor was '3'. In the wallet info file it was '2'. Using the latter.
00:30:47.107 [main] DEBUG org.multibit.file.FileHandler - rememberFileSizesAndLastModified: Wallet filename /home/amnesia/MultiBit/multibit.wallet , walletFileSize 135 ,walletFileLastModified 1426910214000 ,walletInfoFileSize 208 ,walletInfoFileLastModified 1426910214000
00:30:47.110 [main] WARN  c.g.bitcoin.core.AbstractBlockChain - Wallet/chain height mismatch: -1 vs 292320
00:30:47.110 [main] WARN  c.g.bitcoin.core.AbstractBlockChain - Hashes: null vs 000000000000000063306b17182f398a454d72736b38a30d0a7d49aaf898383f
00:30:48.638 [Timer-4] ERROR o.multibit.exchange.TickerTimerTask - java.net.ConnectException Connection refused
00:30:49.058 [MultiBitPeerGroup] ERROR c.g.b.net.discovery.DnsDiscovery - Failed to look up DNS seeds from dnsseed.bitcoin.dashjr.org: java.net.UnknownHostException: dnsseed.bitcoin.dashjr.org: Name or service not known

Apologies for the slow response. Were you able to resolve this yourself in the end?

Negative -- Multibit Classic scored a 0 on Tails compatibility in the last OBPP report for this reason.

authors: gary-rowe kristovatlas


text:
[Regardez Direct!] France - Japon En Direct Streaming gratuit Tv (international Rugby Union) 09 Novembre 2024

[Regardez Direct!] France - Japon En Direct Streaming gratuit Tv (international Rugby Union) 09 Novembre 2024
France - Japon en direct samedi 09 novembre 2024, 21h10 Test-matches automne 2024
EN DIRECT France - Japon : Une victoire pour le retour de Dupont ? Suivez le match avec nous
Bienvenue sur le live de L'Équipe pour suivre ce match de rugby en direct entre France et Japon (Test-matches automne 2024, 09/11/2024).
Le coup d'envoi de ce match, qui se déroulera au Stade de France (Saint-Denis) sera donné le samedi 9 novembre à 21h10.
Voici la composition probable des deux équipes pour ce match :
France : Barré - Penaud - Gailleton, Moefana - Bielle-Biarrey - Ramos - Dupont - Alldritt, Roumat, Cros - Meafou, Flament - Tatafu - Mauvaka - Gros
Japon : Tuitama - Naikabula - Riley - Fifita - Osada, Tatekawa - Saito - Makisi, Himeno, Shimokawa - Dearns, Uluiviti - Takeuchi - Harada - Okabe
Le match, à suivre en direct sur TF1, sera arbitré par Schneider.
Vous pouvez aussi retrouver plus d’informations concernant les équipes et effectifs grâce à nos fiches détaillées : France et Japon.

f ddfd

repo: jina-ai/reader


text:
Scale [from, to] functionallity

Hi,
maybe you could implement setScaleX(int from, int to), setScaleY(int from, int to) in ConfettiManager? So for example, the bitmap would scale by the time elapsed.
At the moment I'm overriding Confetti class, accessing private "millisToReachBound" field with reflection and then preScaling matrix by calculating how much time have elapsed.

Would it be enough for Confetto.drawInternal to include a float parameter signifying percent animated (% from start to end) so you can do any custom drawing based on the animation progress?

Yes. It would even give chance for other custom animations.

I apologize for the delay. I will put up a diff today and push a release.

I pushed out 1.1.0 release. It should be live within a few hours.

Finally had time to check it out. Everything works as expected. Thanks ;)

authors: jinatonic krokyze

repo: jinatonic/confetti


text:
How to implement create or update?

Gorm has a FirstOrCreate method and a FirstOrInit but how to check afterwards if the record was actually created? I like to create a record if it does not exists and if it exists I want to update some fields. thx for answer

I am also interested in this, but it looks like you will just have to use a transaction for now. I might be able to dig into submitting a PR for this when I have a spare weekend or two.

Maybe you can use the Attrs, Assign method with FirstOrInit, FirstOrCreate?

You "orm" not have this)

@jinzhu Is that something I could potentially collapse into my own method in Gorm and submit a patch?
@spaceblock Do you have anything productive to add to this discussion?

Hi @TheChuckster

I like to create a record if it does not exists and if it exists I want to update some fields.

FirstOrCreate with Assign method will do the exactly thing.

refer:  http://jinzhu.me/gorm/crud.html#firstorcreate

Hi

Hi, I have multiple records. How can I do same for multiple records?

Hi @TheChuckster

I like to create a record if it does not exists and if it exists I want to update some fields.

FirstOrCreate with Assign method will do the exactly thing.

refer: http://jinzhu.me/gorm/crud.html#firstorcreate

How can i achieve the same for assigning using GORM expressions?  Something like below
db.Where(User{Name: "jinzhu"}).Assign("age", gorm.Expr("age+ ?", additionalAge).FirstOrCreate(&user)

Hmm, this probably works, but it looks more as a workaround rather than actual solution. I.e. it's not atomic, uses two separate queries underneath and is not using native ON CONFLICT... clause. Also if you have many fields you'll have to create long chains of Assign() calls to enumerate all of them.
I'm achieving same thing the other way, via gorm:insert_option:
db.Model(dbModel).
	Set("gorm:insert_option",
	    fmt.Sprintf("ON CONFLICT (id) DO UPDATE SET field_1 = '%s', field2 = '%s' ", field1.String(), field2.String())).
	Create(dbModel)

The downside of this is that I have to craft a piece of SQL by hand, but it is atomic, Posgres-idiomatic and is much easier to understand imo.
Ideally I would love to do something like Set("ON CONFLICT (id) DO UPDATE SET field_1 = ?, field2 = ? ", field1, field2), I think that would be better option than any of current ones.

authors: Domoryonok TheChuckster alexykot jinzhu spaceblock vidhyashankarpaysafe yasar-arafat

repo: jinzhu/gorm


text:
Feature/gh 66 update readme documentation

Closes #66

Pull Request Test Coverage Report for Build 68

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.761%

Totals

Change from base Build 63:
0.0%

Covered Lines:
2201

Relevant Lines:
2692

💛  - Coveralls

authors: coveralls jirenius

repo: jirenius/resgate


text:
Support spaces

With this PR it should be able to open notebooks with spaces in filenames and paths.

Thank you!


text:
Code 500 When Creating Request

Trying to execute this request, but getting null response data with response code 500:
var insightlyService = new InsightlyService();
var response = insightlyService
    .With<Contact>(true)
    .GetAll();
var contacts = response.ResponseData();

I managed to narrow it down to the creation of the FlurlClient in InsightlyService.Authorise, where the return object is not being cast to FlurlClient.
Original
public FlurlClient Authorise(string path)
{
	var request = InsightlyUri + path;
	return request.WithBasicAuth(ApiKey, "");
}

Error in VS

Cannot implicitly convert type 'Flurl.Http.IFlurlClient' to 'Flurl.Http.FlurlClient'. An explicit conversion exists (are you missing a cast?)

First Change
So I updated the code to look like this:
public IFlurlClient Authorise(string path)
{
    var request = InsightlyUri + path;
    var o = request.WithBasicAuth(ApiKey, "");
    return o;
}

But now I am seeing an error on this line:
responseData = await response.ReceiveJson<T>().ConfigureAwait(false);

Exception

{"Request to https://api.insight.ly/v2.2/Contacts/ failed. JSON integer 100224663348 is too large or small for an Int32. Path '[0].CONTACTINFOS[0].CONTACT_INFO_ID', line 1, position 411."}

Second Change
I noticed that the encoded API Key in the header looks different to when I manually make this call from PowerShell (Maybe a problem with the base64 encoding?) So I tried adding it manually here like so:
public FlurlClient Authorise(string path)
{
    var request = InsightlyUri + path;
    var flurlClient = new FlurlClient(request);
    flurlClient.WithHeader("Authorization", "Basic EncodedAPIKeyasperPowershellbase64Encoding");
    return flurlClient;
}

But this resulted in the same error as above (request integer is too large), so it looks like the issue is happening in Flurlclient?

Looks like the request integer too large is occurring because some values which are defined as int in the model exceed the int32 maximum value.
For example, I am getting an ADDRESS_ID value of 10,224,663,349, where the max int32 vaule is 2,147,483,647.


text:
WebsocketEvent enum problems

In consumer code it is not possible to use a string in the event listener:

The only way is to import the the WebsocketEvent enum and use WebsocketEvent.open. IMO this should not be an enum at all, but an interface similar to the native WebSocketEventMap in TypeScript:
interface WebSocketEventMap {
  close: CloseEvent;
  error: Event;
  message: MessageEvent;
  open: Event;
}

I made the greatest Nostr relay class ever using this library. Thank you for your service! https://gitlab.com/soapbox-pub/NSpec/-/blob/main/src/NRelay.ts

repo: jjxxs/websocket-ts


text:
Redux-Flipper plugin doesn't work with Android

Connection to Redux Debugger is only happening when running the app on iOS. I tried to connect to the Android emulator without luck. Redux Debugger option is not even listed if the device is Android.
Flipper version: 0.103.0

not working in my ubuntu

hey @plwai , this issue stills happening today and I would like to contribute to try to fix this issue, could you provide some guidance on that?
thank you

@daviaugustos sure. What you need to check is not only this plugin but also the flipper library. Most of the time, the issue is from there.

authors: daviaugustos diegomichell e4basil plwai

repo: jk-gan/redux-flipper


text:
if scroll >0, hovering over sun/moon resets scroll

Note that the sun/moon is the yellow circle which hides most elements on the page when you hover over it.
I am using jQuery show()/hide() to implement this hovering. However, because I am hiding every element and then showing it again, the scroll resets, leading to a glitch-y scroll-to-top whenever I mouseover/mouseleave the sun/moon while my scroll > 0. Is there any way to somehow preserve height to make sure that this glitch does not happen?

I'll like to help fix this bug

I have fixed it
i'll make a pull request now


text:
get started jupyter notebook

Hy
I tryed out your exciting wrapper for scopus.
I found some small bugs and was able to correct them. As I work often in Jupyter notebook I copied the conted of the read me in a Get started notebook.
However the rendering of the reports could be improved.
Kind regards
Silas

The reports are not designed for the IPython notebooks. For them, you would want to write different report functions. The functions create org-mode formatted output.

I changed the name of the Notebook

authors: SilasK jkitchin

repo: jkitchin/scopus


text:
Trying to access flag --model_dir before flags were parsed error ./train.sh ssd_mobilenet_v1_egohands

Hi, thanks for your tutorial. I have read the post and run the steps. At step 4 of Training section, I have run the command ./train.sh ssd_mobilenet_v1_egohands and got titled error, which is also below in detail:

File "./models/research/object_detection/model_main.py", line 101, in
tf.app.run()
File "/home/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "./models/research/object_detection/model_main.py", line 55, in main
config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir)
File "/home/anaconda3/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 491, in getattr
raise _exceptions.UnparsedFlagAccessError(error_message)
absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --model_dir before flags were parsed.

How can I solve the problem?

./train.sh ssd_mobilenet_v2_egohands has also yielded the same result

what should I assign for model_dir?

Your problem looks very similar to the following.  Which version of tensorflow are you using?
https://github.com/tensorflow/models/issues/5239

Thanks, I have reinstall the same version (1.10.0) and do not get the error.
Now I have other question, the training is performing currently (I guess, I run the command and terminal is still running).
Then I run these commands

$ cd ~/project/hand-detection-tutorial
$ tensorboard --logdir=ssd_mobilenet_v1_egohands

Now at the browser (http://localhost:6006/) I got

No dashboards are active for the current data set.

Why this apperars? Does it matters?

When the model is being trained, you should see pretty high CPU/GPU usage.  Meanwhile, tensorboard should have worked.  Please check:

Do you have the same version of tensorboard as tensorflow installed on the system?  If not, try pip3 uninstall and re-install the proper version of tensorboard again.
You are training a 'ssd_mobilenet_v1_egohands' (not the other model), right?

authors: DilaraSina jkjung-avt

repo: jkjung-avt/hand-detection-tutorial


text:
ImportError: cannot import name 'container_abcs'

from torch._six import container_abcs ImportError: cannot import name 'container_abcs'
Can you help me see how to solve this problem?Is it because of the torch version?

Yes, StackOverflow shows that runs  from torch_ Six import container-abcs at the pytorch greater than 1.9 will report an error, the correct code is to use 'import collections.abc as container-abcs'.
Can you tell me which line of code in this repository runs the 'from torch_ Six import container-abcs'?

Yes, StackOverflow shows that runs  from torch._six import container_abcs at the pytorch greater than 1.9 will report an error, the correct code is to use 'import collections.abc as container_abcs'. Can you tell me which line of code in this repository runs the 'from torch._six import container_abcs'?

There is nothing wrong with this code.
I suspect the problem may be a conflict between your installed versions of ‘apex’ and ‘pytorch’.

There is nothing wrong with this code. I suspect the problem may be a conflict between your installed versions of ‘apex’ and ‘pytorch’.

Ok, I'll have another look


text:
Add support for Jooqs YearToSecond

I want to use the postgres interval data type. Unfortunately is the value not written to the database. While debugging the query mapping, the build query is correct. But after execution there is nothing in the database. For the read case I understand if it is not supported and I could do the back-mapping by myself, but the write should work correctly because it relies only on existing jooq features.

Can you provide a sample table definition or a reproducer?

Sorry for late reply, haven't seen your question.
I hope this small example helps.
I am using vertx-jooq-classic-reactive.
Used versions:

<vertx.version>4.2.7</vertx.version>
<jooq.version>3.17.6</jooq.version>
<vertx-jooq.version>6.5.5</vertx-jooq.version>

create table maintenance
(
    maintenance_id       integer generated by default as identity
        primary key,
    last_edit_timestamp  timestamp with time zone default now() not null,
    maintenance_interval interval
);

var dao = MaintenanceDao(...);
var maintenance = Maintenance(null, OffsetDateTime.now(), YearToSecond(YearToMonth(0,1), DayToSecond(0,0,0)));
dao.insertReturningPrimary(maintenance);

                    <plugin>
                        <!-- Specify the maven code generator plugin -->
                        <groupId>org.jooq</groupId>
                        <artifactId>jooq-codegen-maven</artifactId>
                        <version>${jooq.version}</version>

                        <!-- The plugin should hook into the generate goal -->
                        <executions>
                            <execution>
                                <phase>generate-sources</phase>
                                <goals>
                                    <goal>generate</goal>
                                </goals>
                            </execution>
                        </executions>

                        <dependencies>
                            <dependency>
                                <groupId>org.postgresql</groupId>
                                <artifactId>postgresql</artifactId>
                                <version>${postgres.version}</version>
                            </dependency>
                            <dependency>
                                <groupId>io.github.jklingsporn</groupId>
                                <artifactId>vertx-jooq-generate</artifactId>
                                <version>${vertx-jooq.version}</version>
                            </dependency>
                        </dependencies>

                        <configuration>
                            <configurationFile>${jooq.config}</configurationFile>
                            <jdbc>
                                <driver>${database.driver}</driver>
                            </jdbc>

                            <!-- Generator parameters -->
                            <generator>
                                <name>io.github.jklingsporn.vertx.jooq.generate.classic.ClassicReactiveVertxGenerator
                                </name>
                                <!-- use 'io.github.jklingsporn.vertx.jooq.generate.classic.ClassicReactiveGuiceVertxGenerator' to enable Guice DI -->
                                <database>
                                    <name>org.jooq.meta.postgres.PostgresDatabase</name>
                                    <includes>.*</includes>
                                    <forcedTypes>
                                        <forcedType>
                                            <userType>io.vertx.core.json.JsonObject</userType>
                                            <converter>
                                                io.github.jklingsporn.vertx.jooq.shared.postgres.JSONToJsonObjectConverter
                                            </converter>
                                            <expression>data</expression>
                                            <types>(?i:JSON)</types>
                                        </forcedType>
                                    </forcedTypes>
                                    <unsignedTypes>false</unsignedTypes>
                                </database>
                                <target>
                                    <packageName>${jooq-generated.package}</packageName>
                                    <directory>${jooq-generated.dir}</directory>
                                </target>
                                <generate>
                                    <javaTimeTypes>true</javaTimeTypes>
                                    <interfaces>true</interfaces>
                                    <daos>true</daos>
                                    <fluentSetters>true</fluentSetters>
                                </generate>

                                <strategy>
                                    <name>io.github.jklingsporn.vertx.jooq.generate.VertxGeneratorStrategy</name>
                                </strategy>
                            </generator>
                        </configuration>
                    </plugin>

I tested the generated jooq sql query and copied it to the sql console, then it worked.
I also think the vertx-jooq code generator can support the datatype by mapping the fields of pg-client Interval to the Jooq YearToSecond instance:
import io.vertx.pgclient.data.Interval
import io.vertx.sqlclient.Row

var row = Row();
var interval = row.get(Interval.class, position/column);
obj.value = new YearToSecond(YearToMonth(interval.year, interval.month), DayToSecond(...));

@jklingsporn can you say something new?

What't interesting: while for example there exists a method Row.getOffsetDateTime no such thing exists for the Interval. I will have to find a workaround for that special usecase in my VertxGeneratorBuilder where it builds the RowMapper-classes.

I think this comes from the point that Interval is not supported in all database drivers.

As you've already mentioned, the Interval is only available for the postgres driver. For that reason I cannot provide an out-of-the-box support easily, because I want to avoid the dependency for language agnostic drivers. For now, please have a look at this generator I am using in the tests. It converts between the postgres Interval type and jOOQs YearToSecond. You obviously need to configure the converter properly in your code generator's configuration.

Thank you, I will try to implement it following your example. I will give feedback when I'm done.

Your example works, if the Interval type is the user type, but how I configure it to use jooqs YearToSecond instead?
I also have the problem, that the generated RowMapper tries to do row.getInterval("maintenance_interval"), which needs to be row.get(Intervall.class, "maintenance_interval").

I also have the problem, that the generated RowMapper tries to do row.getInterval("maintenance_interval"), which needs to be row.get(Intervall.class, "maintenance_interval").

It seems that this comes from the supportedRowTypes in the current release, if I understand the code correctly.

I'm really sorry for the late reply. Haven't forgot this and will craft a release as fast as I can ^^

I'm really sorry for the late reply. Haven't forgot this and will craft a release as fast as I can ^^

Thank you, maybe you also have the time to check #223 😊

authors: Dudeplayz jklingsporn

repo: jklingsporn/vertx-jooq


text:
Single tag multi arch support in ECR

@jlbutler is Amazon ECR support single tag multi arch support similiar to dockerhub?
sample build commend will create hello with both amd64 andarm64, uses right image depends on run environment?
docker buildx build -t hello:latest --platform linux/amd64,linux/arm64 .

Adding --push to build,  pushes images to dockerhub

Able to find the doc and resolve myself. Tag name might need prefix for aws domain name, using following commands hello:latest will have two arch images combined.
docker push hello:amd64
docker push hello:arm64v8
docker manifest create hello:latest hello:amd64 hello:arm64v8
docker manifest push hello:latest

repo: jlbutler/yahw


text:
Add Speakerinnen and Open Source Diversity

Additionally I’m wondering if https://diversitytickets.org would be relevant for this list? It tackles the participant side more than the speaker side.

@jancborchardt I think diversitytickets.org looks great, but doesn't really fit the purpose of this list.

authors: jancborchardt jlengstorf

repo: jlengstorf/awesome-speaker-diversity


text:
[Feature request] Create an environmental variable to disable MakeMKV updating - Fixes a blocking problem when there is no/bad Internet

Idea
See https://github.com/jlesage/docker-makemkv/issues/183#issuecomment-1660771190
True issue - the Auto Disc Ripper is dependent on makemkvcon which periodically requires network connectivity to the mothership for updates. When there is no internet and it's time to check for updates this is a blocking action and prevents makemkvcon from returning and thereby breaks anything dependent on it.
User based solutions:

Get your internet back online / allow the container to get to the internet.
Set app_UpdateEnable = "0" in settings.conf in /config and restart the container.

Recommendation:

Add an environmental variable that configures app_UpdateEnable when the container is stood up. This will help with headless installs and anyone that has crappy internet

Risks of implementing the recommendation:
While MakeMKV is able to run without internet connectivity, the updating is there for a reason. Turing it off and pulling a new container when one is released may leave things in an outdated state. Recommend that if an environmental variable is created that it be defaulted to 1/On so that the user needs to make a conscious decision understanding the risks of turning off this setting.
Lastly - I wonder if this may account for other weirdness with the autodiscripper reported here. Wondering if turning it off may make some other problems go away. A blocking process can break tons of downstream things. When mine broke, it broke in stages and progressively got worse. Once I configured that setting everything came back.

MakeMKV cannot totally works offline: you might not be able to rip all discs (especially UHD discs), since required keys are downloaded dynamically.
However, I agree that makemkvcon should not block for so long when there is no internet access.  Did you also report the issue on the MakeMKV forum ?

authors: int-rnd jlesage

repo: jlesage/docker-makemkv


text:
How i can use the styles generated in my custom componentes?

i'm trayna use the colors in my componenets but don't know how i do it.

Which styles are you talking about?
Are you using shadcn/ui in your project?

just found a way. and i'ma talking about these for example:

i'ma using like this in the code:

and yes i'm using shadcn components but i have build my own components.

yes exactly just use the variables 🙌
enjoy man

thx


text:
Previous Button pops elements in the wrong order

I've found the issue, which is that the previous button pops the themes in a Last In, First Out (LIFO) pattern. When more than 2 themes are on the stack and the previous button is pressed, they are applied in reverse order. Thus, the most recently added theme becomes the very last one to be applied.

agree

fix this problem use this hook

should be fixed thanks

authors: immiProgrammer jln13x robinsmith-source


text:
Error 400 and 429

I bought a Indego S+ 350 in January and have just installed it this past weekend. When I install the HACS integration and make the necessary changes in the configuration.yaml the status of the entities remain unknown and I see the following errors in the log.

Logger: pyIndego.indego_async_client
Source: /usr/local/lib/python3.9/site-packages/pyIndego/indego_async_client.py:521
First occurred: 12:54:56 (189 occurrences)
Last logged: 12:56:08
400: Bad Request: won't retry. Message:
Logger: pyIndego.indego_async_client
Source: /usr/local/lib/python3.9/site-packages/pyIndego/indego_async_client.py:577
First occurred: 12:55:28 (29 occurrences)
Last logged: 12:56:57
429, message='', url=URL('https://api.indego.iot.bosch-si.com/api/v1/alms/5704093/state?longpoll=true&timeout=300&last=0'): Failed GET to Indego, won't retry
I noticed similar issues on #146, #147 and #148 but a fix has been provided for those.
Any thoughts how to get my Indego working with HA?

Many thanks for the suggestion! I have tried to remove the special character I did have in my initial password but that hasn't resolved my problem. It's now just lowercase, uppercase and numbers but still no joy.

Just to add... the Bosch Smart Gardening app is working fine until I activate the Indego integration in HA. It then stops working and also gives the 429 error.

The integration only supports email login. Maybe you have connected your Bosh Indego account to Facebook?
the errors you describe sounds a lot like login problems to me.

I am using email login. And the integration does seem to affect my account, else it wouldn't have an impact on the Bosch app when I activate the integration. So you may be right saying it's login problems, but can't figure out how/what. Just to check... the id is always 9 digits, right? Including the first 0?

429 is the Bosch api telling you: "too many requests". The Bosch app is using the same api, so it'll stop working for some time too if it's using the same id. I would advise disabling this integration, wait some time and try to login in the official app. The moment that works, retry setting up the hass integration with the exact same credentials. If this hass integration is retrying with the wrong credentials you will run into 429 again. Make sure the official app is working fine first.

I have checked the credentials in HA over and over again. I have tried putting the credentials in the configuration.yaml, avoiding secrets.yaml but no difference.
Bosch app - working fine
https://indego.grauonline.de/ - working fine
Home Assistant integration - not working

Just to make sure that this isnt an easy fix:
Can you send me the yaml login settings you are using? Maybe you found a bug?
And I also need a homeassistant log file (with debugging activated) to be able to do some troubleshooting.

You can send me a DM in Discord!

I have tried to set this up and eventually opened a case with Bosch and they said the API is no longer supported so my account which has only been recently created will not work, they are not activating new accounts on the API or at least that is how I understand it.

Bosch has nothing to do with your problems. You are doing something wrong. I have offered you to send me logs (which I havent recieved).
Please try:
Reinstall the addon via HACS
Reinstall the addon manually
Reinstall HASSIO on another device and try the addon there
Send me the logs I requested
I will remove this issue as it is only you who experience this kind of problem. This ADDON is an unsupported use of the Bosch API so please dont bother Bosch with further questions. And please tick of the whole list above in order to troubleshoot your problem.

Would agree if it wasn’t for the fact that I get error 401 using https://indego.grauonline.de/ as well and no matter what I change my password to makes no difference basically my account does not work with the API regardless of the software used.
From: Jens Mazzanti-Myretyr @.>
Sent: 08 July 2022 06:30
To: jm-73/Indego @.>
Cc: nblount @.>; Comment @.>
Subject: Re: [jm-73/Indego] Error 400 and 429 (Issue #154)
Bosch has nothing to do with your problems. You are doing something wrong. I have offered you to send me logs (which I havent recieved).
Please try:
Reinstall the addon via HACS
Reinstall the addon manually
Reinstall HASSIO on another device and try the addon there
Send me the logs I requested
I will remove this issue as it is only you who experience this kind of problem. This ADDON is an unsupported use of the Bosch API so please dont bother Bosch with further questions. And please tick of the whole list above in order to troubleshoot your problem.
—
Reply to this email directly, view it on GitHubhttps://github.com/jm-73/Indego/issues/154#issuecomment-1178569371, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHAUA5GDLHUMBLN3ZEKKRWLVS64G5ANCNFSM5UIIBQDA.
You are receiving this because you commented.Message ID: @.@.>>

I remove this issue because I dont get any feedback in what kind of troubleshooting the user has performed. Nor has any logs been presented to me.

authors: UltraSub abeltman jm-73 nblount


text:
The downloaded file was the HTML page itself.

Hi, I am trying to convert a table and save it as a xlsx file.
HTML:
Export
JS:
function exportClick(){     return ExcellentExport.convert(         {              anchor: this,              filename: 'test',              format: 'xlsx'         },         [             {                 name: 'Sheet Name Here 1',                  from: {                     table: 'resultTable'                 },                 removeColumns: [0, 6 ,7]             }         ]         );}
Not sure why the file 'export.xlsx' contains only the HTML page itself.

Any help? thank you.

It looks like you are calling the function when the  is defined:
Export

It should be done like this, only referencing the function to be used:
Export

It looks like you are calling the function when the is defined:
Export

It should be done like this, only referencing the function to be used:
Export

The problem remains after changing the function to be referenced.

It looks like you are calling the function when the is defined:
Export

It should be done like this, only referencing the function to be used:
Export

The problem can be resolved if I embed the JS code into HTML, which just like what the example did.

authors: jmaister shipherd

repo: jmaister/excellentexport


text:
Add regex and concat to GJson query

Add the possibility to use regex and concat after use GJson query

Awesome! Thanks for this amazing contribution.

Thanks @jmartin82 !


text:
<+> does not work after liftAuthorizedService

I have
val Auth: SecuredRequestHandler[IO, Int, User, AugmentedJWT[HMACSHA256, Int]] =
    SecuredRequestHandler(jwtStatefulAuth)

and 2 roles
  val AdminRequired = BasicRBAC[IO, Role, User, AugmentedJWT[HMACSHA256, Int]](Administrator)
  val ReaderRequired = BasicRBAC[IO, Role, User, AugmentedJWT[HMACSHA256, Int]](Administrator, ReadAllUser)

try to compose two services which belongs to different permessions
val service1: HttpService[IO] = Auth.liftAuthorizedService(AdminRequired, TSecAuthService {
    case request @ GET -> Root / "s1" asAuthed user =>
      Ok("admin only")
  })

  val service2: HttpService[IO] = Auth.liftAuthorizedService(ReaderRequired, TSecAuthService {
    case request @ GET -> Root / "s2" asAuthed user =>
      Ok("admin and reader")
  })

val service = service1 <+> service2

service1 works, service2 returns 404 in any case. if i swap it
val service = service2 <+> service1

service2 works, service1 returns 404
If I remove Auth, the compose works with the pure Http4s HttpService[IO]

@ioganegambaputifonguser Which version's do you use ?

The version is 0.0.1-M9 (@ioganegambaputifonguser is a colleague)

@Yaneeve So we have the behavior where, to protect from spidering (which has been a really confusing default, I apologize), we make authenticated services consume all (i.e it will never hit the rightmost service).
To get over this (and in general, to use authorization nicely, which we should document but I'm currently @ NE Scala with not much time), you could redo your services like this:
val service1: TsecAuthService[F, A, B] = TSecAuthService(AdminRequired) {
    case request @ GET -> Root / "s1" asAuthed user =>
      Ok("admin only")
  }

  val service2:  TsecAuthService[F, A, B] = sSecAuthService(ReaderRequired) {
    case request @ GET -> Root / "s2" asAuthed user =>
      Ok("admin and reader")
  }

val liftedServices = Auth.liftAuthorizedblahblah(service1 <+> service2)

I am very aware that this is not well documented and could be better, but my time is constrained right now  so I do not have time to make a sample project/update the docs at least within this week.

Did this solve your issues? @Yaneeve @ioganegambaputifonguser?

With this code
val pf: PartialFunction[SecuredRequest[IO, Int, AugmentedJWT[HMACSHA256, Int]], IO[Response[IO]]] = {
    case request @ GET -> Root / "s1" asAuthed user =>
      Ok("admin only")
  }

  val service1 = TSecAuthService.withAuthorization(AdminRequired)(pf, _: (Response[IO], AugmentedJWT[HMACSHA256, Int]) => OptionT[IO, Response[IO]])

  val service2 = TSecAuthService.withAuthorization(ReaderRequired) {
    case request @ GET -> Root / "s2" asAuthed user =>
      Ok("reader only")
  }

I got
Error:(20, 34) ambiguous reference to overloaded definition,
both method withAuthorization in object TSecAuthService of type [A, I, F[_]](auth: tsec.authorization.Authorization[F,I,A])(pf: PartialFunction[tsec.authentication.SecuredRequest[F,I,A],F[org.http4s.Response[F]]], andThen: (org.http4s.Response[F], A) => cats.data.OptionT[F,org.http4s.Response[F]])(implicit F: cats.Monad[F])tsec.authentication.TSecAuthService[I,A,F]
and  method withAuthorization in object TSecAuthService of type [A, I, F[_]](auth: tsec.authorization.Authorization[F,I,A])(pf: PartialFunction[tsec.authentication.SecuredRequest[F,I,A],F[org.http4s.Response[F]]])(implicit F: cats.Monad[F])tsec.authentication.TSecAuthService[I,A,F]
match argument types (tsec.authorization.BasicRBAC[cats.effect.IO,kombucha.auth.AuthHelpers.Role,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]])
  val service1 = TSecAuthService.withAuthorization(AdminRequired)(pf, _: (Response[IO], AugmentedJWT[HMACSHA256, Int]) => OptionT[IO, Response[IO]])

Error:(22, 34) ambiguous reference to overloaded definition,
both method withAuthorization in object TSecAuthService of type [A, I, F[_]](auth: tsec.authorization.Authorization[F,I,A])(pf: PartialFunction[tsec.authentication.SecuredRequest[F,I,A],F[org.http4s.Response[F]]], andThen: (org.http4s.Response[F], A) => cats.data.OptionT[F,org.http4s.Response[F]])(implicit F: cats.Monad[F])tsec.authentication.TSecAuthService[I,A,F]
and  method withAuthorization in object TSecAuthService of type [A, I, F[_]](auth: tsec.authorization.Authorization[F,I,A])(pf: PartialFunction[tsec.authentication.SecuredRequest[F,I,A],F[org.http4s.Response[F]]])(implicit F: cats.Monad[F])tsec.authentication.TSecAuthService[I,A,F]
match argument types (tsec.authorization.BasicRBAC[cats.effect.IO,kombucha.auth.AuthHelpers.Role,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]])
  val service2 = TSecAuthService.withAuthorization(ReaderRequired) {

for both of them

Try:
service1: TsecAuthService[IO, User, AugmentedJWT[HMACSHA256, Int]] instead of annotating the partial function. Scalac has inferencr issues around this many type params for some reason

Thank you so much for the support, but unfortunately I get the same error
What I have for now
val service1: TSecAuthService[User, AugmentedJWT[HMACSHA256, Int], IO] =
    TSecAuthService.withAuthorization[AugmentedJWT[HMACSHA256, Int], User, IO](AdminRequired) {
      case request @ GET -> Root / "s1" asAuthed user =>
        Ok("admin only")
    }

error
/Users/theodor/work/kombucha/src/main/scala/kombucha/company/CompanyService.scala:18:38: ambiguous reference to overloaded definition,
[error] both method withAuthorization in object TSecAuthService of type (auth: tsec.authorization.Authorization[cats.effect.IO,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]])(pf: PartialFunction[tsec.authentication.SecuredRequest[cats.effect.IO,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]],cats.effect.IO[org.http4s.Response[cats.effect.IO]]], andThen: (org.http4s.Response[cats.effect.IO], tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]) => cats.data.OptionT[cats.effect.IO,org.http4s.Response[cats.effect.IO]])(implicit F: cats.Monad[cats.effect.IO])tsec.authentication.TSecAuthService[kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int],cats.effect.IO]
[error] and  method withAuthorization in object TSecAuthService of type (auth: tsec.authorization.Authorization[cats.effect.IO,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]])(pf: PartialFunction[tsec.authentication.SecuredRequest[cats.effect.IO,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]],cats.effect.IO[org.http4s.Response[cats.effect.IO]]])(implicit F: cats.Monad[cats.effect.IO])tsec.authentication.TSecAuthService[kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int],cats.effect.IO]
[error] match argument types (tsec.authorization.BasicRBAC[cats.effect.IO,kombucha.auth.AuthHelpers.Role,kombucha.auth.AuthHelpers.User,tsec.authentication.AugmentedJWT[tsec.mac.imports.HMACSHA256,Int]])
[error]     TSecAuthService.withAuthorization[AugmentedJWT[HMACSHA256, Int], User, IO](AdminRequired) {

Alright, yeah, this is an actual issue with method inference we need to fix.
Thank you for reporting. If I remove the second withAuthorization method that's totally unused, it compiles.
For now, I can give you a workaround to this:
    def withAuthorization[I, A, F[_]](auth: tsec.authorization.Authorization[F, I, A])(
        pf: PartialFunction[SecuredRequest[F, I, A], F[Response[F]]]
    )(implicit F: Monad[F]): TSecAuthService[I, A, F] =
      Kleisli { req: SecuredRequest[F, I, A] =>
        auth
          .isAuthorized(req)
          .flatMap(_ => pf.andThen(OptionT.liftF(_)).applyOrElse(req, Function.const(OptionT.none)))
      }

This will do what you want it to do. I'll make sure to remove the extra method with the andThen in a PR today, as this is clearly impacting inference negatively.

it will work but unfortunately I have to say that we came from where we started
def liftAuthorizedService(
      authorization: Authorization[F, User, Auth],
      service: TSecAuthService[User, Auth, F],
      onNotAuthenticated: Request[F] => F[Response[F]] = defaultNotAuthenticated
  )

does not accept TSecAuthService <+> TSecAuthService, it receives only one based on provided authorisation.
I tried val service = Auth.liftService(service1) <+> Auth.liftService(service2) but it also seems consumes everything in the first Auth and I get 404 from the service2 :(

@ioganegambaputifonguser this is why I am saying, please add the method in my comment above to a helper of some sort, then use that, while I fix this in a PR. i.e
object TSecAuthHelper {
    def withAuthorization[I, A, F[_]](auth: tsec.authorization.Authorization[F, I, A])(
        pf: PartialFunction[SecuredRequest[F, I, A], F[Response[F]]]
    )(implicit F: Monad[F]): TSecAuthService[I, A, F] =
      Kleisli { req: SecuredRequest[F, I, A] =>
        auth
          .isAuthorized(req)
          .flatMap(_ => pf.andThen(OptionT.liftF(_)).applyOrElse(req, Function.const(OptionT.none)))
      }
}

val service1: TSecAuthService[User, AugmentedJWT[HMACSHA256, Int], IO] =
    TSecAuthHelper.withAuthorization(AdminRequired) {
      case request @ GET -> Root / "s1" asAuthed user =>
        Ok("admin only")
    }

I don't mean this as a long term fix, just for now, while I create a PR to fix this issue.

Yes yes, I got it
It works
But the problem is here where we actually started, how to compose service1 and service2 after creation?
Now I have
service1: TSecAuthService[User, AugmentedJWT[HMACSHA256, Int], IO] and service2: TSecAuthService[User, AugmentedJWT[HMACSHA256, Int], IO] with this temporary solution.
As I said val service = Auth.liftService(service1) <+> Auth.liftService(service2) gives 404 from service2.
The Auth.liftAuthorizedblahblah(service1 <+> service2) does not work here also because It works with the only one TSecAuthService with the concrete Roles set, you can not pass (service1 <+> service2.

If you apply authorization on the individual services, you don't need to apply it from the handler.
Use .liftService and it should work just fine.
Something like:
  val auth1: BasicRBAC[IO, Role, User, Int] = BasicRBAC(Administrator: Role)
  val auth2: BasicRBAC[IO, Role, User, Int] = BasicRBAC(Customer)

  val s: TSecAuthService[User, Int, IO] =
    TSecAuthService.withAuthorization(auth1) {
      case GET -> Root asAuthed u =>
        Ok()
    }

  val q: TSecAuthService[User, Int, IO] =
    TSecAuthService.withAuthorization(auth2) {
      case GET -> Root asAuthed u =>
        Ok()
    }

  val composedService: TSecAuthService[User, Int, IO] = s <+> q

  def myhandler: SecuredRequestHandler[IO, Int, User, Int] = ???
  myhandler.liftService(composedService)

Thank you one more time, it works with this approach
  val composedService: TSecAuthService[User, Int, IO] = s <+> q

  def myhandler: SecuredRequestHandler[IO, Int, User, Int] = ???
  myhandler.liftService(composedService)

@jmcardon I hope it will help https://github.com/jmcardon/tsec/pull/138
I search within the codebase, it seems they both (overloaded withAuthorization and liftAuthorizedService) not used anywhere

closed by #138
Thank you very much @ioganegambaputifonguser

authors: Yaneeve ioganegambaputifonguser jmcardon rsoeldner

repo: jmcardon/tsec