[java8] assertThat is ambiguous for Comparable

Summary
Custom assertion for class implementing Comparable causes compilation errors under Java 8. This happens only when Comparable class is parametrized. Tested with assertj-core 3.5.2
Example
public class MyClass<T> implements Comparable<MyClass<T>> {
    @Override
    public int compareTo(MyClass<T> o) {
        return 0;
    }
}
public class MyClassAssert extends AbstractAssert<MyClassAssert, MyClass<?>> {
    public MyClassAssert(MyClass<?> actual) {
        super(actual, MyClassAssert.class);
    }
}
public class MyAssert extends org.assertj.core.api.Assertions {
    public static MyClassAssert assertThat(MyClass<?> myClass) {
        return new MyClassAssert(myClass);
    }
}

import static MyAssert.assertThat;
public class MyClassTest {
    public static void test() {
        assertThat("abc").isEqualTo("abc");
        MyClass<String> myObj = new MyClass<>();
        assertThat(myObj).isEqualTo(myObj);
    }

[ERROR] MyClassTest.java:[6,9] reference to assertThat is ambiguous
[ERROR] both method assertThat(MyClass<?>) in MyAssert and method assertThat(T) in org.assertj.core.api.Assertions match
Java 8 specific ?
YES : create Pull Request from the master branch

I know Java 8 is stricter than Java 7 concerning generics, gut feeling is this is the same as https://github.com/joel-costigliola/assertj-core/issues/365 but I haven't fully analysed the problem.

@grzechol did you writ the asserter by yourself or was it written by the generator? If you replace
public class MyAssert extends org.assertj.core.api.Assertions {
    public static MyClassAssert assertThat(MyClass<?> myClass) {
        return new MyClassAssert(myClass);
    }
}

With:
public class MyAssert extends org.assertj.core.api.Assertions {
    public <T> static MyClassAssert assertThat(MyClass<T> myClass) {
        return new MyClassAssert(myClass);
    }
}

@filiphr thanks for the investigation !
@grzechol clising this issue but I'll be happy to reopen it if you find it should.


Write a Kotlin program to find the largest two elements in an array

Description
Write a Kotlin program to find the largest two elements in an array
Input: arr[] = {12, 13, 1, 10, 34, 1}
Output: The largest two elements are 34 and 13

Input: arr[] = {10, 5, 10}
Output: The largest two elements are 10 and 5

Input: arr[] = {10, 10, 10}
Output: The largest two elements are 10 and 10

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/find-the-largest-two-elements-in-an-array/FindTheLargestTwoElementsInAnArray.kt
Commit the changes
Create a pull request

!assign


Update README.md with my name

This is my first contribution. Added my name to the list of participants in the ./2023/README.md file.

Good job @AleruDivine

Good job @AleruDivine

Thank you @codewithmide


upgrade to BFO 2.0 for upper level

need to change parentage of numerous classes and references to BFO 1.1. classes from any Apollo-SV specific classes.  Needs to be concurrent with updating GEO to BFO2 as well to avoid the "double BFO hierarchy" problem.

completed


Adding support for #public

Solves #25
I think I got it right this time, but if you can construct a failing test please let me know.

:+1:, except for those minor nits. Also, please squash the commits a bit :)

Got rid of 11 commits by squashing, does it look mergable now?

:+1:


Fix Harvest link in README

quick fix 🤗

The link needs an https:// so it doesn't get read as a relative repo path.
harvestapp.com redirects to getharvest.com now 🤷♀

nice!! much thx ❤


Store IEA energy balance info in structure files

We use various files like commodity.yaml, node/R12.yaml, to store code lists: these are lists of codes with an identifier R12_AFR, name, description, and 0 or more annotations. For instance:
https://github.com/iiasa/message-ix-models/blob/c9f163822325e6b411e5841f381fb07f89380df1/message_ix_models/data/commodity.yaml#L6-L14
These annotations carry precise information about each code that can be directly usable in preparing model structure and data. In this case, the ipcc-1996-name: annotation gives the exact name that appears in a particular data source. This is a simple, clear, and unambiguous statement that a certain external name/code/ID should be used in correspondence with c=coal.
In particular, the IEA (extended) energy balances have particular code lists for concepts named FLOW and PRODUCT; these are dimensions in the data.
To do:

Establish an ID and form for annotations that give correspondence between MESSAGEix-GLOBIOM codes and those appearing in IEA (E)EB. For instance, something like:
solar_pv_ppl:
  name: solar_pv_ppl
  description: Solar photovoltaic power plant (no storage)
  # ...
  iea-eb:
  - {PRODUCT: elect.output in gwh, FLOW: solar PV}

Update the existing code lists with these annotations.

Provide or extend tools that read this structural information from the code lists and prepare Python data structures that are needed for other operations; in particular for converting the IEA (E)EB data to form(s) needed by MESSAGEix-GLOBIOM.

Provide or extend tools for writing these structures out for convenience/reference, for instance in a form similar to the “Excel mapping files” that are sometimes used.

cf. iiasa/message_data#505

This was partly addressed in #75; see for instance: https://github.com/iiasa/message-ix-models/blob/a777cda0cd66bad81717e0d437db12268be02afe/message_ix_models/data/commodity.yaml#L57-L61


[OPERATOR] Implements tests for the redeploy feature

Implement integration test to verify that controller pod is restarted automatically when one of these two events happens

config map cm/openwhisk-runtime is updated
wsk/controller config file, typically a whisk.yaml file, is updated

status?


New rule setup list has no scroll

My game list is very long (2tb ssd worth of games) and cannot access the bottom of the new rule setup list without doing some gymnastics. i tried scrolling with my mouse and it does nothing. page up pade down also does nothing.
i can access it by minimising the window size and putting it at the bottom of my screen. Then pulling the list to the top of my screen past the Wooting Profile Switcher window.

please add a scrolling option or something i can press to access it easely. Thank you!

I added a scroll bar in the latest update v2.1.2


Update Group Member

We choose the Traffic light Project
opition 2: Competition
option 3: Buffer

Your group topic has been assigned to be Traffic Light


Crash when pressing enter or backspace in editor

Lapce Version
0.3.0
System information
Arch Linux, Wayland, sway, XWayland disabled (start sway with xwayland disable in the config).
Describe the bug
When XWayland is disabled, pressing Enter or Backspace in the Editor crashes lapce:
thread 'main' panicked at lapce-app/src/doc.rs:75:43:
called `Result::unwrap()` on an `Err` value: XcbConn(ClosedParseErr)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Panic is at https://github.com/lapce/lapce/blob/master/lapce-app/src/doc.rs#L75.
Additional information
This crash is caused by an Xcb connection fail because the Clipboard is X11-only. This issue can be fixed in multiple ways:

Add native Wayland support for the clipboard.
Use the clipboard API only if the user does a clipboard-related action.
Handle the error gracefully, so just copy and paste does not work if the clipboard API errors.

Also, when this code needs a redesign, the ClipboardProvider should be kept after creation. This may fix #2676.

Wayland is not supported

Can confirm this error using Arch/GNOME/X11.


Attempting to create Data science built in profile leads to an error

Testing #180731

Uploading Polish.zip…

This is when switching to the Data science profile.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Testing, please ignore. (escbeg)

This is a bug bounty test.. Please DO NOT APPROVE THIS! (escbeg)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.escbeg iawrq seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Need exact instructions for SQL Cert creation and if prod purchase is needed from a signing authority

[Enter feedback here]
I need exact instructions on creating the CERT or Asymmetric key for a pre existing CLR Assembly to run on SQL Server. Please point me to a link if this info already exists.

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

ID: 96693d4a-9460-9e08-8f14-836b6257e449
Version Independent ID: 47f19aec-1f62-97c4-fca4-609496fc2139
Content: CLR strict security - SQL Server
Content Source: docs/database-engine/configure-windows/clr-strict-security.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@davidekarasek -- David, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- Mark, please look into this issue.

@davidekarasek
First, Thank you for your patience while it took some time to reply to you.
Does the info from the article - https://docs.microsoft.com/en-us/sql/relational-databases/clr-integration/assemblies/creating-an-assembly?view=sql-server-ver15 - lead you to what you are looking for now?
Please let me know.
thank you.

Thank you! This simplifies things and is what I was looking for.
On Wed, Jul 20, 2022 at 12:16 AM Mark Ghanayem @.***>
wrote:

@davidekarasek https://github.com/davidekarasek
First, Thank you for your patience while it took some time to reply to you.
Does the info from the article -
https://docs.microsoft.com/en-us/sql/relational-databases/clr-integration/assemblies/creating-an-assembly?view=sql-server-ver15

lead you to what you are looking for now?

Please let me know.
thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/7257#issuecomment-1189808380,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRVAFNXHSDQJVC7BN7LAWTVU54TDANCNFSM5NA5IAJA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
David Evan Karasek
@.***

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


feat: link previews

👷 Deploy Preview for the-one-dev processing.

Name
Link

🔨 Latest commit
8f7a9d2a3ac7d03b5d9b253569810804d67b4e7e

🔍 Latest deploy log
https://app.netlify.com/sites/the-one-dev/deploys/63b766b88d140c0009e97966


Event loop is closed after a test but new default event loop is not created

When running multiple test cases using aiounittest under Python 3.8, the second and all the following unit test cases fail because there is no default event loop set in the MainThread. The following exception is raised when the unit tests are executed.
Traceback (most recent call last):
  File "lib\site-packages\aiounittest\helpers.py", line 130, in wrapper
    loop = get_brand_new_default_event_loop()
  File "lib\site-packages\aiounittest\helpers.py", line 117, in get_brand_new_default_event_loop
    old_loop = asyncio.get_event_loop()
  File "lib\asyncio\events.py", line 639, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.

This exception occurs because get_brand_new_default_event_loop tries to get the default event loop after it has been closed in the decorator.

Merged and published

Hello, I face the same issue even though using version 1.3.1. Could it be related to my Python version which is 3.7?


Incode links and more

Needed to recreate this pull request. Please see full description at the original pull request https://github.com/vintasoftware/cdrf.co/pull/14

:shipit:

Changes Unknown when pulling d179dc9a9b3f61e466e6ecc6f09d2d5ccf78f4cc on incode-links into ** on develop**.


Event binding after a destroy

I am loading JSTree along with JSTreeGrid on a button click. With each button click I want to refresh the same tree instance with new data. I have used ready.jstree for opening all loaded nodes and loaded_grid of JSTreeGrid for summing values from various columns in grid. Both the event handlers does not seem working after
$("#treeViewDiv").jstree('refresh');
or even after
$("#treeViewDiv").jstree('destroy');
Hence after the first button click, the event handlers does not work. How I can I bind them again?
This fiddle demonstrates the situation http://jsfiddle.net/gw9ch970/64/.
Please help.

That is expected.
destroy() removes all bound handlers - bind your handler again when you are creating the new instance. It is only logical to remove everything since you are destroying the instance.
As for refresh() - there is no ready event triggered after refresh - there is a refresh event. You can easily listen for both with one handler - .on("ready.jstree refresh.jstree", ....
Best regards,
Ivan

i have two tab its logic working on jstree first tab logic must work on jstree without plugins:[checkbox]
and second tab logic must work on jstree with plugins:[checkbox]
i destroyed the tree and rebuild it again with success of what plugins needed but all event not work else first time


Can't query anonymous tables in R

The same works in the CLI. I tried a few variants like 1.5::float8 or VALUES(1.5) to no avail.
If this can't be supported in the R wrapper, we'll need to think about a workaround in DBItest.
library(DBI)

con <- dbConnect(duckdb::duckdb())

dbGetQuery(con, "SELECT 1.5 AS a")
#> Error in duckdb_execute(res): duckdb_execute_R: Unknown column type for execute: UNDEFINED

Created on 2020-10-20 by the reprex package (v0.3.0)

The problem went away after a clean rebuild.
library(DBI)

con <- dbConnect(duckdb::duckdb())

dbGetQuery(con, "SELECT 1.5 AS a")
#>     a
#> 1 1.5

Created on 2020-10-20 by the reprex package (v0.3.0)


store the address that created the game/adventurer

I can think of a lot of use cases for this. Simple/basic version is for tournament verification so that they can verify the game was created by the tournament contract. Tons of other use cases though and simple add

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Add database connection list and database connection cancel commands

Depends on #139
Example output:
$ upctl database connection list pg-1x1xcpu-2gb-25gb-pl-waw1

 Process ID   State   Application name      Database   Username   Client IP
──────────── ─────── ───────────────────── ────────── ────────── ─────────────
    3753573   idle    pgAdmin 4 - DB:db_b   db_b       upadmin    <IP_ADDRESS>

$ upctl database connection cancel pg-1x1xcpu-2gb-25gb-pl-waw1 --pid=3753573
Cancelling connection 3753573 to database 094f3c80-b9cf-4cd6-9e2d-5754a83a2026: success          0m2s

Was planning to merge #143 to master, but forgot to change target. That's why those changes are in this PR.


Add Support Laravel 11

Thanks for sharing. We will check this soon.

@paramov DONE! :)

Closing!


Air Purifier’s temperature and humility not updated after to v0.7.18

Device model / 设备型号
zhimi.airp.vb4 & dmaker.airp.swift
Component version / 插件版本
0.7.18
HA core version / HA版本
2024.05.01
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
Temperature and humility for both the stated devices not update back to HA
Entity attributes / 实体属性
sensor.zhimi_vb4_15be_temperature, sensor.zhimi_vb4_15be_relative_humidity, sensor.dmaker_swift_ff7e_temperature & sensor.dmaker_swift_ff7e_relative_humidity
Home Assistant Logs / 系统日志
No response

I can confirm this. Actually, it's not only temperature & humidity, no entities are being updated at all..

Can confirm, no updates for zhimi.airp.rmb1 since update to v0.7.18. Works reverting to v0.7.17

Confirmed, reverting to v0.7.17 solved the issue.

I have the same problem on [v1.0.7 - 2024-12-28]


Wild thought: use ghc-hotswap to load plugins

See http://simonmar.github.io/posts/2017-10-17-hotswapping-haskell.html and https://skillsmatter.com/skillscasts/11654-keynote-how-to-deploy-your-haskell-code-hundreds-of-times-a-day
Main thing is to have a well-defined entrypoint, which can be the function we use to load the plugin descriptor.
This potentially allows us to dynamically load plugins, specified via a trivial config file.
Just a thought.

Interesting, I was thinking about the same idea yesterday. Definitely worth exploring

It seems getting the library built under stack is a problem.
See

https://github.com/commercialhaskell/stack/issues/3884
https://github.com/fbsamples/ghc-hotswap/pull/4/files

I wonder if this could be used to dynamically load the GHC api, and if so then have hie-8.x.y rolled into one hie executable that loads the version it needs.

Might be what we're after: https://hackage.haskell.org/package/dynamic-loader

Also https://github.com/stepcut/plugins


Adding example tags and scenarios counts

Surfaces tags defined at each example table.
Provides scenario counts from feature list, tag list, and tag filters.
Scenario count will not include a scenario outline definition. A scenario from an outline will only be counted for each data row provided in the associated examples table(s).

Thanks for the commit. I had to make a few modifications because I merged some branches. And I changed the logic on the total_scenarios and had the feature return it's scenario count based on the scenarios loaded.


fixing typos and add customization to contribuion.md

Contact Details
<EMAIL_ADDRESS>Explain the proposed feature
Would like to fix typos and try to add customization in contribuion.md
Explain the possible use cases for the feature
No response
Any other details you would like to provide?
No response

one or two typo might not be considered as a valid contribution to the project

I would like to contribute to this, but can't get a hang of it. Can you please explain?
Thanks!

I would like to work on this issue can you assign it to me ?


MSC1721: Rename m.login.cas to m.login.sso

Rendered

This doesn't seem terribly contentious.
@mscbot fcp merge

this is implemented in https://github.com/matrix-org/matrix-react-sdk/pull/2279 and https://github.com/matrix-org/synapse/pull/4220

doh. though now that this has merged it might make more sense to change the link to point to master.


server does not serve js/index.js

missing assets folder, the example page does not work

also is it possible to expose the language to the ui?
thanks!

Ref: https://github.com/otiai10/marmoset/commit/eb10b2f750ce4bb9d99671aa55f1000399032e41

@id0Sch Thank you very much!

@id0Sch

also is it possible to expose the language to the ui?

do you mean list of available languages of Tesseract-OCR?

i want to control the language of the image through the request.
and thanks for the quick response!

ah... I got it. Let's create another issue for that 😉

Yeah sure I'll do it in a minute
On Tuesday, May 31, 2016, OCHIAI, Hiromu<EMAIL_ADDRESS>wrote:

ah... I got it. Let's create another issue for that 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/otiai10/ocrserver/issues/7#issuecomment-222625014,
or mute the thread
https://github.com/notifications/unsubscribe/AFl9RHzT4aD3jGazVBaHgt6dJmiqtRxkks5qG_ILgaJpZM4IqB-E
.

--
Ido Schachter
Software developer
[image: ironSource] http://www.ironsrc.com
email<EMAIL_ADDRESS>mobile +972-52-605-2282
fax +972-77-5448273
28 Lilienblum St., Tel Aviv
ironsrc.com http://www.ironsrc.com
[image: linkedin] https://www.linkedin.com/company/ironsource [image:
twitter] https://twitter.com/ironsource [image: facebook]
https://www.facebook.com/ironSource [image: googleplus]
https://plus.google.com/+ironsrc
This email (including any attachments) is for the sole use of the intended
recipient and may contain confidential information which may be protected
by legal privilege. If you are not the intended recipient, or the employee
or agent responsible for delivering it to the intended recipient, you are
hereby notified that any use, dissemination, distribution or copying of
this communication and/or its content is strictly prohibited. If you are
not the intended recipient, please immediately notify us by reply email or
by telephone, delete this email and destroy any copies. Thank you.


[master] => [live]

Merging @FBoucher's changes
Merging the change in schema on all profiles
Removing Ian McDonalds

Docs Build status updates of commit 681891a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/index.html.yml
:warning:Warning
View
Details

advocates/aaron-powell.yml
:white_check_mark:Succeeded
View

advocates/aaron-schlesinger.yml
:white_check_mark:Succeeded
View

advocates/aaron-wislang.yml
:white_check_mark:Succeeded
View

advocates/abel-wang.yml
:white_check_mark:Succeeded
View

advocates/abhishek-gupta.yml
:white_check_mark:Succeeded
View

advocates/adi-polak.yml
:white_check_mark:Succeeded
View

advocates/alena-hall.yml
:white_check_mark:Succeeded
View

advocates/alvaro-videla.yml
:white_check_mark:Succeeded
View

advocates/amy-boyd.yml
:white_check_mark:Succeeded
View

advocates/andrew-harvey.yml
:white_check_mark:Succeeded
View

advocates/anthony-bartolo.yml
:white_check_mark:Succeeded
View

advocates/april-speight.yml
:white_check_mark:Succeeded
View

advocates/ari-bornstein.yml
:white_check_mark:Succeeded
View

advocates/ashley-mcnamara.yml
:white_check_mark:Succeeded
View

advocates/asim-hussain.yml
:white_check_mark:Succeeded
View

advocates/aysegul-yonet.yml
:white_check_mark:Succeeded
View

advocates/bernd-verst.yml
:white_check_mark:Succeeded
View

advocates/brandon-minnick.yml
:white_check_mark:Succeeded
View

advocates/brian-benz.yml
:white_check_mark:Succeeded
View

advocates/brian-clark.yml
:white_check_mark:Succeeded
View

advocates/brian-ketelsen.yml
:white_check_mark:Succeeded
View

advocates/burke-holland.yml
:white_check_mark:Succeeded
View

advocates/cassie-breviu.yml
:white_check_mark:Succeeded
View

advocates/cecil-phillip.yml
:white_check_mark:Succeeded
View

advocates/chloe-condon.yml
:white_check_mark:Succeeded
View

advocates/chris-noring.yml
:white_check_mark:Succeeded
View

advocates/chris-nwamba.yml
:white_check_mark:Succeeded
View

advocates/christina-warren.yml
:white_check_mark:Succeeded
View

advocates/christopher-maneu.yml
:white_check_mark:Succeeded
View

advocates/cynthia-zanoni.yml
:white_check_mark:Succeeded
View

advocates/damian-brady.yml
:white_check_mark:Succeeded
View

advocates/dave-glover.yml
:white_check_mark:Succeeded
View

advocates/david-blank-edelman.yml
:white_check_mark:Succeeded
View

advocates/david-smith.yml
:white_check_mark:Succeeded
View

advocates/davis-joseph.yml
:white_check_mark:Succeeded
View

advocates/dean-bryen.yml
:white_check_mark:Succeeded
View

advocates/dmitry-soshnikov.yml
:white_check_mark:Succeeded
View

advocates/donovan-brown.yml
:white_check_mark:Succeeded
View

advocates/duncan-davidson.yml
:white_check_mark:Succeeded
View

advocates/em-lazerwalker.yml
:white_check_mark:Succeeded
View

advocates/emily-freeman.yml
:white_check_mark:Succeeded
View

advocates/erik-st-martin.yml
:white_check_mark:Succeeded
View

advocates/francesca-lazzeri.yml
:white_check_mark:Succeeded
View

advocates/frank-boucher.yml
:white_check_mark:Succeeded
View

advocates/frank-denbow.yml
:white_check_mark:Succeeded
View

advocates/glaucia-lemos.yml
:white_check_mark:Succeeded
View

advocates/gustavo-cordido.yml
:white_check_mark:Succeeded
View

advocates/henk-boelman.yml
:white_check_mark:Succeeded
View

advocates/ian-mcdonald.yml
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.

advocates/index.html.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/tweets).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Check for collisions in Cross instances, ban forward slash in Cross segments, support os.SubPath in Cross modules

Fixes #2835
This PR does 3 things (and I'm happy to split it into smaller PRs since each commit is separable):

Checks for collisions in cross instances
Bans '/' in cross segments (my original approach is now disallowed, and the user is encouraged to use os.SubPath)
Adds support for os.SubPath in Cross instances

My implementations for (1) and (2) could be better, I don't love throwing exceptions, but I wanted to get something functional out for review to get pointers on how better to report errors to the user here. It would be nice to print the actual line rather than just printing the filename and line.
For (3), I have not yet added a test because I figure it would make sense to include in the examples, probably in a section immediately after https://mill-build.com/mill/Cross_Builds.html#_dynamic_cross_modules (ie. before Use Case: Static Blog), but I wanted @lefou's blessing before starting that work.

I https://github.com/com-lihaoyi/mill/issues/2835#issuecomment-1754794042 I wrote:

I don't think allowing a cross-value to open up multiple sub-paths is the right solution. We already map n cross-values to n sub-directories. Now, when we also allow the value itself to contain sub-directories, we can't no longer guarantee unique T.dest directories.
Here is my counter example, in which both cross module instances whould use the same T.dest path for their targets.
import mill._
object foo extends Cross[Foo](("a", "b/c"), ("a/b", "c"))
trait Foo extends Cross.Module2[String, String] {
  ...
}

Instead, we could encode the special / character in the path. But that would create less nice cache directory names.

@lefou I ended up taking a slightly different approach, rather than using os.SubPath when processing segments, I banned / in segments and instead encourage the user to use os.SubPath themselves. See the 1st PR comment up top where I've described the new approach in detail.

I'm not convinced. Why we want to force a path on things that aren't paths, like a version matrix. As we agreed that we want cross module parameters to be able to take more that one segment, why should we only allow that for paths, but not other values? Instead we should encourage to model a build using domain types when needed. This includes avoiding generic data types like strings and paths in favor to more specific types, hence the type class to still be able to map to a segmented path.
IMHO, the essential thing is to make sure, there are no collisions, so we have safe cache locations and unambiguous CLI arguments.

Superseded by #2984


Add echasnovski/mini.nvim#mini.ai

Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[x] If it's a colorscheme, it supports treesitter syntax.
[x] The title of the pull request is Add `username/repo`  when adding a new plugin.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Lua is spelled as Lua (capitalized).

Thanks for the PR, I think the description is a bit too verbose though, could you simplify it a bit?

I force-pushed update with shorter description.


[Ready for testing] Fix validation to look for any wordlist with a valid checksum

Fixes https://github.com/bitpay/copay/issues/3211 and will allow for wordlists that have common words in different positions.
This fix will be especially necessary if zh_CN and zh_TW wordlists will both be supported someday, as they have many words in common.
for reference, here are 3 mnemonics only using the common words between English and French. This will help in testing.

Ready for testing / merge if all is fine.

bump


how to draw CJK characters?

I have a question, how to draw Chinese, Japanese, and Korea characters in ZillaLib,
I test with bellow code
ZL_Font fntTTF;
fntTTF = ZL_Font("Data/simfang.zip", 18);
fntTTF.Draw(20, 140, "TRUE TYPE FONT TEXT");
fntTTF.Draw(20, 340, u8"ZillaLib库测试",ZL_Color::Red);

and put simfang.ttf in Data/simfang.zip
the result in Debug x64 configuration is just I want, right English Character, right Chinese Character.
However, the fourth-row code cannot compile in Webassembly Configuration.
How to draw Chinese characters in Webassembly, I need to solve this problem.

Hi there
The code compiles for me in Webassembly and displays the characters correctly. Even without the u8 prefix it works for me.
Make sure you save the file with the correct encoding. It needs to be UTF-8 without signature.
If you are using Visual Studio, you can do this with File -> Save .cpp as -> click on ▼ next to Save -> Save with Encoding ... -> Encoding: Unicode (UTF-8 without signature) - Codepage 65001 -> OK.
If this does not work for you, can you copy the compile error you get regarding the fourth-row code in your example?

@schellingb , Wow! thanks for your rapid reply, I tested it, your answer hits the point in webassembly version.
As you said, I use Visual Studio 2017 in Windows 11 Home Edition, my test file is '\ZillaLibSamples\05-2d-geometry-drawing.inl'.
(1) When I changed this file Encode to UTF-8 without signature-Codepage 65001, It passed compile and run correctly in webassembly version, the Chinese character drawing correctly.
However, codepage UTF-8 failed in Debug win64 configuration. the compile error about the fourth-row code:
1>.\zillalibtest\zillalibsamples\05-2d-geometry-drawing.inl(84): error C2001: 常量中有换行符
1>.\zillalibtest\zillalibsamples\05-2d-geometry-drawing.inl(84): fatal error C1075: “{”: 未找到匹配令牌
(2) When I save  drawing.inl file in 简体中文(GB2312)-Codepage 936,  and use u8 string literal in the fourth-row code,
it can be compiled correctly in Debug win64 configuration, and drawing OK in the popup window.
However, in this case, webassembly configuration cannot pass compile, the VS C++ compiler report such error:
1>./05-2d-geometry-drawing.inl(84) :37: error: illegal character encoding in string literal
1>    fntTTF.Draw(20, 340, u8"ZillaLib", ZL_Color::Red);
If there is a way to modify the draw function and pass all Configuration in different codepage cross-platform?

I solved by using encoding conversion between GB2312 and UTF-8,
Now drawing CJK font in both Debug and WebAssembly configuration is right.


Use GitHub actions

Use GitHub Actions instead of Travis CI.

Codecov Report

Merging #4 (58c7873) into master (7934acd) will decrease coverage by 1.72%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   65.69%   63.97%   -1.73%
==========================================
  Files          12       12
  Lines        1472     1324     -148
==========================================
- Hits          967      847     -120
+ Misses        405      378      -27
+ Partials      100       99       -1

Flag
Coverage Δ

unittests
63.97% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

imageutil/mimetype.go
20.00% <0.00%> (-3.08%)
:arrow_down:

jpeg/huffman.go
77.27% <0.00%> (-2.73%)
:arrow_down:

jpeg/scan.go
71.27% <0.00%> (-2.22%)
:arrow_down:

jpeg/reader.go
38.61% <0.00%> (-2.12%)
:arrow_down:

imageutil/decode.go
53.84% <0.00%> (-1.71%)
:arrow_down:

jpeg/writer.go
86.99% <0.00%> (-1.33%)
:arrow_down:

imageutil/exif.go
79.59% <0.00%> (-0.81%)
:arrow_down:

jpeg/fdct.go
100.00% <0.00%> (ø)

jpeg/idct.go
100.00% <0.00%> (ø)

jpeg/additional.go
0.00% <0.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7934acd...58c7873. Read the comment docs.


Installing with Homebrew python fails

From @commitay on October 5, 2017 2:50
Summary
Since https://github.com/Homebrew/homebrew-core/pull/14408, Homebrew python doesn't have a /usr/local/bin/python. This causes the KA-Lite.pkg install to fail.
System information
Please specify the KA Lite version you were using and your operating system!

Operating system: macOS 10.13
Version: 0.17.3
Browser: Chrome

$ which -a python
/usr/bin/python

$ which -a python2
/usr/local/bin/python2

ls /usr/local/bin/ | grep -i python
python2
python2-config
python2.7
python2.7-config
pythonw2
pythonw2.7

Excerpt from README.md included in KA-Lite-0.17.3.dmg
## These are the paths used by the KA Lite installer to check the installed Python version in your system.
* "/usr/local/bin/python"
* "which python" command will return a path of the python installed in your system.

## If your Python installed by "brew". Use "brew" also to upgrade your Python, to preserve your Python path.

How to reproduce

brew install python
Run KA-Lite.pkg installer

Screenshots

Copied from original issue: learningequality/ka-lite#5525

From @cpauya on October 5, 2017 3:5
Thanks for the report @commitay.  Just a reminder that KA-Lite needs Python 2.7.11+ -- so that message can also mean your Mac's Python version is not 2.7.11+.  Though I must admit that a fresh brew install python should've installed version higher than 2.7.11.
I just tried python -V on my fresh macOS High Sierra 10.13 and it shows Python 2.7.10 (the default that comes with the OS).
To help us isolate the issue further, can you try to check the version with python -V or python --version or just run the Python interpreter so it shows the version if it meets the KA-Lite requirement?

From @commitay on October 5, 2017 3:20
Sorry, I'm actually on 10.13 as well.
$ python --version
Python 2.7.10

$ /usr/bin/python --version
Python 2.7.10

$ python2 --version
Python 2.7.14

$/usr/local/bin/python2 --version
Python 2.7.14

$ brew info python
python: stable 2.7.14 (bottled), HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python/2.7.14 (3,517 files, 48.4MB) *
  Poured from bottle on 2017-10-05 at 12:10:46

From @cpauya on October 5, 2017 3:49
Thanks for the quick response.  These are helpful.
Yes indeed it seems the KA-Lite installer is picking-up the default macOS Python version instead of  the brew version.
Hopefully @mrpau-richard can take a look at this for a fix soon.  Maybe we can use python2 instead of just python?

Fixed in 471 closing this.


Make front matter type-safe

Is your feature request related to a problem? Please describe.
I'd love to know what kind of authors, layouts are valid and available at the time of writing the blogpost.
The error handling with wrong inputs (wrong layout) are cryptic at best, unfortunately.
Describe the solution you'd like
It could be achieved by exporting a JavaScript object instead and to use type annotations.
I know this means more boilerplate, but I'd be ready to do that, to not have all of my authors need to look up my contentlayer definitions.
Describe alternatives you've considered
I cannot really think of alternatives. Front-matter is not really good with types.
I could think of a possibility to have a vscode plugin recognize front-matter and link it to contentlayer, but doesn't sound really intuitive or easy to setup.
Export object with type would be more straightforward.
Additional context
using v2.0.2

If you mean using the frontmatter properties of the blog posts, all of those is made available by contentlayer. It also verifies at build time whether anything is incorrectly specified and alerts you to it.
The only way of the type hinting to work while writing the post is for a vscode extension to be created since it needs to run external to the process. The type objects are already exported via contentlayer but I don't think there's a way to tell the markdown file that you want to type the frontmatter in a certain way.


Add pipfs directory in nfs.conf to support nfs-utils 1:2.6.1-1ubuntu1.2

Description
When using nfs-utils 1:2.6.1-1ubuntu1.2, for example on Ubuntu22, the installation of nfs cookbook fails with:
---- Begin output of ["/usr/bin/systemctl", "--system", "start", "nfs-idmapd.service"] ----
       STDOUT:
       STDERR: Job for nfs-idmapd.service failed because the control process exited with error code.
       See "systemctl status nfs-idmapd.service" and "journalctl -xeu nfs-idmapd.service" for details.

In the log files you can find the reason:
ubuntu@ip-10-0-0-62:~$ systemctl status nfs-idmapd.service
× nfs-idmapd.service - NFSv4 ID-name mapping service
     Loaded: loaded (/lib/systemd/system/nfs-idmapd.service; static)
     Active: failed (Result: exit-code) since Fri 2023-08-11 10:23:08 UTC; 3min 58s ago
    Process: 2960 ExecStart=/usr/sbin/rpc.idmapd (code=exited, status=1/FAILURE)
...
Unable to inotify_add_watch(/var/lib/nfs/rpc_pipefs//nfs): No such file or directory

By searching online you can see that  this is due to a known bug in nfs-utils 1:2.6.1-1ubuntu1.2. The bug has been fixed but not yet available:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971935
To workaround this issue is enough to configure the pipefs-directory parameter in the [general] section of the nfs.conf file:
[general]
pipefs-directory=/run/rpc_pipefs/

This section is already present and correctly configured in the default nfs.conf file, but the nfs cookbook is removing it, causing the issue to appear:
 Recipe: nfs::_common
             * apt_package[nfs-common] action install[2023-08-11T10:22:55+00:00] INFO: Processing apt_package[nfs-common] action install (nfs::_common line 22)
       [2023-08-11T10:23:02+00:00] INFO: apt_package[nfs-common] installed nfs-common at 1:2.6.1-1ubuntu1.2

        - install version 1:2.6.1-1ubuntu1.2 of package nfs-common
             * apt_package[rpcbind] action install[2023-08-11T10:23:02+00:00] INFO: Processing apt_package[rpcbind] action install (nfs::_common line 22)
        (up to date)
             * directory[/etc] action create[2023-08-11T10:23:02+00:00] INFO: Processing directory[/etc] action create (nfs::_common line 26)
        (skipped due to only_if)
             * template[/etc/nfs.conf] action create[2023-08-11T10:23:02+00:00] INFO: Processing template[/etc/nfs.conf] action create (nfs::_common line 36)
       [2023-08-11T10:23:02+00:00] INFO: template[/etc/nfs.conf] backed up to /tmp/kitchen/backup/etc/nfs.conf.chef-20230811102302.181807
       [2023-08-11T10:23:02+00:00] INFO: template[/etc/nfs.conf] updated file contents /etc/nfs.conf

        - update content in file /etc/nfs.conf from 802c52 to 769354
        --- /etc/nfs.conf       2022-10-20 14:50:13.000000000 +0000
        +++ /etc/.chef-nfs20230811-1570-ufazs0.conf     2023-08-11 10:23:02.166567804 +0000
        @@ -1,87 +1,24 @@
        +# Generated by Chef for ip-10-0-0-62.eu-west-1.compute.internal# Local modifications will be overwritten.
         #
         # This is a general configuration for the
         # NFS daemons and tools
        -#
        -[general]
        -pipefs-directory=/run/rpc_pipefs
        -#
...

With this patch I'm just avoiding to remove the existing value. This permits nfs cookbook to work even when using the bugged version of nfs-utils package.
Tests

Tested on Ubuntu22

Issues Resolved

https://github.com/sous-chefs/nfs/issues/93
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971935

Check List

[ ] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

@atomic-penguin @joerocklin could you check the patch?

I haven't been involved in this project for years and wouldn't feel comfortable approving something at this stage.

@damacus thanks for your answer. By looking at the default.rb file I can see the defaults are already there:
default['nfs']['idmap']['pipefs_directory'] = if platform_family?('debian')
                                                '/run/rpc_pipefs'
                                              else
                                                '/var/lib/nfs/rpc_pipefs'
                                              end

Please let me know I'm misinterpreting your suggestion. Could you give me some hints on what I'm missing. Thanks!

 I've reviewed way too many PRs recently and I just didn't dig into this far enough.
I'm really not sure why this isn't in there in the first place, but thanks for fixing this!

The tests are failing right now due to a systemd but I have forgotten the fix. I'm happy this patch reverts the default system behaviour.

Released as: 5.1.0

Thank you @damacus !


Security issue in JWT 5.4.0

Hi!
The Jwt 5.4.0 is flagged as a security risk by SonarQube. It is used by Microsoft.AzureServiceBus.

Upgrading JWT to at least 5.7.0 would fix this.

😱

Is this project maintained at all?

Hello,
We'd be willing to accept any pr's to update this.

Microsoft.Azure.ServiceBus is deprecated so it's a bit of a bigger issue than just a PR.
https://www.nuget.org/packages/Microsoft.Azure.ServiceBus

We need to get the azure libs updated and it's on our list (pr would be very grateful if you have some time). Problem is they keep coming out with a completely new package of which seems yearly and the one after this one had crazy management libraries, they've since removed due to pushback.

Thanks for the feedback! I'd like to help but, as usual, it's a matter of availability of time.
I'm waiting for some guidelines on how to proceed.

The quickest solution to this particular issue is to force a (currently) safe version of Jwt by adding
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.7.0" />

to the project file. So, no pressure for now, until some other vulnerability is identified. :)


Allow to dynamically search and choose other collections

When creating a grade for example we should choose a school
When creating a course we need to select a grade, instead of preloading all courses we should have an autocomplete, limit list to like 10 items and the rest can be searched, this should be similar to subjects/units/topics

Okay, makes sense. So I'll wait for the backend support in the meantime


ManyChat False Positive

ALLOW LIST
ManyChat
Statements:

ManyChat’s Update on Ukraine (16th March 2022)

Actions:

Suspend all operations and new sales in Russia
Waived fees for all users from Ukraine till the end of 2022
Donate all revenues from Instagram Summit ticket sales to charity organizations to help relieve the humanitarian crisis in Ukraine

Done


deps: Update old module dependencies

What this PR does
Before this PR:
Kubevirt was using old modules.
After this PR:
Kubevirt now uses more recent modules.
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

None

Thanks @akrejcir! Nice job
/lgtm

/lgtm cancel
/hold
Unfortunately, the error in pull-kubevirt-fossa seems to be related.
MPL-2.0 license detected in github.com/openshift/library-go@bfd968d8eef4b7b31178a43ee17d0481258ac3a8

@dhiller , do you maybe know what we can do to fix the failing fossa check?

Kubevirt only uses 2 functions from github.com/openshift/library-go. Maybe we can copy them and remove the dependency.


Unable to load the "app" configuration file.

Laravel Version: #.#.#
PHP Version: 7.2.15
Database Driver & Version: mysql & 5.7

Description:
when i run project in laradock on windows 10, it cant't load config/* file,
Steps To Reproduce:
i try to know why, but i don't hao tow reproduce it.
storage/laravel.log have some exception.
Unable to load the "app" configuration file. {"exception":"[object] (Exception(code: 0): Unable to load the \"app\" configuration file. at /var/www/xxx/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:67)

The Finder can't scan the config dir. i want know why. but fail.
how can i do. i want to develop the project. but can't run the project in the laradock environment on windows 10.

Please open an issue in the laradock repository. This doesn't look like an issue with Laravel but with your Docker environment. There was a similar issue with VirtualBox.

Please see the answer above.

Thank your answer.
Below is laradock issue.
https://github.com/laradock/laradock/issues/2234


Fixes consolidation issue when TP is enabled

What does this PR do?
When a parameter is initialized, tensor model attributes were not copied. This makes the newly created parameter seen as non-sharded, which messes up consolidation later on.
Fixes:  #733

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Error importing session data with import_data

Error importing session data with import_data
from ptsl import open_engine

with open_engine(company_name="Name", application_name="Default") as eng:
    data = eng.import_data(
            session_path='session.ptx'
        )
    data.import_data()

Traceback (most recent call last):
  File "/Users/ron/dev/ptsl.py", line 7, in <module>
    data.import_data()
  File "/Users/ron/dev/.intel_env/lib/python3.11/site-packages/ptsl/builders/import_builder.py", line 133, in import_data
    self._engine.client.run(op)
  File "/Users/ron/dev/.intel_env/lib/python3.11/site-packages/ptsl/client.py", line 161, in run
    raise CommandError(command_errors.errors)
ptsl.errors.CommandError: ErrType 126: PT_InvalidParameter (Unable to complete the command due to an unknown error.)

Platform:

Operating System: macOS 12.7.3
Pro Tools Version: 2023.12

Hi,
the error is caused because you're calling it wrong.
This code should "work":
from ptsl import open_engine

with open_engine(company_name="Name", application_name="Default") as eng:
    eng.import_data(session_path='session.ptx')

You basically just send the command to import session.ptx.
Now you shouldn't get an error, but then for me it does nothing.
I think the session import builder in the background maybe isn't functioning properly after Avid updates.
Unfortunately i'm not really into this part, so i don't know whats the problem right now.
Peace
Steve


intermittent ServerSpec failure

seen in Scala 2.12 community build (which is on the sbt 1.1.6 tags):
[sbt] [info] ServerSpec:
[sbt] [info] server
[sbt] [info] - should start *** FAILED ***
[sbt] [info]   java.lang.RuntimeException: Timeout. /tmp/sbt_35163e7f/handshake/project/target/active.json is not found.
[sbt] [info]   at scala.sys.package$.error(package.scala:26)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:85)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   at testpkg.TestServer.waitForPortfile(ServerSpec.scala:88)
[sbt] [info]   ...

full log at https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-community-build/2984/consoleFull

@SethTisue @cunei Is community build currently running test?
In #4213 I split up unit tests into server test and everything else, so by running ; safeUnitTests; otherUnitTests it should run server tests on their own, which seems to make (at least) Travis happier.

The nightly sbt community tests sbt using test; I have not seen this failure so far, however.

okay, I guess we should optimistically close this; once a new sbt comes out and I move the community build onto newer tags, I'll try your recommendation. (I have added a comment to the config file so I don't forgot.)


Spyder Mac app hangs on startup with OSX 10.9.5

From<EMAIL_ADDRESS>on 2015-02-12T10:42:20Z
Spyder 2.3.2, Python 2.7 will not start correctly on OSX 10.9 (Mavericks)
The app will start, then CPU usage will peg at 100% for about 5-10 minutes, then the app will finally display the splash screen and start normally.
I have verified this issue on 3 different Mavericks machines.
Steps to reproduce:
1: find a computer with OSX 10.9.5
2: download Spyder 2.3.2 dmg
3: attempt to run Spyder
Please note that this is a critical issue, I teach a mathematical modeling course, and I've instructed my students to use Spyder. I'm experiencing this issue myself, and two of my students are unable to use Spyder because of this issue.
Please let me know if there is any debugging or additional information I can provide.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2171

From ccordoba12 on 2015-02-12T10:21:07Z
I'm very sorry to hear that. Right now I'm creating and testing the app in 10.7, and it works well for me.
I've also tested it a couple of times in Mavericks and Yosemite (from friends) and found it works well there too. So I don't know what could be happening in this case.
To get more info, please open Terminal.app and run this command
/Applications/Spyder.app/Contents/MacOS/Spyder

to see if it reports something fishy.
Also check at the contents of Console.app for messages about Spyder after you start it.
Summary: Spyder Mac app hangs on startup with OSX 10.9.5  <span class="oldvalue"> (was: OSX Spyder hangs on startup) </span>
Labels: MS-v2.3.3 OpSys-OSX

From<EMAIL_ADDRESS>on 2015-02-16T10:54:02Z
I can confirm this too on at least 3 machines from other users. In one case I observed it myself, it took literally 8 minutes to startup. Running on OS X 10.9.5

From<EMAIL_ADDRESS>on 2015-02-12T10:52:09Z
It works fine for me also on 10.7, I think this is likely a PyQt issue, Qt's OSX support has always been pretty grim. I've not heard of any issues from people with 10.10 either.
The odd thing is that after 2 or 3 hung launches (waiting 5 min each time), after that it seems to work OK.
So, attached are some log dumps.
Attachment: Spyder-Py2_2015-01-26-120332_Sleipnir.hang Spyder-Py2_2015-02-11-135455_Sleipnir.cpu_resource.spin Spyder-Py2_2015-02-11-135951_Sleipnir.hang Spyder-Py2_2015-02-11-140136_Sleipnir.cpu_resource.spin Spyder-Py2_2015-02-12-100524_Sleipnir.cpu_resource.spin

From<EMAIL_ADDRESS>on 2015-02-16T11:13:28Z
I can confirm that disabling AppNap has NO effect on this issue.
Also, deleting the .spyder config in the home directory, and a clean boot has no effect either.
Looking at the crash logs, it seems to be hung very deep in some Python code, and it looks like it might be trying to do some file IO.
Attached is another log, after a clean boot, and deleting the .spyder dir. Here, I waited about a 30 minutes before killing the process.
This is on i7 MacBookPro with OS 10.9.5
Attachment: spyder.log

From ccordoba12 on 2015-02-16T11:55:28Z
Thanks for the logs. Unfortunately, I can't see anything important in there, just that it seems to be a threading issue.
What happens when you run
/Applications/Spyder.app/Contents/MacOS/Spyder

from a terminal? Perhaps that's more helpful.
The only thing that occurs to me is to create an app for each MacOS version (since 10.8). But for that I'd need to own a Mac and create the necessary virtual machines. Problem is I don't have the money to do that :-)

From ccordoba12 on 2015-02-16T12:08:18Z
Too bad. I'll release 2.3.3 later today or tomorrow, let's hope it fixes this by updating Python and its deps.

From<EMAIL_ADDRESS>on 2015-02-16T12:00:33Z
If I run directly from the console, it just hangs, pegs the CPU at 100% and no console output.

From ccordoba12 on 2015-02-16T16:01:45Z
Labels: -MS-v2.3.3 MS-v2.3.4

From<EMAIL_ADDRESS>on 2015-02-16T12:36:05Z
I started trying to track this down, looks like it hangs when it creates a new QApplication.
There are no problems at all with the packaged python or any dependencies, they start perfectly fine when run by themselves. The problem is in QT.
If you upgrade to a newer QT, that will likely fix the problem. Qt5 does fix a number of issues.

Hey @AndySomogyi, I hope you're the same one as in Google Code. Let's continue the discussion here :-)

Hi, yes thats me.
However, after evaluation of a number of other python applications built with PyQT, we have decided that Python is unfortunately not a viable alternative to MATLAB, and have decided to move back to MATLAB.

Too bad to hear it. Would you mind to share what were your reasons to finally decide against Python?

95% of the problem was PyQt. Maybe its OK on Windows, but I'm sorry, its train wreck on OSX. It does such a bad job of emulating the native tool kit, that I had to change it to use another skin like CDE or Windows. Combine that with random crashes, and this issue that Spyder takes 30 minutes to start on OSX.
As a language, I don't have any major issues with Python, well other that the global interpreter lock and the clumsiness of writing C modules. By that I mean that when you write A C module in MATLAB/Octave, you have access to both the lhs and rhs, so you can directly set values in the lhs expression.

We moved to 10.9 as the base to create our apps, so I'm confident this bug will be fixed when we release 2.3.5.

Hello,
unfortunately I have the same bug in Version <IP_ADDRESS> at the moment, is there any log I can provide to find the issue?

@markushartmann, I don't know what could be happening to be honest. I tested our app in 10.9.0 and 10.10.2 and it's working just fine.

as already mentioned by the other users it happens when spyder crashes anytime. After a crash is shows this very long startup issue. Reinstalling helps to fix this issue, but reinstalling after every crash is also a time consuming procedure. I try to find anything reproduceable to crash spyder to trigger the bug.

I had this same issue.  After a random crash of the app, every time I started Spyder-Py2 it became slower and slower to start.  Eventually it took around 10 minutes.  After showing the app contents, I sorted the files by last modified and saw a file named 'pep8' that was very large (around 1GB).  I deleted it and restarted Spyder-Py2 and it started up normally.  Whatever this file is doing was the problem.

I've also experienced this with Yosemite 10.10.5. 10-20m startup time.

@TimSchmeier, please run in a terminal
rm -R ~/.spyder2

Then uninstall and reinstall the application again. That could solve your problem.


Export PNG from serializers without loosing color information due to premultiplied alpha

See https://forum.babylonjs.com/t/exported-gltf-scene-does-not-have-material-color-in-blender/27235/27 for context.
The gist of the problem is that color information with non-1 alpha doesn't export properly because the code currently uses canvas to get the PNG and the canvas premultiplies alpha.
I found a way to use offscreen canvas, image bitmap, transferFromImageBitmap, and convertToBlob that appears to keep the color information intact. It also doesn't translate from and to base64 which should mean it will be faster.
https://jsfiddle.net/k63b2vL7/
Question: Does this work on all relevant browsers?

I'm getting empty white screen on Chrome, MacOS , for jsfiddle link.
https://caniuse.com/createimagebitmap - apparently it's not widely supported yet.

Oops, no, it's because I forgot to save the final version, lol.
Link updated.

Updated link worked in chrome. Downloaded correct Image. Safari and Firefox didn't download anything, but that's because the jsfiddle itself is not properly configured in this browsers.
Updated fiddle to show image, instead of downloading it:
https://jsfiddle.net/rgtj3n9L/


Page freezes after refinded-github Chrome ext runs

Page that seems to freeze in Chrome when using this ext is: https://github.com/hashicorp/vagrant/issues/11987
Disabling the Refined Github plugin resolves the issue.
I also noticed in the Chrome task manager, the tab jumps to 100% CPU and uses at ~455 MB of memory.

Investigating, thanks for the report

Investigating, thanks for the report

Believe it or not, it's embed-gist-inline. I'll disable it via hotfix

Believe it or not, it's embed-gist-inline. I'll disable it via hotfix

Haha was just about to post!

Haha was just about to post!

It's because the linked file is gigantic. A limit needs to be put in place before embedding. PR welcome

It's because the linked file is gigantic. A limit needs to be put in place before embedding. PR welcome

A limit or if the file is to large don't embed?

A limit or if the file is to large don't embed?

What kind of limit are you thinking?

What kind of limit are you thinking?

Didn't have any in mind. I was trying to clarify what you wanted to do.

Didn't have any in mind. I was trying to clarify what you wanted to do.

Yeah, I meant a "limit on gist size", therefore "don't embed if it's larger than the limit"
I'm thinking this can be done in the background fetch via parameter:
const gistData = await browser.runtime.sendMessage({
	fetchJSON: `${link.href}.json`,
	lengthLimit: 1000
});

And then compare that lengthLimit to the Content-Length header before calling .json()

Yeah, I meant a "limit on gist size", therefore "don't embed if it's larger than the limit"
I'm thinking this can be done in the background fetch via parameter:
const gistData = await browser.runtime.sendMessage({
	fetchJSON: `${link.href}.json`,
	lengthLimit: 1000
});

And then compare that lengthLimit to the Content-Length header before calling .json()


Make contracts more robust to errors and edge cases

Things to consider:

Delays or failures in message passing
What happens if a cross chain message reverts?
What happens if there is an invalid proposal state, message passed after voting has ended, etc...
Edge cases related to usage of the L1 block for checkpointing

Adding checkboxes here for edgecases:

[ ] Handle delayed message
[ ] Handle failed message
[ ] Handle cross chain revert
[ ] Handle message after voting has ended
[ ] Handle message before message has begun
[ ] Handle edge cases with L1 block number or L1 timestamp

If a message is delayed it could be resent. A couple things could be happening with the delay:

Validators could be trying to censor the messsage
The relaying infrastructure is down

In the first case there isn't much we can do accept to keeping sending messages and hope one gets through. In the second case a dao could have a fallback specialized relayer they are running. We could make a generic specialized relayer for DAOs to deploy. It would also require us to modify the contracts for a specialized relayer call.

Here is the contract and method a dao specific relayer could call to deliver a message.
https://github.com/wormhole-foundation/wormhole/blob/main/ethereum/contracts/relayer/wormholeRelayer/WormholeRelayerDelivery.sol#L55

I think this is the logic for the generic relayer where it makes the cross chain call with the VAA.
https://github.com/wormhole-foundation/wormhole/blob/bd666ef076c4ac97325c687143b54eb7e5f4ff47/relayer/generic_relayer/relayer-engine-v2/src/processor.ts#L220

So delayed message by relayer should be manually submitted through the frontend

This has been handled


Travis build failing on trusty

This is from the travis log. Does this error make sense to you?
Using TensorFlow backend.

Traceback (most recent call last):

  File "./test_script.py", line 16, in <module>

    tr = train(1,'neg',temp,dims=1)

  File "/home/travis/build/m-anish/autonomio/autonomio/commands.py", line 49, in train

    verbose)

  File "/home/travis/build/m-anish/autonomio/autonomio/train_new.py", line 55, in kuubio

    X,Y = transform_data(X,Y,data,flatten,dims)

  File "/home/travis/build/m-anish/autonomio/autonomio/transform_data.py", line 25, in transform_data

    x = x_transform(X,data)

  File "/home/travis/build/m-anish/autonomio/autonomio/x_transform.py", line 28, in x_transform

    x = data[[X]]

  File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/pandas/core/frame.py", line 2056, in __getitem__

    return self._getitem_array(key)

  File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/pandas/core/frame.py", line 2100, in _getitem_array

    indexer = self.loc._convert_to_indexer(key, axis=1)

  File "/home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages/pandas/core/indexing.py", line 1231, in _convert_to_indexer

    raise KeyError('%s not in index' % objarr[mask])

KeyError: '[1] not in index'

Yes, this looks like it's coming from Pandas, and it seems that the only line of code where we are calling Pandas key indexing is:
x = data[[X]]
I'm not sure why it's in double brackets, that's probably causing the problem. Can you try if you try running the same code locally and see if you get the same error, and if yes if the double bracket is the issue. But there is something off with this anyway, as the previous line already creates 'x' and then we seem to create it again? Or am I missing something?

Okay. Will try.

Were you able to get over this? Note that this is a pandas error and has nothing to do with env or anything like that.

Do you need any help with this? By the way, this might be a result of...

There was a couple of bugs that I had to go through to get back to green. It was probably something to do with pandas version changing or something, as we had to move in to a far more verbose way of slicing the dataframe. But now we're back to green! :)


code-search files should be excluded from all searches

Testing #85965
This should be done differently -
https://github.com/microsoft/vscode/blob/a868166d9ece2af3be2579ce5c873117790db87b/src/vs/workbench/contrib/search/common/searchModel.ts#L986-L989
either it should be done in the QueryBuilder so it applies to searches that don't go through SearchModel (like through extension API) or it should be added to the search.exclude default.

One could verify by either looking at the code, or developing an extension that searches and noticing that *.code-search results are excluded.


[SPARK-39349] Add a centralized CheckError method for QA of error path

What changes were proposed in this pull request?

Pulling error messages out of the code base into error-classes.json solves only one half of the problem.
This change aims to lay the infrastructure to pull error messages out of QA.
We do this by adding an central checkError() method in SparkFunSuite which is geared towards verifying the payload of an error only:

ERROR_CLASS
Optional ERROR_SUBCLASS
Optional SQLSTATE (derived from error-classes.json, so debatable)
Parameter values (with optional parameter names for extra points)

The method allows regex matching of parameter values.
Why are the changes needed?

Pulling error-messages out of code and QA makes for a central place to fine tune error-messages for language and formatting.
Does this PR introduce any user-facing change?

No
How was this patch tested?

A subset of QA tests has been rewritten to exercise the code.

Can one of the admins verify this patch?

@gengliangwang @cloud-fan Hoping for a review.

The python doc issue is being fixed by https://github.com/apache/spark/pull/36813

thanks, merging to master!


Infinite Loop error

I am trying to use the library in Node, but I can't get it to work...
Here's the codesandbox. (The error can be seen here)
Or the code...
const RTFJS = require("rtf.js").RTFJS;

const rtf = `{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Calibri;}}
    {\\*\\generator Msftedit <IP_ADDRESS>0;}\\viewkind4\\uc1\\pard\\sa200\\sl276\\slmult1\\lang9\\f0\\fs22 This \\fs44 is \\fs22 a \\b simple \\ul one \\i paragraph \\ulnone\\b0 document\\i0 .\\par
    }`;

function stringToArrayBuffer(string) {
  var buffer = new ArrayBuffer(string.length);
  var bufferView = new Uint8Array(buffer);
  for (var i = 0; i < string.length; i++) {
    bufferView[i] = string.charCodeAt(i);
  }
  return buffer;
}

RTFJS.loggingEnabled(false);
// WMFJS.loggingEnabled(false);
// EMFJS.loggingEnabled(false);

const doc = new RTFJS.Document(stringToArrayBuffer(rtf));

const meta = doc.metadata();
doc
  .render()
  .then(function(htmlElements) {
    console.log(meta);
    console.log(htmlElements);
  })
  .catch(error => console.error(error));

There is no error in RTFJS. As the codesandbox message explains, they do static analysis on the files and detect that there could be an infinite loop here, there isn't though (the code in question comes from the bundled codepage.js cputils file). If you disable infinite loop detection as described here it will run without problems.


Fix 3.5.3 segfault when running CI

Fixes: https://github.com/abarichello/godot-ci/issues/121
I went off of tag:  3.5-stable but I'm unsure what branch to make this PR against, as no 3.5 branch exists?

Didn't fix mono build in this PR
All that I changed was the Dockerfile

Looks good, the only thing I'm worried about is that I'm not sure if this repository is set up to publish parallel branches correctly. In short, we want to be able to keep publishing releases of both 3.x and 4.x. When a new 3.x release is published however, it should not be considered the latest and cause existing 4.x users to switch over to 3.x until a new 4.x release is made (if they don't pin the Docker image version).
cc @TheOrioli

@Calinou I've looked through the workflows.
It seems that manual builds will not overwrite the latest tag, but the regular release builds will.
Which means in case of a 3.5.4 release, the latest will be overwritten by Godot 3 😟
https://github.com/abarichello/godot-ci/blob/bd9eea16d14bf71f5876b71b16955218df36266b/.github/workflows/release.yml#L38-L53
This best way to fix this might be with some reusable workflows that pass along an override_latest bool as an input, which is figured out by parsing the godot version string.

Darn, I'm just surprised anyone uses latest for this context at all. I suppose latest is for running against Godot master branch etc.
Any suggested edits, I'm all for :) .  If I have time I can play with this but I doubt I'd be allowed to test and validate the push automation.


Overflow Issues on Meshery.io/blog

Description
There's Overflow issue on https://meshery.io/blog/unleashing-power-and-flexibility-the-synergy-of-rest-and-graphql-in-meshery
Expected Behavior
This Behaviour needs to be fixed.
Screenshots

Enviroment:

OS: Android
Browser: Chrome
Version:
Device: Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@saurabh100ni, thanks for raising this. If you're not taking assignment, please mark with help wanted.

Hey @leecalcote, I can work on this please assign😊

@Lucif3r-in make sure to always ask for the assignment on issue before raising the PR next time, assigning you now.

Thank you, @Lucif3r-in 👍


improve refactor partition sort node to reduce memory use

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Experiment/demo: sharing URL

Closing for now as there's no consensus on this as a feature. The branch will remain for now.


Feature simple hierarchy

Replaced the sophistacted (but not yet fully functional) node tree approach based on armatures from @scurest back to a simpler object hierarchy in order to be able to import simple scenes. Will look back into rigged/skinned scene once this is stable.
Fixes #17
Fixes #16
Fixes #9
Fixes #7

You'll want to rip the vertex group creation out of mesh.py too, since it won't work without the armature that mirrors the joint tree.
I'd go ahead and delete all the unused stuff in node.py too (plus the unused variables from __init__.py like root_idxs.
btw #9 and #7 are already fixed.

Sure, you just need to delete the block starting with if 'JOINTS_0'....


typo: overwirte -> overwrite

@nschonni : Thanks for your contribution! The author, @hrasheed-msft, has been notified to review your proposed change.

#sign-off


Unable to install development version

When I run
$ sudo pip install git+https://github.com/blockstack/blockstack-client.git@develop --upgrade
I get
Could not find a version that satisfies the requirement virtualchain>=0.0.9 (from blockstack-client==0.0.13) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.8)
Then I tried to first install registrar of develop branch.
I also installed virtualchain of develop branch (0.0.9).
Now when I run blockstack-client installation I get:
Could not find a version that satisfies the requirement registrar>=0.0.4 (from blockstack-client==0.0.13) (from versions: 0.0.1, 0.0.2, 0.0.3, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>) No matching distribution found for registrar>=0.0.4 (from blockstack-client==0.0.13)
But registrar 0.0.4 does not exists on github.
So it's not possible to use blockstack-client in develop branch.

We just merged the next release (rc-0.14.0) branch to master, so master is currently the latest codebase.


Linux Builds do not support TZ datatypes

The linux builds found on
http://ftp.de.debian.org/debian/pool/main/f/flamerobin/flamerobin_0.9.10.ds.2-1_amd64.deb
Which is maintained by Damyan Ivanov<EMAIL_ADDRESS>Has a problem with TZ datetime data.
Samples to reproduce
CREATE TABLE "Actions" (  "Time_Stamp" timestamp with time zone NOT NULL);
INSERT INTO "Actions" ("Time_Stamp") values ('2022-05-19 16:27:11.0000 +00:00')
SELECT a."Time_Stamp" FROM "stg.Actions" a

But casting the column as a varchar, works - so the database has the record but the client can not handle TZ data

Hi, so, no idea how or when he will update to latest version, until that day, I recommend to you do use latest source code and build yourself Also, for now keep in mind #338 and #362

I have tried to build flamerobin using the latest sources (see #359) but the docs are out of date and flamerobin will not build with the current wxwidgets on linux.
So the issue is that without proper build docs or a working build, it is not possible to use Flamerobin on linux with newer versions of firebird.

Hi, so, no idea how or when he will update to latest version, until that day, I recommend to you do use latest source code and build yourself Also, for now keep in mind #338 and #362

Just to note, he is building the latest 9.10 builds.   He is keeping it up to date - the issue is a compatibility issue with the linux code in regards to holding TZ data in the app.
The ability to have the server cast it to varchar and get the data and have fbisql also query from the client shows the issue again is within the client application

https://github.com/mariuz/flamerobin/wiki/How-to-Build-flamerobin-on-ubuntu-or-debian
On Thu, Feb 8, 2024 at 2:20 AM DaltonCalford @.***>
wrote:

Hi, so, no idea how or when he will update to latest version, until that
day, I recommend to you do use latest source code and build yourself Also,
for now keep in mind #338
https://github.com/mariuz/flamerobin/issues/338 and #362
https://github.com/mariuz/flamerobin/pull/362
I have tried to build flamerobin using the latest sources (see #359
https://github.com/mariuz/flamerobin/issues/359) but the docs are out
of date and flamerobin will not build with the current wxwidgets on linux.
So the issue is that without proper build docs or a working build, it is
not possible to use Flamerobin on linux with newer versions of firebird.
—
Reply to this email directly, view it on GitHub
https://github.com/mariuz/flamerobin/issues/368#issuecomment-1933159235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEPN63X2FPH3DNPFUBMP3YSQK5HAVCNFSM6AAAAABC6BAFGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGE2TSMRTGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

https://github.com/mariuz/flamerobin/wiki/How-to-Build-flamerobin-on-ubuntu-or-debian
…
On Thu, Feb 8, 2024 at 2:20 AM DaltonCalford @.> wrote: Hi, so, no idea how or when he will update to latest version, until that day, I recommend to you do use latest source code and build yourself Also, for now keep in mind #338 <#338> and #362 <#362> I have tried to build flamerobin using the latest sources (see #359 <#359>) but the docs are out of date and flamerobin will not build with the current wxwidgets on linux. So the issue is that without proper build docs or a working build, it is not possible to use Flamerobin on linux with newer versions of firebird. — Reply to this email directly, view it on GitHub <#368 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEPN63X2FPH3DNPFUBMP3YSQK5HAVCNFSM6AAAAABC6BAFGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGE2TSMRTGU . You are receiving this because you are subscribed to this thread.Message ID: @.>
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.28/Modules/FindwxWidgets.cmake:235 (message):
wxWidgets wx/version.h file not found in
/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2-unofficial;/usr/include/wx-3.2-unofficial.
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FindwxWidgets.cmake:966 (wx_extract_version)
CMakeLists.txt:44 (find_package)

this is with ubuntu 23.10, new install.
Jammy (22.04) has had three updates since (22.10, 23.04, 23.10) and wxwidgets has had issues for the past few.
The maintainer of the debs in the distribution Damyan Ivanov must have found a work around in the cmake but, even his builds of the latest code set, has issues with TZ data.

Please see if this fixes the issue
https://flamerobin.blogspot.com/2023/05/problems-with-wx-config-from-codelites.html


ROX-23096: Abort rendering of Helm charts if Helm version is < v3.9.0

Description
See https://issues.redhat.com/browse/ROX-23096. Subject says it all.
Why 3.9.0? Because it seems that this is the first version which makes its own version string available to the chart to be rendered as .Capabilities.HelmVersion.Version (see https://github.com/helm/helm/releases/tag/v3.9.0).
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TODO(replace-me)
Use this space to explain how you validated that your change functions exactly how you expect it.
Feel free to attach JSON snippets, curl commands, screenshots, etc. Apply a simple benchmark: would the information you
provided convince any reviewer or any external reader that you did enough to validate your change.
It is acceptable to assume trust and keep this section light, e.g. as a bullet-point list.
It is acceptable to skip testing in cases when CI is sufficient, or it's a markdown or code comment change only.
It is also acceptable to skip testing for changes that are too taxing to test before merging. In such case you are
responsible for the change after it gets merged which includes reverting, fixing, etc. Make sure you validate the change
ASAP after it gets merged or explain in PR when the validation will be performed.
Explain here why you skipped testing in case you did so.
Have you created automated tests for your change? Explain here which validation activities you did manually and why so.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest


Labels around checkboxes are block, so clicking after text in label cause toggling of checkbox.

I'm also interested to know what you will do with that. For now, i have solved the problem with UL & LI tags and put the labels inline-block.


Add hacks for BHNT 95

cc @pan-maruda @WolframHempel @kevinveenbirkenbach @excds @ArthurTent @leif @wleuschner

Looks great. Thanks again for having me.


Reconfiguring tests doesn't update Testing panel

Testing #21092
When reconfiguring tests from pytest -> unittest, the test panel doesn't automatically refresh. The refresh test button also just leaves the pytest header remaining at the top of the tree, rather than updating to the unittest filtered tests.

Reloading updates the testing panel to the correct output.

Seeing a similar result right now on our current testing panel. I included a recording of what happens on insiders without the rewrite turned with the same steps. Therefore this is a bug but not a regression in functionality from the current testing experience.
https://user-images.githubusercontent.com/26030610/234633814-cc52d2a8-bef3-4a04-ba6f-9da978f63270.mov

Looking for community feedback here, do people often switch between the testing infrastructures and run into this problem?

use case too small and would require too much work to be a priority


Nix feature: allow extra configuration of /etc/nix/nix.conf

This would allow one to specify e.g.
  "features": {
    "ghcr.io/devcontainers/features/nix:1": {
      "extraNixConfig": "extra-substituters = https://foo.cachix.org,extra-trusted-public-keys = foo.cachix.org-1:bar="
    }
  }

so that the nix daemon can run against additional binary caches.

@microsoft-github-policy-service agree


Better tutorial

I find the installation tutorial fast, but also pretty incomplete. In fact, for me it doesn't work (and I have even tried to follow another tutorial). It makes you use ssh at the beginning, but doesn't tell you with which details it is better to create this ssh key (you need for using ssh) and if any kind of detail is needed at all, or if any general configuration it's going to be fine. And the end, it makes you remove the install script, but doesn't tell you how to try out whether your installation it's functional or not. In other words, it assumes (to make it fast maybe?), that you know, or have done things you might quite as well not have done at all. Can this be improved/Is there another updated tutorial that I didn't find on the net that it's more beginner-friendly?

+1 for this, I used the entire gist to install but I cant locate the install folder.


Optional data compression for RW data

Since in Zephyr we have full control of the compilation flow and toolchain with -no-std files. We could do an optimization when you turn on -Oz to optimize the size of RW data in the same manner as the ARMLinker[1] by patching the ELF file before HEX conversion to compress the RW data and add the corresponding decompression in the startup file.
This should at least be possible to do on ARM targets.
[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.kui0101a/armlink_chddibfi.htm

Explained in another way;
instead of memcpy'ing data from flash to the .data section in RAM at boot. We could have the build system build a hex file with the .data section compressed. And then we could during the boot process (C runtime setup) decompress it before writing it to RAM.
This would save us flash at the cost of some complexity and some boot time overhead.


Fix set receive timeout

The receive timeout is overwritten in client library's connect function.
This fix sets the configured timeout after a successful connect.
This PR refers to the issue #761

This should probably be fixed in the library by https://github.com/UniversalRobots/Universal_Robots_Client_Library/pull/171

I'm going to close this, since the mentioned PR in the client library is merged and released. @bmdyrdal if you feel like this doesn't solve it, feel free to comment or re-open.


[x] Run most of the unit tests first before running integration tests

Motivation
It seems like the current setup runs the integration tests before most of the other unit tests. This makes debugging less intuitive because debugging smaller unit tests is often much easier than debugging integration tests. So just re-order the commands.
Have you read the Contributing Guidelines on pull requests?
No.
Test Plan
Run cargo xtest.
Related PRs
None.

I noticed this myself and was planning on changing it in a current refactoring series I'm working on right now. Mind if we drop this and I can roll this change into my refactoring?


Update on LEO panel

Describe the feature
At this point, any LEO employee can connect to the call. This is great when there is no dispatcher available. But let's say an employee is assigned to a call, but they can no longer be disconnected/available, they would have to leave their shift to become available again. Only the dispatcher would be able to set the status to "available" anymore. Maybe add a "disconnected/available" feature? I think that would be a useful feature.
Additional Context
No response

Sure! Will try work on this tomorrow.

🚀
https://user-images.githubusercontent.com/53900565/150927196-54900ae6-23eb-4b42-bc77-8a07acc7240a.mov


Feature Request: Option to print the items to a new line following the string '→ var_name:'  and option to set this as default

Summary: Option to replace '→ var_name:' with '→ var_name:\n'
Request is in title. Motivation is that there are cases where multiline objects are to be printed e.g. numpy arrays. Starting the print on the line after '→var_name:' will greatly improve readability for such objects. Presently, having to type in '\n' every time is too tedious to attempt, and I assume this extension was made for lazy people like me. (More generally, you could enable another addCustomMessage2 extension setting for adding things after the colon too, but I don't know in general how useful this functionality would be.)
Example:
x = numpy.array([[1,2],[3,4]])
Current print:
➡ x : [[1 2]
 [3 4]]

Suggested print:
➡ x :
 [[1 2]
 [3 4]]

Or even better (but not at all necessary):
➡ x : [[1 2]
       [3 4]]

P.S. Thank you for this extension; it provides an easy solution for noobs like me who aren't willing to the learn the syntax to make my own snippet. I've tried AutoHotKey options but this is much better than anything I could put together there.

Thanks for your feedback!
I could add an option print to a newline. That would be no problem.
I could also have the setting Add Custom Message to be entirely up the user how to lay out the message, but it requires more thought because the unicode character must be included in order for some of the functionality to work.
The last suggestion snippet although it looks nice, it's not really possible from the extension point as it would require to insert tab/space characters when the object starts in a newline. That would be a job for a custom print function.
Also yes, you could manage with AHK but it depends of your needs. If you just want to have it for Visual Studio Code, a simple extension will do the trick far better (also a vscode snippet to a degree). If you would want to have a AHK script that does the print on every text for every app, then sure, would be the only choice (unless you want to learn each application API and make extensions for them 🤓 )

From 0.4.0 you have two new settings:

Add a newline character inside the print: print('-> x:\n, x)
Create a completely new statement where you can make it the way you want: print('{text} \n👉', {text}, '👈'). The statement call could also be a custom function.


Add release please configuration

We want:

[ ] release please header file (yaml .github/release-please.yml)
[ ] release please manifest (json .release-please-manifest.json)
[ ] release please config (json release-please-config.json)
[ ] changelog keep a changelog header and unreleased information to be removed
[ ] contributing to be updated with commit formatting instructions
[ ] delete any version bump scripts
[ ] files where the version needs to be updated to be updated with the special comments for release please

Sample config: https://github.com/microsoftgraph/msgraph-beta-sdk-java/pull/952

for this one the version bump is a bit more complex than other packages.
I usually run the following command
npx lerna version prerelease --no-private

Which also prompts for a confirmation.

@baywet this repo does not have contributing.md and changelog, should I introduce them?

Contributing yes, changelog since the versions are not aligned and since we have multiple packages, I'm not sure how one would correlate things.
I think we should setup release please on this repo for the changelog part


Add att.whitespace class

From<EMAIL_ADDRESS>on January 11, 2013 15:34:49
Currently, only <incipCode> provides @xml:space, which is defined "locally".  There are several elements on which it might be helpful to allow @xml:space, such as <rend>.  Instead of forcing each to declare its own @-xml:space, this attribute should be placed in a reusable class. It should not go into att.common as its use is not global.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=141

From<EMAIL_ADDRESS>on March 14, 2013 11:40:32
This issue was closed by revision r862 .
Status: Fixed


Add queue handling

Add by queue requirement
Add IIHE local cluster CPU config file

You can configure customs header options yourself, see
https://github.com/dsschult/pyglidein/blob/master/configs/parallel.config#L19
It may be better to have an option max_ram_per_core and run separate instances for each queue to accommodate this.

Maybe I can do that but I thought other sites could have this use case. I just wanted to share my proposal to avoid running multiple useless instances.
This is working as I want for now (good queue balancing) so if you have another idea how to improve my local setup, let me know.
You can close this PR if you don't think it worth it. (I'll keep my implementation on my site for easier maintenance).

We may make changes that break your things, so we will want to keep things as standardized as possible. I am not sure why running three cron jobs is that much more a hassle than one. We are already splitting the CPU and GPU submission on some clusters into to instances.

I run them as daemon (delay option) for now. Maybe going through cron might help to reduce the work to track down states.
Ok, let's do that.

I ran multiple instances : one for each queue. But the behavior is not the one intended. By thinking further, it won't work as expected since the mem_per_core attribute is never used to skip jobs, just to scale CPUs up. So an instance with mem_per_core = 2000 will only multiply CPUs by RAM requested and not skip this job. Or another instance might have enough RAM to not multiply CPUs but will never see this job (already launched by the previous instance). So we have just a concurrency between instances.
I suggest to implement a max_mem_allowed parameter to skip some jobs to let another instance have the chance to run it.

max_memory would be good.  similarly, max_* for each resource would be useful.  basically, what the maximum slot size is.

So if I set max_memory = 2000 and mem_per_core = 2000, I won't get jobs bigger than 2000mb and so no multicore jobs on this instance ? We also noticed that even 5000mb jobs are never using this amount of ram, is the memory requirement a bit overscaled or we just missed big jobs ?

That's the idea.
And yes, iceprod v1 has a problem with requesting too much memory for the average job.  It's due to the mean being pulled up by outliers.

Another question is about the safety margin : this lead to have always more requested memory than the original job did. As far as I understood, the first requirement (from RPC) is used to scale CPUs regarding the configuration, but if you request more than set in configuration, this means you will always request more than configured. Couldn't we move this safety margin to the RPC level ? This will be more coherent in the process (request 2000mb => get 2000mb and not 2100mb) IMHO.

The safety margin is actually for HTCondor matching considerations.  It works on powers of 2, so request_memory=2000 will actually only match >= 2048 MB.  Thus, we put in a safety margin over 2000 to make sure the slot has enough memory to correctly match.

Ok, I understand why you cannot move this requirement upper. So I think we should calculate and use this safety margin upper in the job matching (in client.py and not in submit.py). So the whole configuration take this margin in account (I mean, if I say 3000 in the configuration file, it is really 3000 and not more). This will also help for the max_memory discussed previously.


Fix Integer#parseInt parses binary as decimal.

Fix Integer#parseInt parses binary as decimal.

Addressed in rewrite or no longer relevant.


Autoimport does not respect TS re-export files

VSCode Version: 1.18.0
OS Version: Windows 10

Steps to Reproduce:

e.x. angular app, write Component
press enter for autocomplete/autoimport
see

import { Component } from "@angular/core/src/metadata/directives";

expected
import { Component } from "@angular/core";

Reproduces without extensions: Yes

Cant repoduce it with in-project re-export files. Looks like it's wrong only for lib imports

This issue was moved to Microsoft/TypeScript#19888


How to prepare the whole dataset for training?

Hi!
First of all, thank you for your excellent work!
When I try to train a Prompt Diffusion model, I meet the FileNotFoundError.
Even if I have run the 'annotate_data.py' to prepare the dataset in default settings, I still get into this trouble. Would you offer me a hand?
Are there any additional requirements for the dataset preparation, or am I mistaken?

Hi there,
Thanks for your interest! Could you provide the error message? I am not sure what files are missing when you were running.
For running annotate_data.py, you need to provide the data path, and the seed start and end number for annotation.

For example, when I try to train a Prompt Diffusion model, I meet the FileNotFoundError: No such file or directory: './clip-filtered-dataset/0409092/2158047904_1_depth.jpg'.
And I also find that the annotate_data.py only transforms the images f"{seed}_0_depth.jpg" (only transform '0' but not '1').
Are there any problems with this script?

The annotate_data.py is an example script that we used for data annotation. It shows how to annotate data for {seed}_0. You could easily modify it to annotate {seed}_1 data as well.


Dsl views

Only syntax code for discuss
class TodoCategoryItemCount extends View {
  late $TodoItemsTable todoItems;
  late TodoCategories todoCategories;

  IntColumn get itemCount => integer().generatedAs(todoItems.id.count())();

  @override
  Query as() =>
      select([todoCategories.name, itemCount]).from(todoCategories).join([
        innerJoin(todoItems, todoItems.categoryId.equalsExp(todoCategories.id))
      ]);
}

Dsl view generator beta version :) Tests need
Generates CREATE VIEW from dsl at runtime.
@DriftView(name: 'customViewName')
abstract class TodoItemWithCategoryNameView extends View {
  $TodoItemsTable get todoItems;
  $TodoCategoriesTable get todoCategories;

  TextColumn get title => text().generatedAs(todoItems.title +
      const Constant('(') +
      todoCategories.name +
      const Constant(')'))();

  @override
  Query as() => select([todoItems.id, title]).from(todoItems).join([
        innerJoin(
            todoCategories, todoCategories.id.equalsExp(todoItems.categoryId),
            useColumns: false)
      ]);
}

Can we make some progress on this? It is done from my side. Can you check the PR?

Okay, I modified to expression syntax. Works like before, but not need to declare column.
Issue (I think not mine): Virtual table test failed committed by boyan

Thanks! Could you also add a small "integration" test for the generator? Just add a Dart view declaration to drift/test/data/tables somewhere and ensure that the view gets created as it should in drift/test/schema_test.dart (let me know if I can help you with this in case anything is unclear). Apart from that this looks ready to me, I can take care of documentation.

Fixed a major bug (table reference field names was ignored)
Add views to schema test

I reverted your ViewInfo modification because compiler fails. View can't be a bound of generated view, because don't implement it. It is unnecessary to implement (and shouldn't).
I modified cancellation test (maybe it is not working properly now). It is fails most of the times on my machine. I think it is time depend. Must be reviewed.

I reverted your ViewInfo modification because compiler fails

You're right, for some reason I didn't see that in the analyzer. I'll also take a look at the flakiness in the stream query cancellation test.
And a big thanks for all your work on this, this looks all good now :tada:


Please invite me to the GitHub Community Organization

  I want to join this organization!

  Once you submitted this issue, the GitHub Actions bot will send you an email invitation.
Please kindly accept to join our organization :smile:

Hello there! 👋🏻 Thank you so much for the warm welcome and the invitation to 'Your First Open Source Project'! I'm excited to be a part of this community.
I've accepted the invitation and changed the organization's appearance to 'Public'. Looking forward to contributing and being a positive member of this group. 😊
Thanks again, and see you in the community!
Best regards,
Ralph


CockroachDB primary key constraint should to store caveats

Problem Statement
A production system recommended the following index: CREATE INDEX ON relation_tuple (namespace, relation, object_id, userset_relation) STORING (caveat_name, caveat_context);
Solution Brainstorm
This is the closest to our primary key constraint and should improve overall check performance.

This can also be applied to our reverse index, too

@jzelinskie I want to help with this PR, and I wonder if there is a way to generate the sql migration file, or just write it manually?

I just made a pull request (https://github.com/authzed/spicedb/pull/1988) and I’m seeking some clarification on how this change can enhance the check performance.
From my understanding, there is only one type of SQL query used in the check request, and its WHERE condition is the same as the new index. Would a standard index suffice to improve the query speed? Additionally, could you please explain why STORING (caveat_name, caveat_context); is necessary?
Thank you for your assistance!


Update instructions.md for Clock

Thanks! The docs were synced with problem-specifications in #586. Closing.


Adding the home feed behavior for lists

Hello, not sure if we can ask for features here or not. But can we have the same behavior in home feeds for lists ? Thanks.

Closing as a duplicate of #46
You can accidentally have this now that lists can be pinned to the home timeline - retweets will be filtered out and using the "Retweets" tab switched to retweets only for the last tab you viewed


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


refactor(button): use color binding for fab button color

No longer creates extra CSS selectors to set the default color for round buttons to accent.
@tinayuangao @jelbourn This needs some confirmation in regards to the _hasAttributeWithPrefix method. The isBrowser check in that method doesn't seem to be a good solution for Universal?

Another possible approach
To be sure that this works in Univeral we can also do it the following way:

@DevVersion change looks good, not sure what you mean by the _hasAttributeWithPrefix / isBrowser stuff, though. That isBrowser check is specific there so that Universal does work.

@jelbourn I thought that if someone renders a fab button on the server the _hasAttributeWithPrefix will always return false (due to the isBrowser check) and therefore the fab will not get the accent color by default.

Oh yeah, that would be a problem. When I added the isBrowser check, the only thing that this was used for only dealt with styles for user interaction.

Yeah with that it was totally reasonable to just skip in non-browser environments.
What do you think about the other approach I adddd to the PR description?

I think that alternate approach would be necessary

@jelbourn Done. This should be the "Angular"-way of ensuring that it works with Universal.

@andrewseguin Done.