text:
Search ranking improvement

When searching @imineblocks you get two channels with the same name. The channel with only one item ranks higher than the other channel with 300 items and the vanity name claim.
The one with the vanity name and more items should rank on top. The search result should also show which channel has the vanity name claim when multiple channels of the same name is listed.

@m160 - Thanks for bringing this to our attention. This is an awkward situation but it appears that the channel with 1 item ranks higher because it is the claim with the winning bid of the channel name "@imineblocks". It is expected that our search algorithm ranks claims that have the winning bid for a name to be ranked high than claims that do not. So this should explain the results of the search.
However, why would that be since it is clear that the channel with 300 items is much more relevant? I could even say that the intention appears to be to move content to the new claim.
#19d59f352adb3fde2eb9b448b343f2528b1a1313(1 item)
EffectiveAmount: 1,000,000,000
LastTakeOver: 346,073
ValidAtHeight: 171,990
#bc5981833c596cb4ac0b51930827a827d5feb64c(300 items)
EffectiveAmount: 1,001,000,000
LastTakeOver:
ValidAtHeight: 346,073
Based on the above information, it is clear that the effective amount is greater for the second channel claim, so why does it lose the bidding war? You can see that it is not winning because it does not have a last take over. This just references at which block in the blockchain this channel claim becomes the winning bidder.
The other is winning because of some game theory the creators of LBRY put deep thought into. If you claim a channel, you would not want someone with more LBC to steal it from you. People could be very sneaky. So the score in who wins a bid also accounts for how long they have had the channel claimed, not just the effective amount. So if you look at the valid at height you can see this publisher has had been around much longer than the second one. Now this does not prevent someone from taking the channel name, it just takes a longer time and more LBC to get it.
There is some really great articles on this topic:
Naming system - https://lbry.io/faq/naming
Claimtrie - https://lbry.io/faq/claimtrie-implementation

@tiger5226 think you misinterpreted the last take over value - that's when it was actually taken over by claim #2.  Valid at height for claim #2 is 346073 and the current height is 35014, so it's the winning claim.
@tiger5226 does the current search implementation take into updates of these claims? I.e. I could add support for the first claim right now and it would take back over. Just making sure we are taking that into account - IIRC, at one point, it may not have been.
lbrynet-cli claim_list @imineblocks
{
  "claims": [
    {
      "address": "baBPZJi5kATnvb4chjq3rQBsQ2FrzMAwK6",
      "amount": 10.0,
      "claim_id": "19d59f352adb3fde2eb9b448b343f2528b1a1313",
      "claim_sequence": 1,
      "decoded_claim": true,
      "depth": 178153,
      "effective_amount": 10.0,
      "has_signature": false,
      "height": 171990,
      "hex": "08011002225e0801100322583056301006072a8648ce3d020106052b8104000a03420004ff6e5865818f324fc726510844115e64def80229ad3091c2ba9431796fa9032c06d91329f19b3c9d6d8fde1cd7e914bc0e628bc30e8d10ec712cc417cd920b87",
      "name": "@imineblocks",
      "nout": 0,
      "permanent_url": "@imineblocks#19d59f352adb3fde2eb9b448b343f2528b1a1313",
      "supports": [],
      "txid": "6f3cc670fbf81d5517a47d8e5fa70961a938f40bee82425609049e412cf54eea",
      "valid_at_height": 171990,
      "value": {
        "certificate": {
          "keyType": "SECP256k1",
          "publicKey": "3056301006072a8648ce3d020106052b8104000a03420004ff6e5865818f324fc726510844115e64def80229ad3091c2ba9431796fa9032c06d91329f19b3c9d6d8fde1cd7e914bc0e628bc30e8d10ec712cc417cd920b87",
          "version": "_0_0_1"
        },
        "claimType": "certificateType",
        "version": "_0_0_1"
      }
    },
    {
      "address": "bZht5jLbncbzvaNBBVZMQbaMDnMdP5LVsg",
      "amount": 10.01,
      "claim_id": "bc5981833c596cb4ac0b51930827a827d5feb64c",
      "claim_sequence": 2,
      "decoded_claim": true,
      "depth": 8102,
      "effective_amount": 10.01,
      "has_signature": false,
      "height": 342041,
      "hex": "08011002225e0801100322583056301006072a8648ce3d020106052b8104000a034200045642c26f57fd1d7642f4c5f77be9085379f5e3d17dee12ec3416b1d36b1b9d4341ed48a87da43918331574ce7a94355d05124510b015ef1ca062cf2470e9a075",
      "name": "@imineblocks",
      "nout": 1,
      "permanent_url": "@imineblocks#bc5981833c596cb4ac0b51930827a827d5feb64c",
      "supports": [],
      "txid": "05d3a30877e43706a113b8a6688df1bc56a0d86b9ae56cdde1077ffb01a21311",
      "valid_at_height": 346073,
      "value": {
        "certificate": {
          "keyType": "SECP256k1",
          "publicKey": "3056301006072a8648ce3d020106052b8104000a034200045642c26f57fd1d7642f4c5f77be9085379f5e3d17dee12ec3416b1d36b1b9d4341ed48a87da43918331574ce7a94355d05124510b015ef1ca062cf2470e9a075",
          "version": "_0_0_1"
        },
        "claimType": "certificateType",
        "version": "_0_0_1"
      }
    }
  ],
  "last_takeover_height": 346073,
  "supports_without_claims": []
}

@m160 Thanks for reopening this!
@tzarebczan On point 1, yes, I agree, I misinterpreted that. I actually queried lbrycrd and the sequence of claims lead me to believe the the non-controlling one was the controlling one when in reality the sequence means nothing. I immediately, saw that the first one was there for quite some time so I thought this was a clear example of a minute take over bid not taking the name due to the duration restrictions. Still curious why it was allowed to be taken so easily. It had the vanity name since block 172K and 1/100th of the claim amount allowed it to be overtaken pretty quickly. I might be having a brain lapse but I thought it was much harder to take control of a long owned name. Looking at the docs again, it appears I could take over any ones channel in the same manner, and hopefully they notice my bid within 7 days, otherwise, I have just technically "hijacked" their channel and I get all their traffic for a period of time, however, short.
@tzarebczan On point 2, I delved a bit deeper. I performed the query for @imineblocks directly on elastic search from kibana. The result showed that these two claims were equal in weight. So there was no preference for one of over the other.
I delved a bit deeper and the iscontrolling received from lbrycrd was true for both of them in elastic search. Looking at the sync logic, we are only adding not updating like you suggested. Once a claim is added it is never updated in elastic search. It seems to me like we need a refresh every so often, like a full sync that pushes everything. Elastic Search will update the elastic document if you send it in with the same claimid. So maybe once per day we do a bigger sync since we don't really know if there are updates or not. Thoughts?

How does chainquery fit into this? Would regularly syncing from chainquery be the solution?

@lyoshenka Sorry for the delayed response here. Chainquery, will allow for lighthouse to query all claims updated since a specific date and time. Everytime a claim is modified we timestamp it in chainquery. So in theory this will be a much simpler process with chainquery. The only gap there would be the expired or spent claims which we would not then be deleting. Since we want all claims to be searchable this is a non-issue.

This will be solved once #71 is closed out as it has the new sync process where claims will get the updates.

Ok so now that claim updates are coming in and syncing properly with the latest release of lighthouse we can add weight for controlling claims. This is a separate issue so split it out into #75

this will be solved with the additions for controlling weights. https://github.com/lbryio/lighthouse/pull/81#event-1692597622

deployed

repo: lbryio/lighthouse


text:
fix password parsing with & (and other chars?)

Akin aware

Fixed.

When I try to sign in on the iOS app, the process fails and I get an error message saying "Extraneous params: E#z&V"

source: gharchive/issue

authors: akinwale tzarebczan

repo: lbryio/odysee-ios

license: MIT

license_type: permissive

license_source: github-api


text:
Broken link in REDME.md

Describe the bug
The README.md mentions a link to the CONTRIBUTING.md but that file doesn't exist.
See here: https://github.com/lc-soft/LCUI/blob/develop/README.md#contribution
It sends to this https://github.com/lc-soft/LCUI/blob/develop/CONTRIBUTING.md which is a 404
I would love to contribute to this project but I need instructions to set up the Development Environment.
Expected behavior
Sends the developer to documentation for getting started to contribute to your project. Have a look here.
Screenshots

https://github.com/lc-soft/LCUI/blob/develop/.github/CONTRIBUTING.md

authors: anshulxyz lc-soft

repo: lc-soft/LCUI

license: mit

license_source: bigquery


text:
🛑 Thonk Cloud is down

In 2990090, Thonk Cloud (https://www.thonk.cloud) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Thonk Cloud is back up in ca2eb5d.

repo: le-server/thonk-upptime


text:
Add ability to preload words

Add ability through the admin to preload the tweets through the admin panel without the tweet content or url yet. Then, in the daily kick off process, check if that day/word already exists in the database. If so, go to Twitter to get the url and content and update the record and make it visible. If not, create the record from Twitter.

All queries have been updated to support this and not leak any words, so now "all" that's needed is the admin panel.


text:
const group = UI.one(json) 报错

没有找到对应的tag元素类, JSON数据中的tag属性是？

repo: leaferjs/ui


text:
Terminal output for patrol drive incorrectly displays unicode characters

Description
Writing integration tests for my application and found out logger package produces garbled output. flutter test seems to display them correctly. Here's a reproduction.
Sample code:
patrolTest(
  'test',
  ($) async {
    print('Running test - 🙂😊😂');
  },
);

Expected result (flutter test)

Actual result

Hi, thanks for creating the issue. Can you specify more details? Such as:

the device and its OS (e.g Pixel 4 emulator, Android 13 API 31)
the operating system of your PC (e.g macOS 13)

I tried to reproduce this but got correct output:

Sure,

Pixel 3a emulator, Android 13 API 33 Tiramisu Google API, I tried on another emulator (Pixel 4 Android 12 API 31 Google API) but got the same result
I'm on Windows, the shell I'm using doesn't seem to matter (tried with Powershell, cmd, Nushell), same result no matter the shell is hosted on Windows Terminal or VS Code

Here's flutter doctor -v and patrol doctor if it might be of help

flutter doctor -v

[✓] Flutter (Channel stable, 3.3.7, on Microsoft Windows [Version 10.0.22621.819], locale en-US)
    • Flutter version 3.3.7 on channel stable at D:\build-tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (5 weeks ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Mira\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\Users\Mira\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32922.545
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.73.1)
    • VS Code at C:\Users\Mira\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.54.0

[✓] Connected device (5 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • sdk gphone64 x86 64 (mobile) • emulator-5556 • android-x64    • Android 12 (API 31) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.819]
    • Chrome (web)                 • chrome        • web-javascript • unknown
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 107.0.1418.62

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

patrol doctor
Patrol CLI version: 0.7.14
Artifact path: C:\Users\Mira\.cache\patrol (default)
Program adb found in C:\Users\Mira\AppData\Local\Android\Sdk\platform-tools\adb.exe
Env var $ANDROID_HOME env var set to C:\Users\Mira\AppData\Local\Android\Sdk

patrol drive was removed in 1.0

authors: SilverMira bartekpacia

repo: leancodepl/patrol


text:
Support Liquid style Tags

In the https://dev.to website they use special tags in Markdown documents to embed posts, gist, github repos, twitch streams, youtube, and other sites too.

https://dev.to/p/editor_guide

I have been using a custom parser to enable this functionality while migrating my content from dev.to to my own server.
Example
{% youtube JNWPsaO4PNM %}

would render

@clsource I'm assuming youtube is a custom tag you'd implement yourself?

@leandrocp
Yes I created a simple Lib to get the same functionality of dev.to markdown editor
in my own website
https://github.com/ElixirCL/liquor

Nice. Support to manipulate the markdown AST is something I'm still woking on, which would enable you to transform liquid tags into html using https://hex.pm/packages/solid or whatever engine you want

Hey @clsource AST manipulation is now available on the main branch (will be released soon) and I just added an example on how to render Liquid tags: https://github.com/leandrocp/mdex/blob/main/examples/liquid.exs
That script outputs:

Liquid Example

Elixir

I've not added a custom tag in the example but implementing {% youtube JNWPsaO4PNM %} should work as well so I'm closing this issue now but feel free to send more comments. Thanks!

authors: clsource leandrocp

repo: leandrocp/mdex


text:
imagePath is not null even if mode is CaptureMode.screen

It works if assert(imagePath == null) is not exists.

Due to the lack of support for copying to the clipboard in the screen mode of Windows, this PR was ultimately adopted https://github.com/leanflutter/screen_capturer/pull/21

source: gharchive/pull-request


text:
Full screen on (Arch) Linux doesn't work

Hi,
today testing on Linux, I found that unfortunately the full screen does not work with the setFullscreen(true) command and windowOptions.
Can you help me?
Anyway, congratulations again on your work!

+1. I test on MacOS, the application can full screen mode at the beginning but I can switch to window mode by press the "esc" button

Okay, I've done some other tests. I understand that the problem only occurs when I use onWindowMove.
In particular, in this method I check, if the application is in full screen (and is dragged), it must return to normal size and then exit the full screen.
The problem I can perceive is:
During the maximize window function (when switching to fullscreen), onWindowMove is triggered and this brings the window back to a smaller size.
This problem occurs:

when the app starts (although it should already start in full screen). So onWindowMove is "activated" before waitUntilReadyToShow allows to show the window
when I press a button to show the app in fullscreen.

Any update?


text:
Support Iterable return type for easier usage with Spring Data

Currently only Collection return type seems to be supported.
When using Spring Data, the repositories return Iterable<T>. Though at the moment we must use some code like this:
return StreamSupport
	.stream(repository.findAll().spliterator(), false)
	.collect(Collectors.toList());

Would be much nicer if we could just use this:
return repository.findAll();

As long you're using Jackson (the default), it's trivial to add this yourself.
//Custom mapper that maps an Iterable as if it were a List of the same generic type
public class IterableMapper extends AbstractTypeSubstitutingMapper {

    @Override
    public AnnotatedType getSubstituteType(AnnotatedType original) {
        return TypeFactory.parameterizedAnnotatedClass(List.class, original.getAnnotations(), getElementType(original));
    }

    private AnnotatedType getElementType(AnnotatedType type) {
        return GenericTypeReflector.getTypeParameter(type, Iterable.class.getTypeParameters()[0]);
    }

    @Override
    public boolean supports(AnnotatedType type) {
        return GenericTypeReflector.isSuperType(Iterable.class, type.getType());
    }
}

Register it:
//Since Collection is Iterable, register the new mapper _after_ the existing one so it doesn't interfere
generator.withTypeMappers((conf, current) -> current.insertAfter(ListMapper.class, new IterableToCollectionTypeAdapter<>()))

Jackson should be able to handle deserialization to Iterable just fine, and graphql-java handles Iterable outputs just fine as well.
I'll figure out how to best add out-of-the-box support for Gson as well.

Thank you!
Out of the box support would be really nice :)

authors: benneq kaqqao

repo: leangen/graphql-spqr


text:
feat: Monotonicity of Nat.cast : Nat → Fin (n + 1)

bors r+

authors: YaelDillies sgouezel


text:
chore: add missing spaces around :

Created automatically; then I manually checked the diff and reverted bad changes.

Thank you for the fast review.
bors r+


text:
chore: remove porting notes 'in std'

These don't seem actionable at this point.

bors merge

authors: grunweg j-loreaux


text:
feat(CategoryTheory): proof producing coherence tactic 2-b: normalize

This is essentially a port of (#Mathlib.Tactic.Monoidal.eval). The difference is

Qq is used to construct expressions
evaluation of tensorHom is added

[x] depends on: #16562

This PR moved to #16852.


text:
chore(CategoryTheory/Sites): remove a resolved TODO

Thanks!
bors merge

authors: dagurtomas joelriou


text:
feat(Cache): include MathlibTest in the cache

Not tested locally, but looks simple enough.

bors merge

authors: grunweg kim-em


text:
feat: properties of rnDeriv

Various results about rnDeriv, notably rnDeriv_add, rnDeriv_smul_left and rnDeriv_smul_right. These results describe the Radon-Nikodym derivatives of sums and scaling of measures.
These lemmas were already there for signed measures, but not for Measure. The proofs for signed measures use that addition is cancelative (μ + ν₁ = μ + ν₂ ↔ ν₁ = ν₂). This is not true in general for measures, but is true when μ is mutually singular with the two other measures or when μ is sigma-finite, which is enough for these proofs.

[x] depends on: #7544
[x] depends on: #7714
[x] depends on: #8032
[x] depends on: #8026
[x] depends on: #8040

Note: I have pushed an update to the lean toolchain because this PR was on a buggy version of the toolchain. WARNING: checking out old commits of this PR using v4.2.0-rc2 or v4.2.0-rc3 can cause lake clean to delete your mathlib folder! If you need to do so, make sure to delete lakefile.olean manually before running any lake commands.

Looks good, thanks!
maintainer merge

bors r+

authors: JasonKYi RemyDegenne digama0 sgouezel


text:
feat: syntax and delaborator for delayed assignment metavariables

It's often confusing how fun x y => ?foo elaborates as fun x y => ?m.123 x y, with no way to see how ?m.123 is connected to ?foo. This PR adds syntax for delayed assignment metavariables, where the elaborated result pretty prints as fun x y => ?foo(x := x, y := y) instead. Hovering over the expression still shows the underlying ?m.123 x y term, and hovering over foo shows whatever foo might be currently assigned to, if anything.
This also adds an elaborator for ?foo(x := a, y := b) syntax to create a new delayed assignment metavariable from a metavariable, making the pretty printed syntax elaboratable. In addition to being for making pretty printing round trip, it is filling in a missing feature, since, as a user, it's impossible to use synthetic holes in incompatible local contexts without being able to specify delayed assignments. For example, with the ?foo above we can then later refer to fun x y => ?foo(x, y) (where ?foo(x, y) is short for ?foo(x := x, y := y)), even though the x and y binders are totally new fvars.
The syntax is chosen to (1) use parentheses with no whitespace since that is reserved for new syntax, (2) to resemble structure instance notation, and (3) to be something like the Lean version of lambda calculus substitution (and in any case, square brackets are already used by GetElem).

Will we be able to limit the scope of the metavariable in this way? e.g. ?foo(x) from your example above

@ericrbg-harmonic It lets you write ?foo(x) to assign just a value for x, but to be clear y is still in its context and you can only do this if ?foo's y is still a local variable in the current scope.

I am concerned about the size of this expression, as I often see these metavariables in printouts and I generally don't actually care about the values of the arguments and only the fact that it is a metavariable (possibly an unassignable metavariable) is relevant to me. Maybe ?m(...) should be printed instead under some pp option? Maybe it should also be default-enabled?

authors: digama0 ericrbg-harmonic kmill


text:
feat: move and add theorems on String

Move helper simp theorems on String.Pos from Mathlib4 to Std4.
Move String.utf8GetAux.inductionOn from Mathlib4 to Std4.
Add new helper simp theorems on String.Pos.

I removed @[simp] from lemmas that unfold Pos without applying some kind of extensionality rule first. I don't think we want to just unfold this abstraction everywhere.


text:
feat(server): adding WithSession option

This PR adds the WithSession server option, so it can be set when the router is being initialized.
This also moves the session package within the server one

@tatang26 Make sure we:

[ ] Update template
[ ] Update documentation (maybe?)

Sure @paganotoni, the template is already updated and we don't have session doc yet.
I can start to work on the session doc to send it in another PR, is that OK with you?

Sounds good. Thanks!

repo: leapkit/leapkit


text:
mac app will sometimes not start

This behavior was observed by many users. In some situations it seemed to be that the server was simply taking a very long time to start. In other situations it may never start.
Example 1
from @laurenlichtman

When opening the Mac App, the bird appears and after a short bit (<20 seconds?) it says "Could not start  Kolibri, please try again" and then I get the final could not start Kolibri page (Mac OS High Sierra 10.13.6)

logs:

kolibri - lauren.txt
kolibri-app - lauren.txt

Example 2
@khangmach  reported

Might need a 'restart' link on the "Could not start Kolibri"

after seeing this:

Example 3
@carinediaz reported

Kolibri won't start on Mac IOX v.10.11.2 (El Capitan)

Example 4
@aronasorman reported

Mac Installer: kolibri never starts

tail of my kolibri.txt:
INFO 2019-12-05 14:46:38,535 apps Running Kolibri with the following settings: kolibri.deployment.default.settings.base
INFO 2019-12-05 14:48:52,186 apps Running Kolibri with the following settings: kolibri.deployment.default.settings.base

My kolibri-app.txt:
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...
Error pinging Kolibri server: <urlopen error [Errno 61] Connection refused>
Kolibri server not yet started, checking again in one second...

ps aux says there's no kolibri process:
~/s/studio () > ps aux | grep kolibri
aron             54127   0.0  0.0  4278520    700 s008  S+    2:51PM   0:00.00 grep --color=auto kolibri
aron             53899   0.0  0.0  4268168    320 s003  S+    2:48PM   0:00.00 tail -f /Users/aron/.kolibri/logs/kolibri.txt

(these two are the tail process and the grep process)
Example 5
@lauradanforth reports

Kolibri Mac icon bounces for all of eternity before it says unable to open - Mojave v10.14.6

@khangmach We might want to flag this for a later discussion. The "Kolibri" in this dialog is intended to refer to the app itself, not the server. (The app is designed to automatically try to restart the server after a certain period of time, and this error message is after multiple restarts fail.) The idea was that people would see the app itself as "Kolibri", with the server just being an implementation detail, but maybe it is worth making a distinction. Not sure if this can be addressed in 0.1.0, but I do think it's worth a second look at how we present this in our app model in general, especially as we move towards having the app able to detect Kolibri servers on the network and load those.

While I haven't been able to reproduce this problem, I did notice that exceptions weren't getting written to the log files, so I've put in a fix for that. I'm hoping at the next bug bash (or before if we can have someone try the logging build earlier) we can see what errors are actually being thrown.

Mac app build to use: https://github.com/learningequality/kolibri/releases/tag/v0.13.0-beta5
@khangmach tested this build and reported the issue was fixed, and I'm not sure how to reproduce as of yet, so I guess as long as you don't see the problem we can mark this fixed.

great!

@kollivier @indirectlylit Flagging that I had the same issue as reported above with "kolibri-0.1.0-build16."

Whoops - just kidding :) Kevin showed me that I needed to shut down the server as I still had it running, and now it works.

authors: indirectlylit kollivier laurenlichtman

repo: learningequality/kolibri-installer-mac


text:
Added University of Lodz (@uni.lodz.pl)

Hopefully data-only is a branch for this type of changes.

Can you remake this request to master?

Filed PR pointing to master as #680

authors: lyzidiamond mateunho

repo: leereilly/swot


text:
change repo name

Based on previous experience, I would strongly suggest changing your repo's name to something like logcat-sublime. The problem with naming it with an extension that's used by Sublime (.tmLanguage, .tmTheme, etc.) is that some versions of Sublime may process the directory name, thinking it's a file name, and mess things up internally.
When I first started work on Neon, I named the repo Neon.tmTheme, and only later learned about the issues some users were having, so I changed the name to Neon-color-scheme (Github will still follow links to the old repo name, no problem), and in Package Control changed the name of the package (and hence the directory it's installed in) to Neon Color Scheme, which it's been ever since. If/when you ever submit this to Package Control (it's actually a very easy process, only taking a couple of days, max), you can name the package simply Logcat if you wish.

Thanks for the suggestion.
I intended to start a new repo for uploading to Package Control as I wanted to keep the log and screenshot away from it.
I'll keep this in mind when I start the work.

authors: MattDMo leesei


text:
[Bug]: hotham-simulator on Linux crashes on exit

What happened?
It looks like destruction of XrContext leads to hotham-simulator crashing on linux.
test_xr_context_smoke_test which is literally just the following:
    #[test]
    pub fn test_xr_context_smoke_test() {
        XrContext::new().unwrap();
    }

crashes on linux (AMD) in State::destroy when calling destroy_swapchain. Commenting out destroy_swapchain (and destroy_surface to avoid a vulkan validation error) makes things no longer crash.
Version
latest
In which Hotham component are you seeing the problem on?
Simulator
What VR System are you seeing the problem on?
Other
What OS are you seeing the problem on?
Linux
Relevant log output
Finished test [unoptimized + debuginfo] target(s) in 0.05s
     Running unittests (/home/jmgao/Projects/v3/hotham/target/debug/deps/hotham-009eadd7dd1fbec7)

running 1 test
WARNING: radv is not a conformant Vulkan implementation, testing use only.
[HOTHAM_SIMULATOR] Created physical device: 0x7f960001a2b0
[HOTHAM_SIMULATOR] Done! Device created: 0x7f9600712070
[HOTHAM_SIMULATOR] enumerate_view_configuration_views called with: 2
[HOTHAM_SIMULATOR] Creating XR Swapchain..
[HOTHAM_SIMULATOR] ..done.
[HOTHAM_SIMULATOR] Building windows swapchain..
[HOTHAM_SIMULATOR] Creating window with visible true..
WINDOW SCALE FACTOR, 1.0
[HOTHAM_SIMULATOR] ..done.
[HOTHAM_SIMULATOR] Creating surface..
[HOTHAM_SIMULATOR] ..done
[HOTHAM_SIMULATOR] About to create swapchain..
[HOTHAM_SIMULATOR] Created swapchain: 0x120000000012. Sending..
[HOTHAM_SIMULATOR] Received swapchain: 0x120000000012
[HOTHAM_SIMULATOR] Creating descriptor sets..
[HOTHAM_SIMULATOR] Created descriptor pool 0x190000000019
[HOTHAM_SIMULATOR] Allocating descriptor sets with layouts: [0x1a000000001a, 0x1a000000001a, 0x1a000000001a]
[HOTHAM_SIMULATOR] Creating render pass..
[HOTHAM_SIMULATOR] ..done!
[HOTHAM_SIMULATOR] Creating pipelines..
[HOTHAM_SIMULATOR] ..done!
[HOTHAM_SIMULATOR] ..done
[HOTHAM_SIMULATOR] Returning with Swapchain(19791209299986)
[HOTHAM_SIMULATOR] Create action set called with "input"
[HOTHAM_SIMULATOR] Created path 0x7f9600896680 for /user/hand/left
[HOTHAM_SIMULATOR] Created path 0x7f9600896680 for /user/hand/right
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/left/input/grip/pose
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/left/input/aim/pose
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/right/input/grip/pose
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/right/input/aim/pose
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/left/input/squeeze/value
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/left/input/trigger/value
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/left/output/haptic
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/right/input/squeeze/value
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/right/input/trigger/value
[HOTHAM_SIMULATOR] Created path 0x7f96008ab710 for /user/hand/right/output/haptic
[HOTHAM_SIMULATOR] Created path 0x7f96008ab0c0 for /interaction_profiles/oculus/touch_controller
[HOTHAM_SIMULATOR] Created left hand space: SpaceState { name: "Left Hand", position: "x: -0.2, y: 1.4, z: -0.5", orientation: "x: 0.707, y: 0, z: 0, w: 0.707" }, Space(11407146275288697293)
[HOTHAM_SIMULATOR] Created left hand space: SpaceState { name: "Left Hand", position: "x: -0.2, y: 1.4, z: -0.5", orientation: "x: 0.707, y: 0, z: 0, w: 0.707" }, Space(2508067510750580967)
[HOTHAM_SIMULATOR] Created right hand space: SpaceState { name: "Right Hand", position: "x: 0.2, y: 1.4, z: -0.5", orientation: "x: 0.707, y: 0, z: 0, w: 0.707" }, Space(9823019420125182543)
[HOTHAM_SIMULATOR] Created left hand space: SpaceState { name: "Left Hand", position: "x: -0.2, y: 1.4, z: -0.5", orientation: "x: 0.707, y: 0, z: 0, w: 0.707" }, Space(12203213533413683905)
[HOTHAM_SIMULATOR] Attach action sets called
[HOTHAM_SIMULATOR] Destroy called..
[HOTHAM_SIMULATOR] Closed called!
[HOTHAM_SIMULATOR] Closed called!
[HOTHAM_SIMULATOR] Closed called!
[HOTHAM_SIMULATOR] Closed called!
[HOTHAM_SIMULATOR] Closed called!
error: test failed, to rerun pass '-p hotham --lib'

Caused by:
  process didn't exit successfully: `/home/jmgao/Projects/v3/hotham/target/debug/deps/hotham-009eadd7dd1fbec7 'resources::xr_context::tests::test_xr_context_smoke_test'` (signal: 11, SIGSEGV: invalid memory reference)

Thanks so much for this @jmgao ❤

authors: jmgao kanerogers

repo: leetvr/hotham


text:
Ability to make blocks flammable in-world

BlockFire's setFireInfo method should be used.

Delaying until after the update to include mixins.

repo: legendblade/CraftingHarmonics


text:
Detecting when the custom lobby was activated

How would i go about detecting when a custom gamemode was entered in a diffrent mod, i only want a few mods to work in the custom gamemode.

You could make a C# event run when joining that custom room the original mod made, then in the other mod you sub to that event.

repo: legoandmars/Utilla


text:
🛑 VePhim API hf is down

In 0f44659, VePhim API hf (https://api.vephim.online/api/ping) was down:

HTTP code: 403
Response time: 87 ms

Resolved: VePhim API hf is back up in 83b1a34 after 5 minutes.


text:
An increase in acceptable ping.

G'day,
I often find myself unable to play on your servers with friends as I tend to have too high ping which results in me being kicked. My issue with this system is that the ping that is "too high" is often perfectly playable and does not affect me or others. I initially wanted to see the end of the enforcement of these kicks but I could see the likelihood of that occurring is quite low since it does have a solid reason for being there. Thus I would like to propose an increase of the acceptable ping levels so that someone with less than 175 ping is able to play. From my experience of both playing with ping around that levels and playing against people with that ping it is not going to affect the play-ability of the game. This would allow for someone like me to be able to still play with friends without the risk of having to move on to some sh*tty community server which will have more mods than gamebanana can host and would allow me to still play with friends. I may understand that a lot of (mostly) Americans who play tf2 seem to think that this is too high a ping but I as someone who plenty of times have been forced onto US servers can say that a ping of around 175 is not half bad to either play with or against. As such I must implore you to seek a mutual compromise that will allow Europeans to play on at least half of the US servers and yet still prevent those with insanely high ping (Like 200+) from ruining the experience of others.
Many thanks
PS. I do know this is not exactly a feature suggestion but more of a feature adjustment. If I posted this in the wrong place or if this is not the place for such suggestions of adjustments I apologise and I will swiftly move it else where. Also Please avoid dismissing this immediately and instead open up discussion regarding this, That way we can hopefully still work out a decent compromise here which suits both needs.

It’s not my decision to make. I completely agree with you. I have played with 80-120ms my whole life and have never had an issue, but some of the higher skilled friends of Dane with less than 20ms claim that a player with high ping really changes how the game is played. This is understandable because of how TF2 compensates for high ping and lag which often gives an unfair advantage to those with higher ping. (Most notably in hit scan classes like sniper)

To note: we initially  had a higher limit but it was requested to be brought down several times.

repo: leighmacdonald/uncletopia


text:
TypeError: _reactNative.Platform.select is not a function

Running a test on a component that uses Platform.select, and getting a test exception:
TypeError: _reactNative.Platform.select is not a function     at Object.<anonymous> (Fonts.js:20:33)     at Module._compile (module.js:409:26)
react-native-mock@0.2.3

since the fix has been merged, can you bump the version?

Yes, I shall try and do a deploy later today

authors: RealOrangeOne bhaskarmurthy evollu

repo: lelandrichardson/react-native-mock


text:
Update README.md

The demo code suggests placing windowHeight below header, which breaks the build when testing. The updated documentation places windowHeight above.

This PR addresses Issue #12 which documents why this change is necessary.


text:
Usage

Can it be applied to links with a particular class without using rel with dynamically sourced content in the tooltip? I am thinking something like clicking a link with a class 'define' which then opens the footnote with dynamically sourced content based on the text found in the define link:
JS:
$('.define').bigfoot({
content: $("h3:contains('"+$(this).text()+"')" ).next('p').text();
});

HTML:
Information

Information

Footnote copy

I understand the desire for this, but I feel like it's too far out from the core purpose of this tool. This particular tool is really for dropping onto a typical blog post and having it just make things better, not a generalizable utility for tooltips.

Thanks Chris,
No worries. I managed to get it working how I wanted using your API. I noticed one mistake in your api for buttonMarkup (although the functional JS is correct):

 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>
 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>
 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>

should be:

 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>
 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>
 <svg class="bigfoot-footnote__button__circle" viewbox="0 0 6 6" preserveAspectRatio="xMinYMin"><circle r="3" cx="3" cy="3" fill="white"></circle></svg>

Best regards,
Keiron
Keiron Roberts
e: keiron@jerram.co.uk mailto:keiron@jerram.co.uk
m: +44 (0)7740 190 913
t: +44 (0)845 003 7246
skype: keironroberts
jerram.com http://www.jerram.com/
http://www.linkedin.com/company/jerram  http://www.linkedin.com/company/jerram http://twitter.com/JerramCulture/
http://twitter.com/JerramCulture/
/culture  http://www.jerram.co.uk/culture/category/company| /keiron http://www.jerram.co.uk/culture/keiron
Jerram Marketing Ltd. | Atlantic House | Imperial Way | Reading | RG2 0TD
Disclaimer
The information in this e-mail and any attached files is confidential. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose its contents to any other person, use it for any purpose, or store or copy the information in any medium. The views of the author may not necessarily reflect those of the company.
Please note that neither Jerram Marketing Limited nor the sender accepts any responsibility for viruses and it is your responsibility to scan this message and any attachments.
Jerram Marketing Limited | Registered in England & Wales No. 5932754 | Registered office: 5 South Parade, Summertown, Oxford. OX2 7JL

On 31 Mar 2016, at 12:56, Chris Sauvé notifications@github.com wrote:
Closed #52 https://github.com/lemonmade/bigfoot/issues/52.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/lemonmade/bigfoot/issues/52#event-609679413

repo: lemonmade/bigfoot


text:
Create Articles “what-types-of-timber-do-termites-eat-protect-your-home-from-termite-damage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
040b9bdbbe21496f69d751572c21bfb040189f40

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/676eebfc3199830008a97e92

repo: lemotdesign/one-click-hugo-cms


text:
Registering from PHP script

I want to make people can login from web and register from web which I have tried to make one, but when you register from web you can not login with the one which you registered from web.
Here is my code :
function TempoRegisterForNewPlugin($username,$password){
        require_once 'uuid.php';
        $uuid = constructOfflinePlayerUuid($username);
        $HashPassword = password_hash($password,PASSWORD_BCRYPT);
        $date = date("Y-m-d H:i:s");
        $sql = "INSERT INTO ls_players (unique_user_id,last_name,ip_address,password,hashing_algorithm,registration_date,uuid_mode,optlock)
        VALUES ('".$uuid."','".$username."','".'127.0.0.1'."','".$HashPassword."','".'7'."','".$date."','O','1')";
        $query = connection_msql($sql,'bbf');
        return 'TRUE';
    }

I quite sure that my password constructor is wrong, Please help me about this I want to integrate these with my own website.
P.S. I used https://gist.github.com/games647/2b6a00a8fc21fd3b88375f03c9e2e603 to make uuid.

This issues is fixed !!

This issues is fixed !!

@franceja Im glad you figured it out


text:
接続中に突然読み上げなくなる

原因不明

https://github.com/ooliver1/mafic　に変更？

generating_guildsから削除されなかったせい？

repo: lenlino/DiscordVoiceVox


text:
[Task] BorderRadius@radiusType in BorderRadius link to home page

What should be done
The BorderRadius@radiusType try to open new page instead of linking to anchor.
I think the @ must be change to #

This have change in the new doc, but there is another problem. The radiusType title id starts with a # that have to be removed.

authors: shiipou taorepoara

repo: lenra-io/docs


text:
random UI "lockup" in 4.2.0-rc.1

Dashboard randomly becomes unresponsive to user input. I was experiencing this on mac for dev builds of https://github.com/lensapp/lens/pull/2355, and possibly master. I eventually experienced it on Windows for released version 4.2.0-rc.1 as seen in the video. The app menus are responsive so it may be a problem with renderer process?
https://user-images.githubusercontent.com/40840436/111848537-a8721500-88e1-11eb-8f03-c014f1d50e15.mov

haven't experienced it in a while, will open a new issue if I see it again

repo: lensapp/lens


text:
can't launch lens within ubuntu 18.04

Describe the bug
can't launch lens within ubuntu 18.04
To Reproduce
Steps to reproduce the behavior:

Go to '...'
have  install

snap list
Name          Version      Rev   Tracking       Publisher   Notes
core          16-2.45.3.1  9804  latest/stable  canonical✓  core
core18        20200724     x1    -              -           base
kontena-lens  3.5.3        x1    -              -           classic

Click on '....'
Scroll down to '....'
See error
not see any issue, but the UI can't see
cand  init 5
I can see the ico in the start menu.  but when click the lens ico,  it doesn't show the UI

Expected behavior
show the UI
and
Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Lens Version:
OS: [e.g. OSX]
Installation method (e.g. snap or AppImage in Linux):

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Your logs go here...

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
your kubeconfig here

Additional context
Add any other context about the problem here.

I am unable to reproduce this, if this is still an issue. Please open a new issue.


text:
The zip can't be unzipped on MacOS

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
wget https://github.com/lensapp/lens/releases/download/v3.6.0-rc.1/Lens-3.6.0-rc.1-mac.zip
unzip Lens-3.6.0-rc.1-mac.zip

Archive:  Lens-3.6.0-rc.1-mac.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of Lens-3.6.0-rc.1-mac.zip or
        Lens-3.6.0-rc.1-mac.zip.zip, and cannot find Lens-3.6.0-rc.1-mac.zip.ZIP, period.

Funnily enough - tar -xvf does work, so I wonder if this is either an invalid archive or actually a tar.gz with the wrong extension?
Expected behavior
A clear and concise description of what you expected to happen.
A zip to be portable

ref: https://github.com/alexellis/arkade/issues/207

zip file is only used for upgrade purposes internally and it's not meant to be unzipped by users.

authors: alexellis nevalla


text:
Sync kubeconfigs from catalog

Adding Sync kubeconfig(s) item in catalog blue add button using the code from https://github.com/lensapp/lens/pull/3234
Added success notification with a link to Kubernetes section inside Preferences.
Refactored Preferences page and child components to use <Route/> for navigation. This is needed for option 2 to work.

https://user-images.githubusercontent.com/9607060/128371453-c613699c-d18c-4838-86cf-357f6d0d9e30.mov
Should be merged replacing #3234
Fixes #3232

Fixed Telemetry and Extensions links rendering regarding of available extensions.


text:
Fix infinite render loop in release details

Fix infinite render loop in release details by replacing stateful, UI-triggered releaseStore with reactive async computed
Significant bit here is usage of asyncComputed which permits a reactive pattern superior to stateful stores.
We propose to start considering autorun and reaction as new red-flag-trigger-words as they are very likely to implement a stateful anti-pattern where ever used.
Closes #4704

Example from codebase for why side-effects on render are universally bad-bad.
Current non-ideal behaviour

release.tsx is rendered (uses releaseStore.items which is not currently populated)
Renders ItemListLayout and passes releaseStore as a prop
ItemListLayout calls releaseStore.loadItems() on mount. This is the criminal side-effect to populate the items.
releaseStore.loadItems() sets releaseStore.items
release.tsx is re-rendered -> back to 1 = infinite loop

Note: The reason why our team has been able to cope so far is very brittle stale UI state for which there is lot of hacky code (e.g. local duplicated state in component, autorun/reactions to update state, stateful instead of reactive solutions, etc.)
Proposed ideal behaviour

release.tsx wants to be rendered
release.tsx injects releases as asyncComputed
observation of said asyncComputed triggers population of releases
release.tsx is rendered without releases but instead with observable knowledge of asyncComputed being pending
data for asyncComputed arrives and release.tsx observes the change and re-renders

Proposal:

We should have no requirement for anything but functional components in the future
We should have very little use for hooks
New red-flag-trigger words: reaction, autorun, init (outside of injectable.)

The infinite loop is gone but there's something else wrong:
https://user-images.githubusercontent.com/40840436/150235593-e7bb916c-7120-4e49-badf-99f39e66e965.mov
I let it spin for a long time. It did not load the release details. Performing the same actions on the 5.3.4 (prerelease) version worked fine.
If I then close and reopen the details page, the details do appear after a moment:
https://user-images.githubusercontent.com/40840436/150235819-90d36d55-ac47-444c-8a17-4660490fafbf.mov

Actually. I left Lens running at the details page (after the second video above) and after about 15 minutes it started spinning again (blank page with spinner)

Nice catch @jim-docker. Reason for this is same old: side effects on rendering and autoruns to get data. Latest commits made ReleaseDetails have data as dependency to get rid of this problem.

Much better, but it still reloads the details page after leaving it for ~15 minutes. I see the spinner for a second first then the details. Maybe this pre-existed? Anyway maybe it is not that serious, it could be addressed in another PR.
An observation, in general it seems to take longer to load the releases and details (I see the spinner for longer) than on 5.3.3

Much better, but it still reloads the details page after leaving it for ~15 minutes. I see the spinner for a second first then the details. Maybe this pre-existed? Anyway maybe it is not that serious, it could be addressed in another PR.

It seems that there is somewhere else that updates namespaces after 15 minutes. Which then causes releases to be refreshed. It has been there before, not sure if stale UI state has prevented re-rendering though. However, I would say it's something to figure out in upcoming PR's.

An observation, in general it seems to take longer to load the releases and details (I see the spinner for longer) than on 5.3.3

Hmm, I made some research on this and it looks that await getRelease(..) is just taking long. So no changes to there.
One thing that has changed, is that getReleaseValues() is called only when really needed.
Before it was called simultaneously with getReleaseDetails but now it's called after. That being said, it won't affect rendering time because Spinner is only present when releaseDetails has not arrived yet.

authors: jansav jim-docker


text:
Fixes error when pulling lenses docker image from private registry #14

Fixes issue: #14
Re-positioned incorrectly placed imagePullSecrets field in deployment.yaml

any luck to have this shipped ? I'm facing the same issue

any luck to have this shipped ? I'm facing the same issue

@rotarur
Since this was not merged, we found a roundabout fix. You can specify the imagePullSecrets field in the ServiceAccount yaml definition like below.
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: lenses
imagePullSecrets:
  - name: secret-name

This should do the trick.

authors: rotarur vaidx

repo: lensesio/lenses-helm-charts


text:
English translation for osal.h

with kind regards from Zano Project

I rewrote history by f918d894084aa4728d291de4a73c9aa326a86cf0 for remove trailing spaces.
Please add into your git-config:
[core]
        whitespace = trailing-space,space-before-tab
[apply]
        whitespace = fix
        ignorewhitespace = change

authors: leo-yuriev sowle

repo: leo-yuriev/libmdbx


text:
Please help me, run gulp watch exception

As shown in the picture, I don't know how to solve it. I have switched node to version 10

It’s really hard to run this project and there are many problems


text:
Update sbt-stryker4s to 0.15.2

About this PR
📦 Updates io.stryker-mutator:sbt-stryker4s from 0.14.3 to 0.15.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.stryker-mutator", artifactId = "sbt-stryker4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.stryker-mutator", artifactId = "sbt-stryker4s" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-minor, version-scheme:semver-spec, commit-count:1

Superseded by #279.

repo: leobenkel/Soteria


text:
Add support for HHJ60-PRO

Mid of last year PowMr released the HHJ60-PRO.
Can it be supported as well?
Refs:

https://powmr.com/products/mppt-solar-charge-controller-for-parallel-60amp-12v-24v-36v-48v

Sorry, but I don't have it.

@ss89 Hello! you can try to do something similar as this video explains.
https://www.youtube.com/watch?v=hQCPfaHJI6o

@ss89 Hello! you can try to do something similar as this video explains. If your MPPT has RS232 output https://www.youtube.com/watch?v=hQCPfaHJI6o

Is the code somewhere on github? I don't feel like copying the code byte by byte

@ss89 yes, you can check this repo.  If anything,
https://github.com/W1zzard/solar-mon
I am not the author of this video and repo.

authors: leodesigner ss89 vpritulin


text:
compilation on linux

Hello
I first try the code with a great interest, (but with the given precompiled mex) but I need now to re-compiler them in order to use a more powerfull graphic card
I am working on a linux ubuntu 16.04.
I install the l_ipp_2017.2.174
the cmake fonction  always tel me :
-- MATLAB_ROOT: /export/data/applications/matlab/upmc/R2016b/
-- Matlab mex will be used
-- IPP_ROOT (IPP 6): /opt/intel/ipp/
-- Could NOT find IPP (missing:  IPP_LIBRARIES)
...
so no compilation is available
I try to specify a bash varaible IPP_LIBRARIES, but it does not changes
Any idea ?
I am not expert in cmake files, but I had a quick look to the file
./cmake/FindIPP.cmake you search for instance for ippsemergedem64t, but I do not find such a file in /opt/intel
Many thanks
Romain

The most recent ipp 2017 version might have different structure for libraries. To compile with this ipp version, you need to change FindIPP.cmake file and substitute ipps_l, ippvm_l and ippcore_l with their equivalent libraries in 2017 version.

Hello
Yes I finally succeed to make it compile. I indeed had to change the FindIPP.cmake. The library have the same name without the _l. (I also had to change the IF ELESE ENDIF test condition

   IF ($ENV{IPP_ROOT} MATCHES .*composer.*)       #IPP 7.X

should be

   IF ($ENV{IPP_ROOT} MATCHES .*compiler.*)    #IPP 7.X

Chears
Romain

I had the same problem. Unfortunately, the proposed change probably breaks compatibility with IPP 7.X. On my system (Ubuntu 14.04), IPP 2017 installs in /opt/intel/ipp. Using this as IPP_ROOT precludes using the directory name as version check. The current workaround is to use the full path which /opt/intel/ipp points to: /opt/intel/compilers_and_libraries_2017.2.174/linux/ipp/ and then search for "compilers", as suggested by @romainVala or for "2017".
There was a second issue I encountered, related to VTK. I do not have VTK on my system and tried to build without. As a result, ${VTK_USE_FILE} is empty. This creates an error with my version of cmake (2.8.12.2), when calling include(${VTK_USE_FILE}) at the top of renderer/CMakeLists.txt:
CMake Error at renderer/CMakeLists.txt:2 (include):
  include called with wrong number of arguments.  Include only takes one
  file.

My workaround is to put the include statement after the if (VTK_FOUND):
if (VTK_FOUND)
    include(${VTK_USE_FILE})
    add_subdirectory(DoKSpaceTrajVTK)
else (VTK_FOUND)
    MESSAGE("VTK not found. MRiLab DoKSpaceTrajVTK will not be compiled.")
endif (VTK_FOUND)

This seems to work on my machine, however, I am not familiar with CMake, and have no clue if this is legal in case there is a VTK installation, or if includes must happen at the top level of each file.

I installed MRiLab on a Windows computer yesterday, and the difficulties with the CMake files are essentially the same. Other than that, the current version of IPP (2017 Update 3) works fine with this version of MRiLab.

Hi all,
Unfortunately I am also unable to get MRiLab compile on linux. This is the cmake error message I get:
-- MATLAB_ROOT: /usr/local/MATLAB/R2016b/
-- Matlab mex will be used
-- IPP_ROOT (IPP 6): /opt/intel/ipp
-- Could NOT find IPP (missing:  IPP_LIBRARIES)
I have tried the suggested fixes to no avail. I checked the library files and in my version of IPP the names are not ipps_l etc but libipps instead. I changed the library file names to that too and that did not work. Also, I too could not find ippsemergedem64t.
This seems to be a pretty common problem so would it be possible for the author update the code to use the libraries from IPP (2017 Update 3) which seems to be the version that most people have access to right now?

Hello
if it can help, here are the diff I made to FindIPP.cmake
git diff Lib/src/cmake/FindIPP.cmake
diff --git a/Lib/src/cmake/FindIPP.cmake b/Lib/src/cmake/FindIPP.cmake
index 5494feb..1b30373 100644
--- a/Lib/src/cmake/FindIPP.cmake
+++ b/Lib/src/cmake/FindIPP.cmake
@@ -88,7 +88,7 @@ ELSE( "$ENV{IPP_ROOT}" STREQUAL "" )
 ELSE(WIN32)

   IF ($ENV{IPP_ROOT} MATCHES .*composer.*)       #IPP 7.X

   IF ($ENV{IPP_ROOT} MATCHES .*compiler.*)    #IPP 7.X

       FIND_PATH(IPP_INCLUDE_DIR ipp.h
           PATHS $ENV{IPP_ROOT}/include $ENV{IPP_ROOT}/../include /usr/include /usr/local/include

@@ -97,15 +97,15 @@ ELSE( "$ENV{IPP_ROOT}" STREQUAL "" )
         SET(IPP_LIB_PATH $ENV{IPP_ROOT}/lib/intel64/)
         FIND_LIBRARY( IPP_S_LIBRARY

                     NAMES "ipps_l"

                     NAMES "ipps"
                     PATHS ${IPP_LIB_PATH})

       FIND_LIBRARY( IPP_VM_LIBRARY

                     NAMES "ippvm_l"

                     NAMES "ippvm"
                     PATHS ${IPP_LIB_PATH})

       FIND_LIBRARY( IPP_CORE_LIBRARY

                     NAMES "ippcore_l"

                     NAMES "ippcore"
                     PATHS ${IPP_LIB_PATH})

       SET(IPP_LIBRARIES

@@ -115,7 +115,7 @@ ELSE( "$ENV{IPP_ROOT}" STREQUAL "" )
)
MESSAGE (STATUS "IPP_ROOT (IPP 7): $ENV{IPP_ROOT}")

   ELSE ($ENV{IPP_ROOT} MATCHES .*composer.*)    #IPP 6.X

   ELSE ($ENV{IPP_ROOT} MATCHES .*compiler.*)    #IPP 6.X

       FIND_PATH(IPP_INCLUDE_DIR ipp.h
               PATHS $ENV{IPP_ROOT}/include $ENV{IPP_ROOT}/../include /usr/include /usr/local/include

@@ -159,7 +159,7 @@ ELSE( "$ENV{IPP_ROOT}" STREQUAL "" )
)
         MESSAGE (STATUS "IPP_ROOT (IPP 6): $ENV{IPP_ROOT}")

   ENDIF ($ENV{IPP_ROOT} MATCHES .*composer.*)

   ENDIF ($ENV{IPP_ROOT} MATCHES .*compiler.*)

ENDIF(WIN32)

@@ -170,4 +170,4 @@ IF(IPP_INCLUDE_DIR AND IPP_LIBRARIES)
ENDIF(IPP_INCLUDE_DIR AND IPP_LIBRARIES)
INCLUDE( "FindPackageHandleStandardArgs" )
-FIND_PACKAGE_HANDLE_STANDARD_ARGS("IPP" DEFAULT_MSG IPP_LIBRARIES IPP_INCLUDE_DIR)
\ No newline at end of file
+FIND_PACKAGE_HANDLE_STANDARD_ARGS("IPP" DEFAULT_MSG IPP_LIBRARIES IPP_INCLUDE_DIR)

authors: JanWP ksinghrao leoliuf romainVala

repo: leoliuf/MRiLab


text:
Support for loading additional data from disk

As discussed in #17, depends on changes introduced in #20.
@Jamerrone this is the PR we talked about, you can try it out if you want. The relevant newly added flag is --disk, which takes a directory structure as discussed in #17 to load additional files from.
This PR is not complete yet, I would still like to add the following before merging:

[ ] Specifying the name of the scantlation group for chapters read from disk
[ ] Specifying whether on-disk chapters should be preferred to MangaDex chapters if both are present

@leotaku Thanks for the PR, I will test it out this weekend. Just a question, if I understand your comment correctly the disk files are actually only used to fill in the missing chapters, volumes correct? So, I still need to provide a MangaDex manga ID. And if the chapter already exists in MangaDex, will it replace it with the disk files or will it use the files from MangaDex?

@Jamerrone Correct, you still need to provide a MangaDex ID, which is used for metadata and chapters that are not loaded from disk. With this PR, there is also currently no hard guarantee whether the chapter from disk or MangaDex is selected if both are present. However I plan to implement this, and the ability to specify your preference using a switch, as mentioned in the initial PR message.

Sorry, it took me a while.
It seems to be working quite well. But, for my personal use-cases, I will wait for Specifying whether on-disk chapters should be preferred to MangaDex chapters if both are present. The thing this, disk files are quite powerful, I can create volumes that do not yet exist on mangadex (sometimes they have a bunch of chapters without a volume), I can replace the cover with a smaller file (it's often 1mb+), I can remove unnecessary pages from groups and I can use higher res files if I find them.
But again, I am really glad that you are working on this, I really appreciate it.

Hey @Jamerrone, sorry for keeping you waiting so long! With the latest commit, chapters and covers read from the file system via --disk should now always be preferred to ones fetched from MangaDex.
I'm still not quite happy with the code. It works fine, but isn't very well-structured or "clean". So for now, if you want to use the disk feature, please continue building from this branch as it may be some time before I rework and merge it.

Hey @leotaku thanks for the update! This helps me a lot, and I am now able to complete my digital collection, thanks a bunch 🎉 .

authors: Jamerrone leotaku

repo: leotaku/kojirou


text:
use HIGH_CHI2 uniformly

Change Description

[ ] My PR includes a link to the issue that I am addressing

Solution Description

Code Quality

[ ] I have read the Contribution Guide
[ ] My code follows the code style of this project
[ ] My code builds (or compiles) cleanly without any errors or warnings
[ ] My code contains relevant comments and necessary documentation

Project-Specific Pull Request Checklists

Bug Fix Checklist

[ ] My fix includes a new test that breaks as a result of the bug (if possible)
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

New Feature Checklist

[ ] I have added or updated the docstrings associated with my feature using the NumPy docstring format
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover my new feature
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

Documentation Change Checklist

[ ] Any updated docstrings use the NumPy docstring format

Build/CI Change Checklist

[ ] If required or optional dependencies have changed (including version numbers), I have updated the README to reflect this
[ ] If this is a new CI setup, I have added the associated badge to the README

Other Change Checklist

[ ] Any new or updated docstrings use the NumPy docstring format.
[ ] I have updated the tutorial to highlight my new feature (if appropriate)
[ ] I have added unit/End-to-End (E2E) test cases to cover any changes
[ ] My change includes a breaking change

[ ] My change includes backwards compatibility and deprecation warnings (if possible)

This is what I get from searching for 1.e9
Are these not to be replaced?
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/PDF.cpp#L163
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/photoz_lib.cpp#L1476
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/photoz_lib.cpp#L1343
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/SED.cpp#L55
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/onesource.cpp#L400
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/onesource.cpp#L376
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/SEDLib.h#L306
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/SED.h#L41
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/onesource.h#L93
https://github.com/lephare-photoz/lephare/blob/98e06370dfd58b93b59c8fc19959365b662cc84a/src/lib/onesource.h#L88

thx I missed these because I was not looking for the right string. Let me check these

So all of them are not related to CHI2, I only changed the ones that were

authors: johannct raphaelshirley

repo: lephare-photoz/lephare


text:
can't get .with_state() to accept anything other than LeptosOptions

I am trying to modify a start-axum-workspace project to use Postgres, so I need to pass a connection pool around. I tried to follow the Axum Substate technique (as demonstrated in the session_auth_axum example) but I always get this error:
error[E0308]: mismatched types
   --> crates/server/src/main.rs:39:21
    |
39  |         .with_state(state);
    |          ---------- ^^^^^ expected `LeptosOptions`, found `AppState`
    |          |
    |          arguments to this method are incorrect

I added a server/state.rs:
use axum::extract::FromRef;
use db::Pool;
use leptos::LeptosOptions;

// Take advantage of Axum;s Substate feature by deriving FromRef.
// Leptos requires you to have LeptosOptions in your State struct
// for the Leptos route handlers; this is the only way to have more
// than one item in Axum's State.
#[derive(FromRef, Debug, Clone)]
pub struct AppState {
    pub leptos_options: LeptosOptions,
    pub pool: Pool,
}

and modified server/main.rs:
use app::*;
use axum::Router;
use db::*;
use fileserv::file_and_error_handler;
use leptos::*;
use leptos_axum::{generate_route_list, LeptosRoutes};

pub mod fileserv;
pub mod state;
use crate::state::AppState;

#[tokio::main]
async fn main() {
    simple_logger::init_with_level(log::Level::Debug).expect("couldn't initialize logging");

    // Setting get_configuration(None) means we'll be using cargo-leptos's env values
    // For deployment these variables are:
    // <https://github.com/leptos-rs/start-axum#executing-a-server-on-a-remote-machine-without-the-toolchain>
    // Alternately a file can be specified such as Some("Cargo.toml")
    // The file would need to be included with the executable when moved to deployment
    let conf = get_configuration(None).await.unwrap();
    let leptos_options = conf.leptos_options;
    let addr = leptos_options.site_addr;
    let routes = generate_route_list(App);

    let pool = create_pool(env!("DATABASE_URL"));

    let state = AppState {
        leptos_options,
        pool: pool.clone(),
    };

    // build our application with a route
    let app = Router::new()
        .leptos_routes(&leptos_options, routes, App)
        .fallback(file_and_error_handler)
        // .with_state(leptos_options)
        // .with_state(pool);
        .with_state(state);

    // run our app with hyper
    // `axum::Server` is a re-export of `hyper::Server`
    log::info!("listening on http://{}", &addr);
    let listener = tokio::net::TcpListener::bind(addr).await.unwrap();
    axum::serve(listener, app.into_make_service())
        .await
        .unwrap();
}

and modified server/fileserv.js:
use app::App;
use axum::response::Response as AxumResponse;
use axum::{
    body::Body,
    debug_handler,
    extract::State,
    http::{Request, Response, StatusCode, Uri},
    response::IntoResponse,
};
use leptos::*;
use tower::ServiceExt;
use tower_http::services::ServeDir;

#[debug_handler]
pub async fn file_and_error_handler(
    uri: Uri,
    // State(state): State<AppState>,
    State(options): State<LeptosOptions>,
    req: Request<Body>,
) -> AxumResponse {
    let root = options.site_root.clone();
    let res = get_static_file(uri.clone(), &root).await.unwrap();

    if res.status() == StatusCode::OK {
        res.into_response()
    } else {
        let handler =
            leptos_axum::render_app_to_stream(options.to_owned(), move || view! { <App/> });
        handler(req).await.into_response()
    }
}

async fn get_static_file(uri: Uri, root: &str) -> Result<Response<Body>, (StatusCode, String)> {
    let req = Request::builder()
        .uri(uri.clone())
        .body(Body::empty())
        .unwrap();
    // `ServeDir` implements `tower::Service` so we can call it with `tower::ServiceExt::oneshot`
    // This path is relative to the cargo root
    match ServeDir::new(root).oneshot(req).await {
        Ok(res) => Ok(res.map(Body::new)),
        Err(err) => Err((
            StatusCode::INTERNAL_SERVER_ERROR,
            format!("Something went wrong: {err}"),
        )),
    }
}

I also tried making file_and_error_handler() take State(state): State<AppState> and got a different error:
error[E0277]: the trait bound `fn(Uri, State<AppState>, axum::http::Request<axum::body::Body>) -> impl std::future::Future<Output = axum::http::Response<axum::body::Body>> {fileserv::file_and_error_handler}: Handler<_, LeptosOptions>` is not satisfied
   --> crates/server/src/main.rs:36:19
    |
36  |         .fallback(file_and_error_handler)
    |          -------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, LeptosOptions>` is not implemented for fn item `fn(Uri, State<AppState>, axum::http::Request<axum::body::Body>) -> impl std::future::Future<Output = axum::http::Response<axum::body::Body>> {fileserv::file_and_error_handler}`
    |          |
    |          required by a bound introduced by this call
    |
    = note: Consider using `#[axum::debug_handler]` to improve the error message

I'm sure I'm missing something terribly obvious...any clue gratefully received!
(I am following rustonnails.com, but swapping out Dioxus for Leptos.)

In server/main.rs I changed:
        .leptos_routes(&leptos_options, routes, App)

to
        .leptos_routes(&state, routes, App)

and that seems to have fixeded it. I tihnk i grasp why, but I lack the rust words to explain it ;)

repo: leptos-rs/start-axum-workspace

license: Unlicense


text:
Feature request: Radar

I think that a radar overlay, line-style like kapps sure will be nice and very useful. Thank you!

Are you looking for something that provides more information than just whether a car is to the left/right (like the spotter?).  Left/right seems easy enough to do, but seems like apps like kapps also show you how far to the front/back a car to the side is. After a first glance, I'm not sure how to get that information out of iRacing...

I was thinking in something that shos how far is the car at the side, maybe with some levels if its more easy than the continous like kapps. Also I dont know how to get that information too, but I will check in iRacing forums or support.

I think that maybe is possible to use: https://github.com/kutu/pyirsdk

authors: borsukulam lespalt

repo: lespalt/iRon


text:
MGET sort of thing for Redis Hashes

Discussed in https://github.com/lettuce-io/lettuce-core/discussions/2489

Originally posted by arun-j98 August 19, 2023
Hey, just wanted to ask like we have mget to get multiples keys-value pairs at once. Do we have something similar for getting redis hashes? UseCase: we have stored a multi level map {k1 : {f1: v1, f2, v2},  k2 : {f1: v1, f2: v2}} as redis hash. I want to pass k1, k2 as the list of keys and want to get the full data  for k1, k2 ==> {k1 : {f1: v1, f2, v2},  k2 : {f1: v1, f2: v2}}. I know redis-cli doesn't support mget sort of thing for hashes, but like does lettuce on its side might do some pipelining or something.
Currently, we are doing this...we have a list of keys [k1, k2 ... kn] and for each key we are making a redis call. if the list is large then latencies are increasing which is obvious.

@mp911de Please can you help

This probably doesn't belong as any sort of Lettuce feature as it sounds like you are using a custom data structure.  Lettuce already pipelines everything it can; consider if a lua script might provide a further boost.

We have a Key : Fields : Data
We can use hget to get a particular key: field combination. hmget to get key : fields combination say k:f1, k:f2, k:f3 and hgetall to get all. Now given a list of keys, can get data for those keys all in one go? One go as in lettuce can make a connection and then get the data for these keys. Just like it is doing for mget(keys) without giving Cross slot error.

HMGET operates on a single hash key. If you want to fetch HMGET from many hashes, then you need to issue these commands yourself.

repo: lettuce-io/lettuce-core


text:
feat(actions): add callback to async actions

simplify async code

Fixes: #906, #766

Hi Lewis, for future versions, wouldn't it make sense to pass just a single opts table to each action function.
Eg. pass:
{ cb = my_func }

instead of having to do this
  gitsigns.stage_hunk(nil, nil, function()
    print("Commit only the hunk at cursor")
    vim.cmd("Neogit commit")
  end)
```.

My apologies if I am not up to date with all the ongoing discussions.


text:
Roadmap

[x] Batch queries (#32)
[x] Documentation (#46)
[x] Compression (#58)
[x] Clustering (#65)
[x] Retry strategies (#77)
[ ] Authorization
[ ] SSL support
[ ] Event server
[ ] User-defined types (#67)
[ ] Tracing

Hey @whatyouhide when do you think Authorization and SSL support will be released?

Hey @sashaafm, there is no specific date when Authorization and SSL support will be added, hopefully the work will start next week.

Authentication was just released in v0.7.0. 🎉

Has encryption been implemented yet? Thanks

@sashaafm I have it about 80% finished.

@lexmag any updates on SSL?

@JoaoVasques for SSL updates follow #131.

Closing in favour of opening #160, #161, #162.

authors: JoaoVasques lexmag sashaafm whatyouhide

repo: lexhide/xandra

license: isc


text:
New release for LexikMaintenanceBundle

Hello,
As I don't want to use dev-master in our project @wallabag, is that possible to tag a new release with sf3 compatibility?

Fixed, thank you @cedric-g ! https://github.com/lexik/LexikMaintenanceBundle/releases/tag/v2.1.0

repo: lexik/LexikMaintenanceBundle


text:
findOne 中的锁阻塞了改类实例的其它同步方法

换个锁🔒

Duplicate of #17


text:
[DO NOT MERGE]

To compare list of files with @petr-zededa 's PR.

I also do vendoring of newlog, which one depends on pillar

authors: eriknordmark giggsoff

repo: lf-edge/eve


text:
ROS migration guide

This is the first draft of the ROS migration guide.
However, it is incomplete.
To-Do:

[ ] Fix the ld error mentioned below
[ ] Write the section titled "Step 2: Take over the communication of the node"

Following Step 1 of the guide will yield the following error:
/usr/bin/ld: CMakeFiles/Main_receiver.dir/Main_receiver.cpp.o: in function `receiverreaction_function_0(void*)':
Main_receiver.cpp:(.text+0xcc5c): undefined reference to `SubscriberNode::SubscriberNode(rclcpp::NodeOptions)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/Main_receiver.dir/build.make:287: Main_receiver] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/Main_receiver.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
[100%] Linking CXX executable Main_sender
/usr/bin/ld: CMakeFiles/Main_sender.dir/Main_sender.cpp.o: in function `senderreaction_function_0(void*)':
Main_sender.cpp:(.text+0xcbf4): undefined reference to `PublisherNode::PublisherNode(rclcpp::NodeOptions)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/Main_sender.dir/build.make:287: Main_sender] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/Main_sender.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Compiled binary is in /home/soroush/lf-ros-demo/lf-project/bin
lfc: error:  failed with error code 2
 --> (unknown file):null:1 -  failed with error code 2

lfc: fatal error: Aborting due to previous error

I think the ld error is due to the fact that the example used in the guide comes pre-built in ROS 2 and there is some sort of a clash happening at linking time. One solution could be to find another example to use. The criteria is that the example should be simple enough to understand and accessible with a permissive license.

repo: lf-lang/website-lingua-franca


text:
updated README

Continued building the product section.

Happy with additions made.


text:
Copy the dependency spreadsheet to the report server

Also include the link in the printlinks command (included in the emailing.py file)
Also add the spdx json file as a link

Resolved with PR #135

repo: lfscanning/scaffold


text:
[booking] Réservation de créneau impossible avec plusieurs abonnements

Impossible de réserver quand on a plusieurs abonnements valables

Problème présent que sur mobile

Je n'ai pas testé sur mobile, testé sur PC avec Chrome

En version 53.0 pc, pas de problème.
En version 53.0 mobile, j'ai le problème.
Tu peux me dire si la console remonte des infos ?
Sinon, je changerai le processus de sélection de l'abonnement.

C'est ok sur pc, effectivement j'ai le problème sur mobile.
Comment voit on la version déployée ?

/api/version pour voir la version déployée

authors: guillaumecolin lgangloff


text:
🛑 INTRANET is down

In 4f697a7, INTRANET (https://intranet.samsa.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: INTRANET is back up in 40cc2a8.

repo: lgimenezdev/samsanet


text:
🛑 INTERNET CLARO is down

In 8bf723f, INTERNET CLARO (claro.samsa.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: INTERNET CLARO is back up in b85c148 after 6 minutes.


text:
不能切换数据库

虽然可以指定dbpath初始化数据库，但是看SDK里面，切换时，扩展还是会调用到 getUsingLKDBHelper，这里面的初始化指定了DB名为 LKDB.db.   貌似不改代码是无法使用切换的数据库了？

不是 ， 每个 Model Class 都重载 getUsingLKDBHelper ， 或者 hook 这个方法吧


text:
license question

Hey you adapted work from a GNU GPL and put an MIT license on it. This isnt compatible as i understand it:
http://stackoverflow.com/questions/3902754/mit-vs-gpl-license
Can you elaborate?

Thank you for raising this. When I released this code in early 2014, there was no visible license on the original work [1] or the website [2] like there is now. Given the purpose of the blocks website is to give example code for people learning d3.js, I thought it to be under public domain (I realise now this may have been a mistake).
From my memory and looking at older versions of the page and repository, it wasn't marked as GPL like it is today and this seems to be a retrospective addition (as of Feb 9, 2016 [4]). I believe the author may be within his rights to do this given there was no original license (an odd situation given it was clearly provided as example code).
I'm not entirely sure what the resolution is here. I could probably change the license to GPL, but personally I am not happy with that license.
@mbostock can you comment? Given the circumstance described, are you able to clear this work to be allowed under MIT? Thanks.

https://web-beta.archive.org/web/20141017164435/https://bl.ocks.org/mbostock/1353700
https://web-beta.archive.org/web/20141018182246/http://bl.ocks.org:80/
https://gist.github.com/mbostock/1353700/revisions?page=1
https://gist.github.com/mbostock/1353700/27a5e7be5770fcdfcacdac48103193ff72ffc3c4

bl.ocks.org is a live viewer on top of GitHub Gist. It can be used by anyone: any GitHub Gist with an index.html or README.md can appear on bl.ocks.org. Yes, it is used by me and others to share code examples for D3—as well as for graphics, toys, and experiments that I don’t really consider examples—but you should not assume anything about the licensing of the code simply by its existence on bl.ocks.org (or GitHub). And in general you should not assume you can reuse code that does not have a license obviously attached to it.
Historically, the reason my examples did not have a license is that I could not find a suitable license for examples. The open-source licenses we commonly use are intended for libraries and other reusable software. Examples are fundamentally different: they serve to teach (an API, a language, a technique, etc.) not to be reused verbatim. I wanted the examples to be used primarily for learning and as starting points for creative work, not to be repackaged in bulk (say as chart templates in commercial products). The working policy, if you asked, was in the spirit of the O’Reilly policy on re-use of code examples from books.
On a practical level however, this wasn’t a viable strategy. I am not a lawyer and did not have the resources or knowledge to formalize acceptable use. So I left it in a gray area and pointed people to the O’Reilly policy if they asked. In February 2016 I decided a simpler, more explicit approach that would be consistent with my aims would be to license my examples under the GPL. The GPL still isn’t a perfect fit, however, because it is a little bit too strict. If someone uses my example code in a “transformative” way—they are not just repackaging it verbatim for commercial use—then I do generally wish to enable that usage. But again from a practical perspective I do not think it is possible to formalize this distinction, so the GPL serves as a readily-available compromise.
I’ve looked at your code, and this library far exceeds the bar for transformative use of my code. If you want an explicit exemption to relicense my bl.ocks.org/1353700 under ISC for use this in library, consider it granted!

My apologies, I appreciate you taking the time here to clear this up. Thanks!

authors: liabru mbostock sb07


text:
Attractor only works when added before other bodies

It seems that an attracting body will not attract other bodies added to the world before it.
Demo here: https://codepen.io/lonekorean/pen/cfc51f387d8f32727288f3a59113ceeb
Comment/uncomment line 42/43 to see.

This PR will fix this issue:
https://github.com/liabru/matter-attractors/pull/5

I'm running into this issue as well. I realize that the current version is an optimization so that the number of checks doesn't increase quite as quickly as new bodies are added, but it only works under the assumption that all affected bodies for a given attractor all include the self-same attractor. However, once there are bodies that don't include the attractor, but should be affected by another body having said attractor, it seems that either a full loop like @jpagand is suggesting be used, or, maybe slightly more efficient, maintaining a smaller list of attractor-including bodies to be checked against all other bodies.
For example, if I create a body with a "magnet" attractor, requiring all bodies that are affected by this attractor also have a "magnet" attractor probably makes sense. However. if I create a body with a "fan" attractor, having every body that should be blown by a fan also include a "fan" attractor seems to make a little less sense.
Another possibility may be to go through the bodies as currently set up, but rather than reference the attractor functions on each body, let them reside elsewhere and iterate through all of the attractor functions for all bodies (so that their absence on a given body doesn't preclude them from being affected by a body later in the list). Not sure if much is gained going this route; just thinking it through.

Package from @whxru fixed the issue and works with the latest matterjs installed (0.14.2)

authors: jpagand lonekorean luigimannoni probityrules

repo: liabru/matter-attractors


text:
O(1) body query / store bodies in a Map rather than Array

Iterating over the whole array to find a specific body is rather slow. Is there a way to make this library store the bodies in a Map (or something similar)?

I ended up creating a HashMap at every iteration but it would be nice from the perspective of performance to implement something similar to a HashMap in this library.

Can you give the context here? Internally both arrays and maps are used in different parts of the engine, so you may need to dig around a bit depending on what you're doing.
I'd suggest managing your own maps where possible though, as it's most likely that arrays in some particular case are being used for performance reasons and that maintaining a map would be an additional expense most of the time.

authors: liabru virtumonde

repo: liabru/matter-js


text:
一条数据里面有多个标签，怎么查询出来呢？

// 文章表
[{
id:1,
title:'文章1',
content:'内容1',
tag_id:'1,2'
}]
// 标签表
[{
id:1,
name:'标签1'
},{
id:2,
name:'标签1'
}]
假设我要将文章表里面的tag_id的所有标签都查询出来，标签是多个，这时候应该怎么去做呢，能出个例子吗？

// 文章表
[{
id:1,
title:'文章1',
content:'内容1',
tag_id:'1,2'
}]
// 标签表
[{
id:1,
name:'标签1'
},{
id:2,
name:'标签1'
}]
假设我要将文章表里面的tag_id的所有标签都查询出来，标签是多个，这时候应该怎么去做呢，能出个例子吗？

文档有写哦：https://github.com/demopark/sequelize-docs-Zh-CN/blob/master/querying.md
Article.findAll({
  where: {
    [Op.or]: [{tag_id: 12}, {tag_id: 13}]
  }
});
// SELECT * FROM post WHERE authorId = 12 OR authorId = 13;

Article.findAll({
  where: {
    tag_id: {
      [Op.or]: [12, 13]
    }
  }
});
// SELECT * FROM post WHERE authorId = 12 OR authorId = 13;

// 文章表
[{
id:1,
title:'文章1',
content:'内容1',
tag_id:'1,2'
}]
// 标签表
[{
id:1,
name:'标签1'
},{
id:2,
name:'标签1'
}]
假设我要将文章表里面的tag_id的所有标签都查询出来，标签是多个，这时候应该怎么去做呢，能出个例子吗？

文档有写哦：https://github.com/demopark/sequelize-docs-Zh-CN/blob/master/querying.md
Article.findAll({
  where: {
    [Op.or]: [{tag_id: 12}, {tag_id: 13}]
  }
});
// SELECT * FROM Article WHERE tag_id = 12 OR tag_id = 13;

Article.findAll({
  where: {
    tag_id: {
      [Op.or]: [12, 13]
    }
  }
});
// SELECT * FROM Article WHERE tag_id = 12 OR tag_id = 13;

单单查表我是知道，我的意思是如果要关联表的话怎么查询呢？

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

回复：
 Article.findeAll({
          // Article: {}, Article的查询条件，你查询全部就不用写了
          include: {
            // 关联查询标签
            model: Tag,
            // 别名
            as: 'tag',
            // Tag的查询条件,单个ID
            where: {
              tag_id
            },
            // 多个TagID
            // where: {
            //   [Op.or]: [{tag_id: 1}, {tag_id: 2}]
            // }
          }
        })

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

回复：
Article.findeAll({
  // where: {}, Article的查询条件，你查询全部就不用写了
  include: {
    // 关联查询标签
    model: Tag,
    // 别名
    as: 'tag',
    // Tag的查询条件,单个标签ID传对象
    where: {
      tag_id: 1
    },
    // 多个标签ID传数组
    // where: {
    //   [Op.or]: [{tag_id: 1}, {tag_id: 2}]
    // }
  }
})

// where: {
//   [Op.or]: [{tag_id: 1}, {tag_id: 2}]
// }
你这个ID是写死的，有没有方法自动去拿文章表里的tagID，就是你想想你查找所有文章的时候 怎么顺便把里面的tagid数组给查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

回复：
Article.findeAll({
  // where: {}, Article的查询条件，你查询全部就不用写了
  include: {
    // 关联查询标签
    model: Tag,
    // 别名
    as: 'tag',
    // Tag的查询条件,单个标签ID传对象
    where: {
      tag_id: 1
    },
    // 多个标签ID传数组
    // where: {
    //   [Op.or]: [{tag_id: 1}, {tag_id: 2}]
    // }
  }
})

// where: {
// [Op.or]: [{tag_id: 1}, {tag_id: 2}]
// }
你这个ID是写死的，有没有方法自动去拿文章表里的tagID，就是你想想你查找所有文章的时候 怎么顺便把里面的tagid数组给查询出来。

// 试试
Article.findAll({
    include: [{
        model: Tag,
        where: { tag_id: Sequelize.col('article.tag_id') }
    }]
})

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

就是我要查询所有的文章，然后顺便把多个标签的关联数据也查询出来。

回复：
Article.findeAll({
  // where: {}, Article的查询条件，你查询全部就不用写了
  include: {
    // 关联查询标签
    model: Tag,
    // 别名
    as: 'tag',
    // Tag的查询条件,单个标签ID传对象
    where: {
      tag_id: 1
    },
    // 多个标签ID传数组
    // where: {
    //   [Op.or]: [{tag_id: 1}, {tag_id: 2}]
    // }
  }
})

// where: {
// [Op.or]: [{tag_id: 1}, {tag_id: 2}]
// }
你这个ID是写死的，有没有方法自动去拿文章表里的tagID，就是你想想你查找所有文章的时候 怎么顺便把里面的tagid数组给查询出来。

// 试试
Article.findAll({
    include: [{
        model: Tag,
        where: { tag_id: Sequelize.col('article.tag_id') }
    }]
})

好的，我看看


text:
希望能增加一个应用内配置socks5/http代理的功能

手机后台开了代理，如果能在应用内配置，就可以不用每次都要手动开代理了。像tg那样

目前已经支持了，在1.6.0版本更多设置里

https://github.com/liaoliao666/v2ex/issues/78
有些疑惑的是，你们两个是否是同一个需求，目前是可以配置请求的自定义域名。还是说需要的是创建一个agent，如这篇文章所说的 https://janmolak.com/node-js-axios-behind-corporate-proxies-8b17a6f31f9d

不是配置自定义域名，那个我感觉像是自建反向代理来访问，我说的是应用内配置指定的socks5代理，通过这个代理访问v2ex

是的，我的是安卓

我仔细研究了一下，发现还是没那么简单，在 react-native 里实现这个功能。得再研究几天才有结论。
至于版本问题，现在应该是好了。

这个功能可能确实比较小众，一般都是直接开fq软件，然后应用走代理vpn就出去了。而我是在本地开了一个代理端口，需要fq的软件在应用内配置端口。


text:
Support BPF program symbolization

As part of the effort of improving our kernel symbolization logic, we would like to support symbolization of addresses mapping to BPF programs. Here is a brain dump roughly outlining what (I think) is necessary to support such symbolization. Everything and anything could be wrong ...

in /proc/<pid>/maps / PROCMAP_QUERY BPF programs would be represented with a "name" of bpf_prog_<some-hex-number>; some-hex-number seems to be the program's "tag" and can be used for finding more information
use bpf_prog_get_next_id to iterate over loaded programs and find the one with matching the tag
use bpf_prog_get_fd_by_id to retrieve program file descriptor
use bpf_obj_get_info_by_fd to retrieve program information using said file descriptor
use bpf_prog_info.{nr_jited_line_info, jited_line_info, line_info_rec_size} and similar, in conjunction with the kernel's BTF information, to retrieve function name and source code path

I'd hope there are examples floating around for this, but haven't checked

In terms of integration into blazesym, a good starting point to look at would probably be https://github.com/libbpf/blazesym/blob/40a46a48fd83be25b6b32b3401837a8907d23301/src/symbolize/symbolizer.rs#L896
What data to cache (and at what level) is somewhat of an open question. At the very least I'd say we should be remembering the result for a given address and reuse that on repeated symbolization. But perhaps a more coarse grained approach (e.g., caching at the function level, if there is such a thing, or remembering what BPF program maps to what tag) may be useful as well. I have no idea of performance characteristics of any of the APIs we need to interface with.
As I mentioned above, I think we may need some basic BTF support (mostly for string lookup?) as well as BPF syscall bindings. Usage of libbpf-rs is a possibility (should contain both), though I don't know if we really want to add a dependency to libbpf-rs and libbpf longer term. But we can think about that once a POC is working.
We would also require some prerequisite work introducing proper kernel testing infrastructure to be able to test this symbolization on injected programs as well. At this point I think it mostly comes down to loading BPF programs, as we already support testing on arbitrary kernels using vmtest. Again, this should be provided by libbpf-rs, which I think is a no brainer to use in a testing context.

cc @jfernandez

Very interested in this work, happy to review and test any PRs! :)

This is now out for review https://github.com/libbpf/blazesym/pull/854
@javierhonduco feel free to try it out and report back. Also, let me know if you have any questions.

Great stuff @danielocfb! Thanks for the heads up! This week I won't have too much time to take a look a this, but will make sure to do it early next week.

authors: d-e-s-o danielocfb javierhonduco

repo: libbpf/blazesym


text:
0.5 pixel rRMSE accuracy

Need to agree a solution to the issues related to high resolution EO datasets and the 0.5 pixel rRMSE sub-pixel accuracy requirement of the Surface Reflectance PFS, and make a formal decision at LSI-VC-15 on the way forward. Discussions should consider the impact of this requirement on the applicability of CEOS-ARD to ‘New Space’ and industry generally; the core motivations for CEOS-ARD (stackable data, time series analyses); the stop-gap downsampling approach used by KARI and whether this is something that would be officially recommended to other VHR satellite operators; and the balance of scientific rigour versus inclusivity.

We first need to agree within CEOS what 'high' resolution means. There are as many schemes as there are interpretations of processing levels ;)
Here is the one we use in Copernicus:

Furthermore we need to distinguish geolocation uncertainty (absolute) from geometric co-registration (relative - in theory divided into intraband, intrapath [difference in viewing geometry <3(?)deg], and crosspath [different viewing geometry]).
As a benchmark 'pixel' should be replaced, as it is rather random, by 'GSD' (ground sampling distance - usually at sea level), which is a sensor characteristic.
In the range of HR2 and coarser it is reasonable to expect (less than) 0.5 GSD (absolute) geolocation uncertainty (CE95) and same or better in co-registration terms.
For HR1 or finer I would recommend to fix the requirement at 5m absolute and 0.5-1.0 GSD relative, as threshold for intraband and intrapath.

authors: mattsymbios strobpr

repo: libbyrose/ceos-ard


text:
atomics

Consider using atomics for simple locks (such as the source port lock)

[x] sport lock
[x] connection table lock

I completely removed the source port lock by pre-assigning source ports to each connection. I think it's pretty clever, because it actually took a O(n * m) search down to O(1).
For this to work, we assume that number of connections is lower than the number of port numbers available for outgoing (typically 48). There is a compile time check for this.

I added C11 atomics for the connection table lock using the:
atomic_compare_exchange
Function. The compiler typically knows what to do. But in the case of Cortex-M0 it's not supported, and it makes an external function call to a user implementation. I therefore added an example in 'contrib/atomics/atomics_freertos_gcc.c' to show how the user may implement such thing on Cortex-M0 and FreeRTOS. It's typically just deactivating interrrupts while performing the compare and exchange.
On more advanced ARM systems such as cortex M3, M4, M7, A9... and up, as well as X86, and ARM64, the compiler has assembler intrinsics that performs this using dedicated instructions.
The removal of the sport and conn locks has reduced a M0 image size by 300 bytes .text and 100 bytes .bss.

repo: libcsp/libcsp


text:
怎么在操作系统中使用这个驱动呢?

Please ask your question
我之前在裸机中使用这个驱动库,运行的很完美,但是切换到操作系统后, 发现在读取flash的时候会影响整个操作系统的运行,比如造成其他任务下的信息发送卡顿,请问应该怎么解决呢?
Additional context
No response

非常感谢您使用LibDriver提供的驱动，您从裸机切换到RTOS时，当存在多任务并发访问Flash时需要将读写等操作加互斥锁保护。因为芯片很多操作需要等待内部状态寄存器完成，您切换到RTOS时可以将驱动延时更换为RTOS延时，RTOS延时会释放系统控制权转而执行其他任务，大幅提高系统运行效率，使用此方法可以解决大部分卡顿问题。当您需要频繁或者大数量的读写时，可以考虑将SPI或者QSPI等驱动改成DMA传输，在等待DMA传输完成时，使用RTOS系统延时释放系统控制权执行其他任务或者直接使用信号量触发完成。

目前是使用dma的时候触发不了中断,然后这个任务就一直卡在spi这边,但是奇怪的是我在另一个任务中单独使用spidma发送,是可以接收到中断的,不知道啥原因

无法触发中断可能与整个工程系统各类外设优先级分配、DMA驱动等有关，您需要提供更加详细的SPI_DMA驱动等信息，我们会帮助您一起排查问题。

authors: LNqueen libdriver