RangeError with maxlength = 6

Describe the bug
Hi I'm getting this error when try to use with a maxlength = 6:
flutter: RangeError
flutter: RangeError (index): Invalid value: Not in inclusive range 0..3: 4

To Reproduce
Steps to reproduce the behavior:

Initialize using this config:

Expected behavior
Allow to have 6 digits input.
Screenshots

Smartphone (please complete the following information):

Device: Iphone 12
OS: 17.2

Hi @joshuamoreno1  can you try to stop and re-run your project as Its perfectly fine use latest-version []
Uploading Screen Recording 2024-05-14 at 3.13.40 PM.mov…

Hi @joshuamoreno1 can you try to stop and re-run your project as Its perfectly fine use latest-version
Uploading Screen Recording
https://github.com/shivbo96/otp_pin_field/assets/21358631/12fe1365-e973-4653-afd1-a4e24e848488

You are awesome dude, thanks a lot!!!


Godot 4 console spam from starting a game project

Godot version
Godot beta 12
System information
Windows 10, AMD Radeon RX 480 4 GB RAM, 16 gb ram, Intel CPU 4 cores.
Issue description
Im Trying to test the Game Liblast (link: https://codeberg.org/Liblast/Liblast), but when i start (play button) i see a black window and the console is spamming.
an attachment of the godot log:
godot.log
Made a video: https://youtu.be/L1Mxvm47xss
Steps to reproduce
Just press the play button
Minimal reproduction project
Sorry no minimal.
link again: https://codeberg.org/Liblast/Liblast

Looks like you are getting an out of memory error right after Vulkan is initialized which is stopping Godot from loading the game's GPU resources.
To start you should ensure that your GPU drivers are up to date.
Also ensure you don't have anything that could be pretending to be a Vulkan device connected (for example you may have a screen overlay program running, or a monitor dock that presents itself to the computer as a display device)

related to #69911 (OP also has an out of memory error at the beginning of error output)

I forgot to type - i have up to date drivers. As for anything else running, i dont have other vulkan programs, unless theirs a hidden trojan, but i checked for that.
Maybe its related, but i had a gpu driver crash, that result in pc restart, back then with the alpha version from opening heavy scene - (from git: godot-blender-2.81-splash-master - it dont work in beta now.)

Made a progress so reporting:  ( using beta 14 )
I looked at the reflection probe takes too much memory and lowerd some of the settings like:
reflections/sky_reflections/roughness_layers=4 from 8
reflections/sky_reflections/texture_array_reflections=false and shadow size to 2048.
So from 3.8 vmem gpu it went to 1.2 and i was able to start the game, but some spam errors and leakes show up.
I guess my 4gb vram gpu cant handle some of the godot features.
attaching the log:
godot2023-01-20T20.49.55.log

Thanks for following up. The issue indeed stems from Liblast requesting multiple multi-Gigibyte textures at startup. I have followed up with Unfa to let him know what is going on.
On our end, we need to implement better error reporting so that it is clear to the user that they have run out of VRAM. Also, we should be falling back to system RAM where we can.

I see, sounds good.
I just tested with beat 13 and it works! Made a vid: https://www.youtube.com/watch?v=2_SlpxrD13o
So the regression is in beta 14. attached a log from b 13:
godot2023-01-20T23.19.06.log


Skips the part of double-slash inline comments after the first slash

Example:
// HACK(@sompylasar): Nice underline -- @see https://medium.com/designing-medium/crafting-link-underlines-on-medium-7c03a9274f9

Parsed text:
"Nice underline -- @see https:"

Example:
// HACK(@sompylasar): Nice underline -- @see https:medium.com/designing-medium/crafting-link-underlines-on-medium-7c03a9274f9

Parsed text:
"Nice underline -- @see https:medium.com"

Example:
// HACK(@sompylasar): Sort the chunks by name, the numeric prefixes go first, see `webpack/configFactory`.

Parsed text:
"Sort the chunks by name, the numeric prefixes go first, see `webpack"

Expected text:
"Sort the chunks by name, the numeric prefixes go first, see `webpack/configFactory`."

Caused by the support of "trailing references":
https://github.com/pgilad/leasot/blob/da4e6f7feaee684b6249a2e6a82ddf5601fef4c2/tests/fixtures/reference-trailing.rb#L2


Temporarily disable qiskit-nature development version test

Now that https://github.com/Qiskit/qiskit-nature/pull/1142 has been merged, our "development version tests" are going to fail on main until #83 is merged.  This change fixes CI immediately by excluding the development version of qiskit-nature from these tests.  This change should be reverted as part of #83 before it is merged.

The coveralls error seems obscure.  I'm going to wait a few hours, then try again.

Heh, and of course the same coveralls error is back once I hit merge: https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/actions/runs/4833498820/jobs/8613579969
Must be some intermittent issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1515

Relevant Lines:
1791

💛  - Coveralls


[GA] Compile only on JDK 11 due to flaky and slow tests

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #760 (b616efb) into master (a8db49a) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #760      +/-   ##
==========================================
- Coverage   80.54%   80.48%   -0.07%
==========================================
  Files         122      122
  Lines        4749     4749
  Branches      576      576
==========================================
- Hits         3825     3822       -3
- Misses        604      606       +2
- Partials      320      321       +1

Impacted Files
Coverage Δ

...org/apache/spark/kyuubi/SQLOperationListener.scala
92.30% <0.00%> (-5.13%)
:arrow_down:

.../scala/org/apache/kyuubi/server/KyuubiServer.scala
47.36% <0.00%> (-2.64%)
:arrow_down:

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 a8db49a...b616efb. Read the comment docs.

thanks, merged to master


Added support for statically viewed datepicker

Hi @jkuri !
Thanks a lot for developing this component.
Trying to use it, my use case required a calendar that is constantly displayed on page.
So I added a concept of 'selected date' (+ visual indication) and an event to indicate when the selected date has changed.
Would love to hear your comments.

Hi,
No problem. I flew over the code and I think you made a good job! :+1:
Currently I am really busy, but when I'll have time (weekend) I'll take a look again in more detail and then make merge. Thanks for your efforts!

Merged, thanks for this.

Cool :+1:
Thanks @jkuri!!


Scanner Stops Working After Cloudflare Detection

Scanner Stops Working After Cloudflare Detection even though i have install php-curl and php-xml
any help

@anisfree it should work fine .. can you please mention your operating system and the php version you are using. Also check if dom and curl are displayed when you type php -m.
~ Tuhinshubhra

Also refer to this video -> https://www.youtube.com/watch?v=QuFPY9NFTM8

root@kali:~# apt-get install php-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-curl is already the newest version (1:7.0+52).
0 upgraded, 0 newly installed, 0 to remove and 2094 not upgraded.
root@kali:~# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
i find DOM module but curl i fant find it even though i install it allready

also my php version
PHP 5.6.17-1

Try This Command sudo apt-get install php5-curl

root@kali:~/Desktop/RED_HAWK# sudo apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-curl' has no installation candidate

are u here ?

now it work by updating php  using :  apt-get install php


ext auth support failure mode allow header add config

Commit Message: ext auth support failure mode allow header add config
Additional Description: N/A
Risk Level: low
Testing: ut
Docs Changes: N/A
Release Notes: N/A

issue #28387


drivers: eth_mcus: Conditionally wrap IPV4/6 code

Regression failure introduced problem where driver code was not properly wrapping code that only existed when compiled for IPv4/v6 applications.
Fixes #65549

@IVandeVeire for awareness


⚠ Bofrost.fr has degraded performance

In c74ecfa, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 987 ms

Resolved: Bofrost.fr performance has improved in 5132036 after 6 minutes.


Improve docker support

removes all .exe wrappers from the repository
creates .exe wrappers at docker build time

@pladaria  I tried your SGDK fork and the branch of this PR and Sonic sample was compiled!!
Great!


Seeds error: unexpected column list in insert statement

I'm getting the error below when attempting to load a seeds file. (I'm new so this is my first time trying.)
Runtime Error in seed test_seed (data/test_seed.csv)
  Database Error
    org.apache.spark.sql.catalyst.parser.ParseException:
    mismatched input 'my_col_a' expecting {'(', 'SELECT', 'FROM', 'VALUES', 'TABLE', 'INSERT', 'MAP', 'REDUCE'}(line 2, pos 43)

    == SQL ==

                insert into default.test_seed (my_col_a,  my_col_b) values
    -------------------------------------------^^^
                ('hi',' "Hi"'),('bye',' "Bye"')

On comparing this with the online docs checking the documentation, it looks like the column list is disallowed.
The query dtb-spark is trying to run is:
insert into default.test_seed (my_col_a,  my_col_b) values ('hi',' "Hi"'),('bye',' "Bye"')

And the corrected query would be:
insert into default.test_seed values ('hi',' "Hi"'),('bye',' "Bye"')

(Confirmed above via testing in Spark 2.4)
Or to retain the self-documenting aspect (given that columns apparently can't be declared):
insert into default.test_seed /*(my_col_a,  my_col_b)*/ values ('hi',' "Hi"'),('bye',' "Bye"')

Happy to send a PR if you know where in the code I should start. I'm new to DBT but happy to contribute if I can.

I should add that I'm connecting via thrift and running spark v2.4.

Hey @aaronsteers - you're totally right! dbt seed isn't implemented for Spark, so this plugin is falling back to the "default" implementation which includes a column list. That's not right, and we should definitely fix this. Is it something you'd be interested in taking a crack at? Happy to point you in the right direction if so!

Yeah, definitely would love to help. I'm new to jinja and these layouts but it seems we need to override line 63 from materializations/seed/seed.sql
The only provider-specific seeds overrride I could find was from bigquery.

Spot on @aaronsteers! I think we'll want to override the load_csv_rows macro for Spark. You can do that by copying this macro into the Spark adapters.sql file and renaming the macro to spark__load_csv_rows. dbt will dynamically dispatch to the load_csv_rows macro prefixed with spark__, falling back to default__load_csv_rows if one is not defined. This is orchestrated by the load_csv_rows macro which calls into the adapter_macro method.
The actual code change isn't super complicated, but there's a lot happening behind the scenes. I just wanted to give some context for how all of this actually works :)

Okay - awesome! It's starting to make sense! :)
Thank you very much for the extra explanation!

Created new PR (#33) pointing to my local fork. However, I don't see the CircleCI tests kicking off. Should I try to publish to the upstream directly or do you know if there's another way to kick off CI/CD tests?
(I didn't want to attempt pushing a branch to the core repo without approval.)

Thanks @aaronsteers - you did exactly the right thing here. Community contributors aren't able to push directly to the dbt-spark repo (or any repo that you're not a member of, really). The right workflow is indeed to push a branch in your fork then open a PR against the root repo.

Fixed in #36

Awesome! Thank you, @jtcohen6 !


remove unused functions in wallet

remove unused _get_status_of_claim() and get_name_and_validity_for_sd_hash() function in Wallet

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Message

:book:
See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines

  Generated by :no_entry_sign: Danger


Reference Route by Id

How can we identify / reference a route by id?

I haven't figured out yet actually. I'd dare to say you, working at DB, are the person that ought to know that. 😉 There is some form of identifier in place, but I haven't reverse-engineered it yet.

the HAFAS APIs use a format like 1|1276350|50|80|-1 to identify – i think – a single run of a train.
my Zugradar client exposes ids like 84/331235/18/19/80 from the API
my recently create DB shop scraper exposes ids like 341703/280474/672252/222225/80

Also, what do you mean by "route"? A single trip of a single physical train? Something like a line, a recurring schedule of trains passing a certain set of stations? The result of a routing/trip planning process? To further refine & standardise the naming conventions, @juliuste and I create the Friendly Public Transport Format.

FYI vbb-hafas now contains a method to query details/updates for a single leg of a route/journey. It uses identifiers like 1|28220|3|86|19062017. They same feature might exist at DB.

db-hafas now exposes the ID of each part of a journey. But there's now method yet to query details for it.

See public-transport/hafas-client#49 for more details.

Closing in favour of public-transport/hafas-client#49.


Remove incorrect test case

The test case was trying to fetch from an endpoint that required an id parameter without providing said id. This broke in f58861f because we started adding the route parameters to the route definition.

The issue was something different. It will be committed as part of a different pull request.


problem with whatsapp

hi! my name in Daniele and I am writing from Italy.
I don't know is this is the page correct for say me problem, but I hope yes.
I have a samsung galaxy s4 and I have downloaded this applicatio voice notify.
This application work well with almost all application, except with whatsapp. Indeed when this application has to read a notify by whatsapp, it say only the name the application and who sand the message but not the content of the message. I don't know because! I saw that with the ather applications (for example facebook), it work well. Can you help me?
Thank you very much to everyone oin advance!

This will fall under #5. Solution coming soon.


[Feature Request]: Allow for docstore batch insertions

Feature Description
Since Llama index now uses motor for async support for storage backends, users should be able to set a batch size for batch insertions.
Reason
Not having this is slowing down our application a lot because of big document insertions.
Value of Feature
This will make applications significantly more performant without any drawback.

Hi, it should be possible to change the batch size:
from llama_index.storage.storage_context import StorageContext
from llama_index.storage.docstore.mongo_docstore import MongoDocumentStore
from llama_index.storage.kvstore.mongodb_kvstore import MongoDBKVStore

mongo_kvstore = MongoDBKVStore.from_uri(...) # or from_host_and_port
docstore = MongoDocumentStore(mongo_kvstore, batch_size=100) # Update the batch size (default value is 1)
storage_context = StorageContext.from_defaults(docstore=docstore)

@MarouaneMaatouk I don't think the batching works for inserts when it comes to vector stores when you using the insert function on the vector store index.
I added logging for my vector store when inserting nodes and i'm seeing individual insertions which is dramatically slowing down our system. I think I understand why. Quick explanation.

insert

    def insert(self, document: Document, **insert_kwargs: Any) -> None:
        """Insert a document."""
        with self._service_context.callback_manager.as_trace("insert"):
            nodes = run_transformations(
                [document],
                self._service_context.transformations,
                show_progress=self._show_progress,
            )

            self.insert_nodes(nodes, **insert_kwargs)
            self.docstore.set_document_hash(document.get_doc_id(), document.hash)

This is the primary base index method that the docs tell devs to use per document but looking at the code we can see it calls insert_nodes per document and insert_nodes then calls the VectorStoreIndex _insert.
For VectorStore index, this calls _add_nodes_to_index which then utilizes the self._insert_batch_size. The issue here is that the initial insert only has one document, so no batching actually occurs.
You need to use the VectorStoreIndex.insert_nodes instead. The documentation needs to update this ASAP as all the examples still use the insert which again does no actual batching whatsoever.
For context, making this change took the time for indexing a 7MB file from 2-8 minutes down to 500ms.
My logs before the change:
Calling add in vector store with nodes of length 1

After:
Calling add in vector store with nodes of length 712


Dynamic fork type http tasks not executing

I think this is a simple question. I'm generating tasks and inputs for a FORK_JOIN_DYNAMIC task. The dynamic tasks are type HTTP. When I run the workflow I see the dynamic tasks and inputs and they look correct but the FORK_JOIN_DYNAMIC never executes them. The FORK_JOIN_DYNAMIC task shows as Yellow, and when I click on it it doesn't show anything. Should the Conductor automatically run the dynamic tasks if they are HTTP? I thought they would since HTTP is a system task?

Copying over from gitter chat:
Hey @hodolizer, What state are the Http tasks inside FORK_JOIN_DYNAMIC are in (SCHEDULED? IN_PROGRESS)? Also, does Http tasks execute fine outside FORK_JOIN_DYNAMIC? Can you open a Github issue with simple (say FORK_JOIN_DYNAMIC with 2 Http tasks) and reproducible example please.

I'll try to come up with an example. I was going to try to catch this in a debug session with vscode but that is proving difficult. From what I can tell the tasks are never picked up (queued) by the FORK_JOIN_DYNAMIC task. Neither the FORK_JOIN_DYNAMIC task nor the generated tasks show up in the Task Details. HTTP tasks work fine outside of this, I'm using a HTTP task earlier in the workflow.

Okay, I discovered a missing curly bracket that vscode wasn't warning me about. That got me further along, but now it seems like the dynamic tasks are not getting matched up with the dynamic inputs. I think you can use this example, it uses a simple API call to generate pre-generated dynamic inputs and tasks.
  "name": "getPostComments",
  "description": "Gets comments for a post in my-json-server",
  "ownerEmail"<EMAIL_ADDRESS>  "version": 1,
  "tasks": [
    {
      "name": "get_dynamic_comments",
      "taskReferenceName": "get_dynamic_comments",
      "ownerEmail"<EMAIL_ADDRESS>      "type": "HTTP",
      "inputParameters": {
        "http_request": {
          "headers": {},
          "uri": "http://my-json-server.typicode.com/hodolizer/demo/dynamic-tasks-and-inputs",
          "method": "GET",
          "readTimeOut": "3600",
          "connectionTimeOut": "3600",
          "accept": "application/json",
          "content-Type": "application/json"
        }
      }
    },
    {
      "name": "async_fork_test",
      "taskReferenceName": "dynamic_fork_posts_test",
      "ownerEmail"<EMAIL_ADDRESS>       "type": "FORK_JOIN_DYNAMIC",
      "dynamicForkTasksParam": "dynamicTasks",
      "dynamicForkTasksInputParamName": "dynamicTasksInput",
      "inputParameters": {
        "dynamicTasks": "${get_dynamic_comments.output.response.body.dynamicTasksJSON}",
        "dynamicTasksInput": "${get_dynamic_comments.output.response.body.dynamicTasksInputJSON}"
      }
    },
    { "name": "dynamic_join",
      "taskReferenceName": "join1",
      "type": "JOIN"
    }
  ],
   "outputParameters": {
  },
  "restartable": true,
  "workflowStatusListenerEnabled": true,
  "schemaVersion": 2
}```

I figured this out. The problem was the "inputParameters" key in the dynamicTasksInputJSON return. There should just be key/values for the parameters themselves, without the "inputParameters" object enclosure.


.query() bug when updating documents

Let's say I have these three documents:
{ "_id": "11111", "type": "template", "name": "person" }
{ "_id": "22222", "type": "template", "name": "place" }
{ "_id": "33333", "type": "template", "name": "thing" }

I have a cloud database and then I have a device with pouchDB syncing from that database.
These are the steps that I do:

I sync both databases together. So now I have the most recent versions of this document on my device.
I run the below query and I get back all three templates like so:

Code
var template_obj = {};

return device_db.query('filters/templates')
.then((templates) => {
	for (let t of templates.rows) templates_obj[t.id] = true;
	return templates_obj;
});

filters/templates
function (doc) {
  if(doc.type == "template")
    emit(doc._id);
}

return
[{person: true}, {place: true}, {thing: true}]

I update template: person on cloud. And then I update it again. So 2 revisions have gone by without syncing to my device.

I sync with my device.

Now when I run the same query and I only get back the document I edited. Which is weird because I haven't touched any of the other documents. The same view returns the expected results on the cloud but not on the device.

return
[{person: true}]

If I do the following code however, all templates come back as normal and the same _rev from the cloud show up on the device. Meaning the sync was successful and view is getting confused.

new code
return device_db.allDocs({conflicts: true})
.then((data) => {
    for (let d of data.rows) {
        if(d.doc.type == "template") {
        	templates_obj[d.doc._id] = true;
        }
    }
    return templates_obj;
 }).catch((err) => {
	console.log(JSON.stringify(err));
})

I'm starting to believe this is a bug because if I destroy my database and do these steps again, I can reproduce this issue.

(duplicate of pouchdb/pouchdb#7293)

Guys over at PouchDB are aware of the bug

I can confirm that after manaul combining latest plugins queries work as expected, no issues.


FXAA + Vulkan + Android is unusably slow

The spinning triangle is visibly studdery on my Pixel 3 unless I reduce the FXAA shader to a single lookup.
We cannot use subpasses to fix this since we need to make lookups outside the current pixel.  We probably need to do a systrace to see what's going on.  The GL backend seems fine.

We are currently using VK_PRESENT_MODE_FIFO, which is wrong for our Android demos because it causes us to do a wait-for-vsync twice, so our acquireCommandBuffer function hogs all the CPU time.
We can change this to MAILBOX, but that has the side effect of changing the swap chain from a double-buffered one to a triple-buffered one.  When VulkanDriver is running in a triple-buffered configuration, the animation appears unsmooth, so I need to dig a bit deeper.


License not automatically accepted

Despite the change in #56 running successfully, I'm still getting prompted to accept the license when launching Xcode.app for the first time.
It'd be sweet to figure out exactly what clicking "Accept" in the GUI does so we could replicate it programmatically.

AFAIK, it writes some stuff to /Library/Preferences/com.apple.dt.Xcode.plist:
$ /usr/libexec/PlistBuddy -c 'Print IDELastGMLicenseAgreedTo' /Library/Preferences/com.apple.dt.Xcode.plist
EA1278


Lighthouse shows low performance not matching with the image in the all projects screen

In the all projects screen, in the this website section's image shows 98 performance but on my screen it doesn't show that.
Take a look -

Hi @AviralCoder thanks for the feedback, The lighthouse performance can vary with with a lot of factors, for instance I see that you not using incognito mode to generate the report, this alone can make a huge impact on the test result. I generate my report on chrome browser using incognito mode to get the most accurate result. Other factors that may affect performance are the speed of your system, your internet speed, other applications running in background etc. Usually I always get about ~95 performance on desktop mode and 70-80 on mobile since the application is somewhat heavy for mobile users. I am attaching some lighthouse reports that I generated just now
Browser used - chrome
Desktop

Mobile

Mobile performance with brave browser with extensions

Desktop performance with brave browser with extensions

As you could see, just changing browser made huge impact even though I use very less extensions, these tests could vary with a lot of factors. Please let me know if you have any questions. I'd be happy to answer

OK.


Build failing after upgrading react-native to 0.74.1

Description
info Opening app on Android...
info A dev server is already running for this project on port 8081.
info Launching emulator...
info Installing the app...

Task :gradle-plugin:checkKotlinGradlePluginConfigurationErrors
Task :gradle-plugin:compileKotlin UP-TO-DATE
Task :gradle-plugin:compileJava NO-SOURCE
Task :gradle-plugin:pluginDescriptors UP-TO-DATE
Task :gradle-plugin:processResources
Task :gradle-plugin:classes
Task :gradle-plugin:jar

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
5 actionable tasks: 3 executed, 2 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not find com.facebook.react:flipper-integration:.
Required by:
project :app

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 15s
info Run CLI with --verbose flag for more details.
Steps to reproduce
1 . npm start
2 . a: run on Android
React Native Version
0.74.1
Affected Platforms
Runtime - Android
Output of npx react-native info
info Fetching system and libraries information...
(node:2760) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: Windows 10 10.0.19045
  CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
  Memory: 3.98 GB / 15.96 GB
Binaries:
  Node:
    version: 22.0.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: ~\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 9.8.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "29"
      - "33"
      - "34"
    Build Tools:
      - 33.0.1
      - 34.0.0
    System Images:
      - android-29 | Google Play Intel x86 Atom
      - android-TiramisuPrivacySandbox | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-233.14808.21.2331.11709847
  Visual Studio:
    - 17.6.33815.320 (Visual Studio Community 2022)
Languages:
  Java:
    version: <IP_ADDRESS>
    path: /c/Program Files/Eclipse Adoptium/jdk-<IP_ADDRESS>-hotspot/bin/javac
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: ^18.3.1
  react-native:
    installed: 0.74.1
    wanted: ^0.74.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
info Opening app on Android...
info A dev server is already running for this project on port 8081.
info Launching emulator...
info Installing the app...
> Task :gradle-plugin:checkKotlinGradlePluginConfigurationErrors
> Task :gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:processResources
> Task :gradle-plugin:classes
> Task :gradle-plugin:jar

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
5 actionable tasks: 3 executed, 2 up-to-date

Reproducer
https://github.com/aledepaulaaa/reactnative-failure
Screenshots and Videos

Could not find com.facebook.react:flipper-integration:.

You need to remove the flipper integration line from your build.gradle file:

Here the link to the upgrade helper

ok, I'll test it here, thanks @cortinico

Apparently, it seems to have worked, the other problem now seems to be with the minimum SDK that version 0.74.1 is requiring, which for the Android emulator is 23. I was using 21. I'll fix that 👍🏾


Introduction blog post

Write a blog post to introduce yourself to the community

@react-learner can you review it please? Use the suggestions function of Google Doc so it's easier for me to see what you changed (I want to improve my English writing skill) and I can decide what I accept or not (since some suggestions can modify the tone or what I wanted to convey).
I would love to publish it on Thursday. In the future, we will try to give you more time to edit our stuff :)
https://docs.google.com/document/d/1-eLyG5Ioae2VlUJYSPuZt9hNqD_ac1sAJldd-XlySao/edit#

Done 😄  Google's suggestion markup is super obtrusive, so I recommend that you preview the document with all accepted changes by going to Tools->Review suggested edits, then clicking on Preview "Accept all" in the drop-down.

I like it that way, it's why I used Google Doc. It's easier to see what you suggest and what I wrote, as I probably don't remember exactly mine 😂

The published version is at https://blog.meilisearch.com/fred/


Issue with text-first render of some post types

I'm using HTML to Atom for https://gregorlove.com/stream/ and some posts like bookmarks and RSVPs prepend "gRegor Morrill originally shared this post:" along with my photo.
This might be in part due to my use of e-content  or p-summary with properties like u-bookmark-of.
In the first example, it also duplicated the

Bookmark example with e-content:

"type": [
    "h-entry"
],
"properties": {
    "bookmark-of": [
        "https://musicforprogramming.net/"
    ],
    "url": [
        "/2022/12/bookmarked-musicforprogramming/"
    ],
    "published": [
        "2022-12-08 12:16-0800"
    ],
    "content": [
        {
            "html": "
Bookmarked: musicforprogramming.net
\n\n
\n
\u201cThe goal of this series is not to present music as disposable background noise to be mostly ignored or tuned out, but the complete opposite \u2014 the goal is to present music that can engulf the listener, carefully selected works that can be fully appreciated (perhaps even enhanced) despite sometimes only having peripheral attention paid to them.\u201d
\n
",
            "value": "Bookmarked: musicforprogramming.net\n\u201cThe goal of this series is not to present music as disposable background noise to be mostly ignored or tuned out, but the complete opposite \u2014 the goal is to present music that can engulf the listener, carefully selected works that can be fully appreciated (perhaps even enhanced) despite sometimes only having peripheral attention paid to them.\u201d"
        }
    ],
    "author": [
        {
            "type": [
                "h-card"
            ],
            "properties": {
                "url": [
                    "https://gregorlove.com/"
                ],
                "photo": [
                    {
                        "value": "/site/assets/files/6268/profile-2021-square.300x0.jpg",
                        "alt": "gRegor Morrill"
                    }
                ],
                "name": [
                    "gRegor Morrill"
                ]
            },
            "value": "gRegor Morrill"
        }
    ]
},
"children": [
    {
        "type": [
            "h-cite"
        ],
        "properties": {
            "content": [
                "\u201cThe goal of this series is not to present music as disposable background noise to be mostly ignored or tuned out, but the complete opposite \u2014 the goal is to present music that can engulf the listener, carefully selected works that can be fully appreciated (perhaps even enhanced) despite sometimes only having peripheral attention paid to them.\u201d"
            ]
        }
    }
]

The XML:
<entry>
  <author>
    <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
    <uri></uri>
  </author>
  <activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
  <id>https://gregorlove.com/2022/12/bookmarked-musicforprogramming/</id>
  <title>Bookmarked: musicforprogramming.net </title>
  <content type="xhtml">

        gRegor Morrill
        originally shared this post:

Bookmarked: musicforprogramming.net

â€œThe goal of this series is not to present music as disposable background noise to be mostly ignored or tuned out, but the complete opposite â€” the goal is to present music that can engulf the listener, carefully selected works that can be fully appreciated (perhaps even enhanced) despite sometimes only having peripheral attention paid to them.â€

        â€œThe goal of this series is not to present music as disposable background noise to be mostly ignored or tuned out, but the complete opposite â€” the goal is to present music that can engulf the listener, carefully selected works that can be fully appreciated (perhaps even enhanced) despite sometimes only having peripheral attention paid to them.â€

  </content>
  <link rel="alternate" type="text/html" href="https://gregorlove.com/2022/12/bookmarked-musicforprogramming/" />
  <link rel="ostatus:conversation" href="https://gregorlove.com/2022/12/bookmarked-musicforprogramming/" />
  <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  <published>2022-12-08 12:16-0800</published>
  <updated>2022-12-08 12:16-0800</updated>
  <link rel="self" type="application/atom+xml" href="https://gregorlove.com/2022/12/bookmarked-musicforprogramming/" />
</entry>

Another bookmark example with p-summary:

"type": [
    "h-entry"
],
"properties": {
    "summary": [
        "Bookmarked: Farewell, Twitter"
    ],
    "author": [
        "https://gregorlove.com/"
    ],
    "url": [
        "https://gregorlove.com/2022/12/bookmarked-farewell-twitter/"
    ],
    "published": [
        "2022-12-03 14:53-0800"
    ],
    "bookmark-of": [
        {
            "type": [
                "h-cite"
            ],
            "properties": {
                "name": [
                    "Farewell, Twitter"
                ],
                "url": [
                    "https://colly.com/articles/farewell-twitter"
                ]
            },
            "lang": "en",
            "value": "https://colly.com/articles/farewell-twitter"
        }
    ]
},
"lang": "en"

Resulting XML:
<entry>
  <author>
    <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
    <uri></uri>
  </author>
  <activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
  <id>https://gregorlove.com/2022/12/bookmarked-farewell-twitter/</id>
  <title>Bookmarked: Farewell, Twitter...</title>
  Bookmarked: Farewell, Twitter
  <content type="xhtml">

        gRegor Morrill
        originally shared this post:

Bookmarked: Farewell, Twitter

  </content>
  <link rel="alternate" type="text/html" href="https://gregorlove.com/2022/12/bookmarked-farewell-twitter/" />
  <link rel="ostatus:conversation" href="https://gregorlove.com/2022/12/bookmarked-farewell-twitter/" />
  <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  <published>2022-12-03 14:53-0800</published>
  <updated>2022-12-03 14:53-0800</updated>
  <link rel="self" type="application/atom+xml" href="https://gregorlove.com/2022/12/bookmarked-farewell-twitter/" />
</entry>

An RSVP with e-content:

"type": [
    "h-entry"
],
"properties": {
    "rsvp": [
        "yes"
    ],
    "author": [
        "https://gregorlove.com/"
    ],
    "url": [
        "https://gregorlove.com/2022/12/im-attending-homebrew-website-club/"
    ],
    "published": [
        "2022-12-06 11:11-0800"
    ],
    "content": [
        {
            "html": "
<data class=\"p-rsvp\" value=\"yes\">I’m attending</data> Homebrew Website Club - Pacific December 7, 2022 at 6PM Pacific.
",
            "value": "I\u2019m attending Homebrew Website Club - Pacific December 7, 2022 at 6PM Pacific.",
            "lang": "en"
        }
    ],
    "in-reply-to": [
        {
            "type": [
                "h-event"
            ],
            "properties": {
                "name": [
                    "Homebrew Website Club - Pacific"
                ],
                "url": [
                    "https://events.indieweb.org/2022/12/homebrew-website-club-pacific-5wgHveBkKvvI"
                ]
            },
            "lang": "en",
            "value": "https://events.indieweb.org/2022/12/homebrew-website-club-pacific-5wgHveBkKvvI"
        }
    ]
},
"lang": "en"

The XML:
<entry>
  <author>
    <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
    <uri></uri>
  </author>
  <activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
  <id>https://gregorlove.com/2022/12/im-attending-homebrew-website-club/</id>
  <title>Iâ€™m attending </title>
  <content type="xhtml">

        gRegor Morrill
        originally shared this post:

<data class="p-rsvp" value="yes">Iâ€™m attending</data> Homebrew Website Club - Pacific December 7, 2022 at 6PM Pacific.

  </content>
  <link rel="alternate" type="text/html" href="https://gregorlove.com/2022/12/im-attending-homebrew-website-club/" />
  <link rel="ostatus:conversation" href="https://gregorlove.com/2022/12/im-attending-homebrew-website-club/" />
  <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  <published>2022-12-06 11:11-0800</published>
  <updated>2022-12-06 11:11-0800</updated>
  <link rel="self" type="application/atom+xml" href="https://gregorlove.com/2022/12/im-attending-homebrew-website-club/" />
</entry>

I'm not sure the best solution, but my initial thought is if a content is parsed, use that; otherwise if a summary is parsed, use that; finally fall back to this "originally shared" text.

Thanks for all the details!

This is fixed for RSVPs, but not yet for bookmarks...

Oh sorry I misspoke, bookmarks are fixed too!


Bump GMP delay to 60 seconds

The bump to 30 seconds reduced flakiness to nearly zero cases over the last 5 days. Doubling to 60 seconds to ensure we don't hit this during demo season. We already have a long-term fix underway to replace this.

/gcbrun


When downloading it dosent get very far. any idea why?

Your question here...

and also duplicate of #1617 or #1514 or others.


File min/vs/editor/editor.main.js has a different whitespace in npm and unpkg.

monaco-editor version: 0.20.0(6363745c0a33c27b149b89342a7b96d354fb554c)
Browser: any
OS: any
Playground code that reproduces the issue: currently no
Reproduction steps:
diff compare files from unpkg:
<EMAIL_ADDRESS>and the one installed with yarn:
node_modules/monaco-editor/min/vs/editor/editor.main.js
You can see they diff in one character (the white space between  and ),
this character is U+00A0 in the file installed by yarn and U+0020 for unpkg version.
The U+00A0 no break white space charactor would cause html files that's haven't specified a charset to display Â(U+00C2) on empty lines on windows 10 os chrome or firefox browser.

I believe this is a problem with unpkg. They should not touch JS code before serving it. But I will remove the usage in our code base to avoid this.

Thank you


Add a Data page

We need a 'Data' landing page for users to access the model upload, data upload etc. pages. This should be reachable from a link in the navbar.

[x] There is a new 'Data' page, accessible at vectoratlas.icipe.org/hub
[x] This new page has a link in the navbar
[x] The page contains links to the model upload and data upload pages for now

/model_upload and /upload

Test created: TC-7.7


[slack] add link names arg

Motivation and Context
Mentioning a developer or pinging a slack channel in a slack message is often a nice feature in cases where a build/deployment fails. Currently it does not link them in a slack message.
Description
Slack API has link_names arg that can be use to link usernames and channels.

@joshdholtz Thank you very much for reviewing my PR. I have signed CLA. Let me know if any other change is required


Spanner pool updates

This PR addresses the following items from #1485:

[x] Change max to 100
[x] Create new sessions/transactions outside of mutex
[x] Ensure Pool#close does not block waiting threads
[x] Use signal instead of broadcast
[x] Synchronize when calling keepalive
[x] Track last used time on session, use for more intelligent keepalive
[x] Handle errors when calling Session#delete_session
[x] Add threading to Pool#init, so it won't block
[x] Cull idle sessions
[x] Change Transaction#keepalive to call BeginTransaction

The remaining items for #1485 are:
-[ ] Cull idle sessions
-[ ] Change Transaction#keepalive to call BeginTransaction
I'll be opening separate PRs for those items.

Since @vkedia hasn't reviewed yet, I added a couple more commits that should complete issue #1485.
We continue to see some intermittent GRPC::Aborted: 10:Aborted due to transient fault errors during the acceptance tests. Not sure why this is yet. Most have been on this branch, but we've had a couple CI builds with the errors as well, so it may not be related to changes in this PR.

@vkedia Can you please review the addition of Concurrent::FixedThreadPool in this PR?


Added able to set request code

It was intentional as you can just get the intent and start the activity yourself


symmetric backend very slow for PEPS tensors

Hey dev team.
I have been working on a PEPS algorithms for simulating 2D fermionic systems with the symmetric backend and it turned out the symmetric backend is very slow for PEPS tensors. I did some profiling and found that the bottleneck is the slow performance of the functions in the blocksparse_utils.py file which mainly contributes to the _find_diagonal_sparse_blocks() and _find_transposed_diagonal_sparse_blocks() functions.
I was wondering if there is any solution to speed up the symmetric backend or any advice or suggestion from your side?

Hi @saeedjahromi, thank you for the message! Great to hear that you are using the library for PEPS.
You are saying that the code is very slow. What is the baseline you are comparing it to (plain numpy, other symmetric tensor code)?  Also, are you doing variational optimization, CTM, or something else? How large are your bond dimensions?
The functions you are mentioning are computing the symmetry blocks of a given tensor (when reshaped into a matrix).
To give some context: Our code uses an approach that is somewhat different from many other publicly available packages. We don't store the individual symmetry blocks of a tensors separately. Instead, all non-zero elements are stored in a 1d data-array (numpy array). If we want to perform contractions, decompositions a.s.o. we use the charge information of each tensor leg to work out which elements of this data-array go into which symmetry block. Working out this mapping can become the bottleneck for small bond dimensions. That said, this approach can have significant advantages if the tensors have higher ranks (~>=4) and/or more than one simultaneous symmetry (e.g. two or more species for fermions, charge conservation + Z2 conservation a.s.o.).
One thing you can do to increase speed is to turn on a "caching" option within the block-sparse code. You can do this with tensornetwork.block_sparse.enable_caching(). If this is turned on, the functions you mentioned above are cached on the inputs. This works very well if there is no truncation step in your algorithm, e.g. via an SVD. If there is an SVD you can still use caching, but the chances of getting a cache hit are significantly reduced. This is because SVDs/truncations often involve more than one tensor in your network, and lead to redistribution of charges across the involved tensors. This makes caching less efficient. Furthermore, due to the constant charge redistribution, the cache may fill up and use a lot of memory. If this happens you can clear the cache using tensornetwork.block_sparse.clear_cache(). You can also just disable caching for the SVD with  tensornetwork.block_sparse.disable_caching().
Let  me know if this helps!

Sure I will prepare a script to benchmark both codes against each other say for CTMRG algorithm.


pre-commit hook?

Have you/someone made a pre-commit hook for this yet?
If not, are you happy for me to?

nb-clean doesn't currently provide any pre-commit hooks, but this would be a welcome addition!

For anyone coming here via search, this is now available--see README.md for details.


changed the styling(color) of submit button

Submit button earlier :

Submit button after (abled) :

Submit button after (disabled) :

Merged!!
Congrats @ghosharnab969 for your first PR

Checks are failing please check and again send the PR


[alert_handler] Harden all counters within the alert_handler

This duplicates all counters/accumulators in the alert handler, and revives old FPV testbenches to test these modules.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

Also, I debugged the FPV assertions such that all of them can be proven.


Integrate showName/hideName Functionality

In main.js, I implemented a simple function that seamlessly toggles the visibility of the figcaption element, serving both show and hide operations on the name of the element (application/game).

hi, like the change but how is showname / hidename being used? i dont see it being called anywhere, anyways I was working on a more optimized version of this so Im going to close it, sorry I should have pushed my changes.


ODF ClassParent parameters are incorrectly parsed as ClassLabel

For example, this:
[WeaponClass]

ClassLabel = "com_weap_inf_smg_n7hurricane"
GeometryName = "m9_tempest.msh"

[Properties]

HUDTag = "m9_tempest"
GeometryName = "m9_tempest"
HighResGeometry = "m9_tempest"
OrdnanceName = "ssv_weap_inf_smg_n7hurricane_ord"

should be this:
[WeaponClass]

ClassParent = "com_weap_inf_smg_n7hurricane"
GeometryName = "m9_tempest.msh"

[Properties]

HUDTag = "m9_tempest"
GeometryName = "m9_tempest"
HighResGeometry = "m9_tempest"
OrdnanceName = "ssv_weap_inf_smg_n7hurricane_ord"

This is caused by both keys being turned into the same BASE chunk, which suggests from the game's point of view they're the same. However it would be easy to add a lookup table to check if we're dealing with a known ClassLabel and output the correct key name for the user's benefit.

Turns out there is one key difference between ClassLabel and ClassParent and that is that the latter produces class references in .req files. So swbf-unmunge simply always using ClassLabel is actually a bug after all. If I (or someone else) ever work on swbf-unmunge again this would be a good and easy thing to fix.


Golang programming resources

Add list of resources to learn Go programming language https://golang.org/

Hi @sachin147, This was your first contribution to open source projects on Github. Thanks for considering AlgoWiki to get started. :heart: :tada: :burrito:
Long away to way! Feel free to add more resources and contribute to AlgoWiki.
Welcome to open source community! :wave:

Thanks @vicky002 . Feels nice to contribute to a good cause.


Roadmap for pykicad

What are you planning on using pykicad for? Adding schemas for the other file formats or the parts you are planning on using should be straight forward...
@wez @lukecyca

I'm going to change the original scope of the project. If someone wants to only use the file format support we can discuss how to accommodate this.
New scope and goals:

port footprint generators from kicad (since they are really high quality) and add a couple of missing ones
autoplace routine and computing footprint boundary box
full pcbnew file format support
drc checking
extend footprint generators to generate 3D models
integration with autorouting engine, probably this one [0] (should be useful for at least estimating the board size)

[0] https://github.com/StefanSalewski/Ruby-PCB-Router

Here's what I need:

Load footprints and schematics with full fidelity of the information in the source file.  There's a few things that you Suppress that it would be good to pass through in some way.  I don't need them in my code, but "worry" that leaving them out of the final pcb file will cause problems with the end result.  There's a rust kicad parser that has a generic way to do this sort of thing

I'm doing things like rotating footprints for myself.  I'm using the shapely library for the transformations.  I don't think that you need to support this in pykicad, but you may need to consider this when thinking about my next point.

I'm assembling the PCB design using the pcbnew python module.  I want to remove this dependency because it is buggy and incomplete.  So I'd like to be able to compose a fresh PCB file using pykicad; I want to add my (potentially rotated) footprint instances, and I want to emit the areas, tracks and vias that I'm computing in my tools.

since I'm importing pcbnew, I have to run the system python 2.x for this to work, which means that I have some nasty local patches to work around some python 3 unicodeisms.  It would be great to make pykicad work out of the box on both python 2 and 3.

DRC would be awesome and save me some work!

re: auto-routing, I've been looking at that ruby router code and at the paper referenced there this past couple of weeks.  I'm building something that works within the constraints of the keyboards that I'm hacking on, but a full featured router is a huge effort.   When I've gotten a little further along, I'll put the code I have up on github.  I'd recommend tackling that later; I don't want to see pykicad get bogged down by an auto-router until after the other stuff is done :-)  In the meantime, for auto-routing, I'd suggest adding support for the .dsn (export) and .ses (import for the routed result) files used by https://github.com/Engidea/FreeRoutingNew (those files also work with other commercial auto routers).  That router does work and is being maintained by someone.

I don't need them in my code, but "worry" that leaving them out of the final pcb file will
cause problems with the end result.

This shouldn't be the case anymore. Since version 0.0.2 this should have been fixed... If you find a case where this isn't true it's a bug.

Load schematics with full fidelity of the information in the source file.

Can you provide more information? Are you using skidl to generate the file? Or are you thinking along the lines of the pin mappings from the libraries? The problem with those is that they don't use the sexpr format yet, but I think this is on the kicad roadmap and going to change in the near future. I'm not too bothered with supporting what is soon to be a legacy file format... I think most of the code for the new format is already in place.

re: schematics, yeah, I'm using skidl.  I blurred the line between skidl and pykicad when writing the above.  Part of what I'm doing is loading the symbol data (via skidl), then I compute which of the pins are available based on a combination of the symbol data and the footprint data (both the purpose and physical position).  I don't care too much where that information comes from, so long as I can get it.  I currently get the symbol info from skidl and that's fine.

I don't yet understand how that mapping works, so I've postponed doing anything there. But I think that should be handled in a different project.
My understanding is that the part library provides a list of pins and a list of footprints that work with those pins. But that seems to me like in most cases that doesn't work very well and you need a 1:1 mapping from the part to the footprint. The same chip in a different package usually has the pins in completely different positions no? So that means an FPGA for example from the same manufacturer, same family and same model needs multiple parts for the different packages?
My thought on handling this is that one FPGA from one manufacturer and family is represented by a circuit parameterized over it's resources. Once I've designed the circuit I want to find the cheapest available FPGA from that family that has the amount of needed resources. So then we'd have an Lattice_HX_FPGA(io=50, bram=8k) to represent the circuit. This is compiled to or amended with a package say BGA(x=40, y=40, pitch=.1) and a mapping [[io_0, bga_43], [io_1, bga_44]....]

Added initial Segment and Via support, not sure yet on how ergonomic the API is...

@wez how's your keyboard project going?
Just released pycircuit 0.0.1. If you like skidl I think you might like it. It's still early and missing support for ERC checking and importing footprints from kicad but it has a nice way of specifiying them in python. It exports circuits to graphviz and layouts to kicad and svg. It also supports importing modules from kicad. There is also support for delunay triangulation and shortest path queries for routing and half perimeter length queries for placement algorithms.
Exporting to spice and fpga toolchain integration are on the todo list but there's currently more important things :)

ooh, very interesting, I'll play around with it!


Build failed with an exception.  FAILURE: Build failed with an exception.

When i Try to run "Flutter Run" on the Android emulator
/mine/app/flutter/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-0.5.8/android/src/main/kotlin/top/kikt/imagescanner/core/utils/IDBUtils.kt: (154, 50): Type mismatch: inferred type is Uri? but Uri was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':photo_manager:compileDebugKotlin'.
> Compilation error. See log for more details

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
• Flutter version 1.22.0 at /Users/xiehui/mine/app/flutter
• Framework revision d408d302e2 (5 weeks ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
• Android SDK at /Users/xiehui/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.1.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 47.1.3
• Dart plugin version 201.7846.93
[✓] Connected device (1 available)
• AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

Please use the latest version of the package.

solution：

flutter clean
flutter clean
flutter pub cache clean
flutter pub get


[jest-worker] Don't crash when running node with flags disallowed in workers

Summary
I noticed that Babel's CI started failing with this error a few days ago:
Error [ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid NODE_OPTIONS env variable: --openssl-legacy-provider is not allowed in NODE_OPTIONS
    at new NodeError (node:internal/errors:371:5)
    at new Worker (node:internal/worker:194:13)
    at ExperimentalWorker.initialize (/home/circleci/babel/scripts/integration-tests/tmp/create-react-app/node_modules/jest-worker/build/workers/NodeThreadsWorker.js:149:20)

Then, I noticed #12103 which fixes the problem for a specific option, and I found the root cause in #12069. I don't understand why #12069 specifies execArgv: process.execArgv, but removing it should fix the bug for all the different options that currently make jest-worker crash (I don't even know if this list is documented, but I can try finding it again in the Node.js source if needed).
<rant>
I am really annoyed by this Node.js behavior. Reading the docs it looks like the default value of execArgv is process.execArgv, but it's not. Yesterday I spent some time trying to fix this same identical bug in a non-jest-related PR I was working on for Babel (https://github.com/babel/babel/pull/14025#issuecomment-986234760) and just after reading the Node.js source code I realized that it's an important difference: if you pass execArgv: process.execArgv Node.js validates it; if you don't pass anything it uses process.execArgv without performing any validation.
If you read the docs knowing this difference you can see that it never actually says that process.execArgv, but it's really annoying that this difference is not explicitly stated and they make you think that it's the default value.
</rant>
Test plan
CI :crossed_fingers:
I did this change from the GH UI; lets see if it works.

Ok I need to clone the repo locally to understand what's going on; I thought execArgv in the now failing test was coming from ...this._options.forkOptions.

Ok, I'd argue that the test is not testing what it should; let me update it.

Passing execArgv: process.execArgv in #12069 was a breaking change, for the reason highlighted above. However, after this PR:

Users can still pass custom execArgv in forkOptions.
The default value of execArgv in a worker are the execArgv of the parent thread (not the value of process.execArgv, but the original arguments used to start the thread).

If someone needs the behavior introduced in #12069 (i.e. enforce validation of the exec argv of the parent thread), they can explicitly pass forkOptions: { execArgv: process.execArgv }.

Codecov Report

Merging #12128 (37db5f0) into main (3093c18) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #12128      +/-   ##
==========================================
- Coverage   67.71%   67.71%   -0.01%
==========================================
  Files         328      328
  Lines       16990    16989       -1
  Branches     4817     4817
==========================================
- Hits        11505    11504       -1
  Misses       5452     5452
  Partials       33       33

Impacted Files
Coverage Δ

...kages/jest-worker/src/workers/NodeThreadsWorker.ts
93.54% <ø> (-0.07%)
:arrow_down:

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 3093c18...37db5f0. Read the comment docs.

I also opened https://github.com/nodejs/node/issues/41103 to lift this restriction from the Node.js side.

+1 for fixing it
in my case it is falling on max_http_header_size
filtering v => !/^--(max_old_space_size|max-old-space-size)/.test(v), is a very selective way to fix much bigger issue
[13:32:37][Step 1/7] Error [ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid execArgv flags: --max_http_header_size=20000
[13:32:37][Step 1/7]     at new Worker (internal/worker.js:153:13)
[13:32:37][Step 1/7]     at ExperimentalWorker.initialize (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/workers/NodeThreadsWorker.js:149:20)
[13:32:37][Step 1/7]     at new ExperimentalWorker (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/workers/NodeThreadsWorker.js:145:10)
[13:32:37][Step 1/7]     at WorkerPool.createWorker (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/WorkerPool.js:44:12)
[13:32:37][Step 1/7]     at new BaseWorkerPool (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/base/BaseWorkerPool.js:127:27)
[13:32:37][Step 1/7]     at new WorkerPool (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/WorkerPool.js:30:1)
[13:32:37][Step 1/7]     at new Worker (/opt/tc-agent/work/e98f5429040b0b37/node_modules/jest-worker/build/index.js:167:26)
[13:32:37][Step 1/7]     at getWorker (/opt/tc-agent/work/e98f5429040b0b37/node_modules/@angular-devkit/build-angular/node_modules/terser-webpack-plugin/dist/index.js:288:9)
[13:32:37][Step 1/7]     at /opt/tc-agent/work/e98f5429040b0b37/node_modules/@angular-devkit/build-angular/node_modules/terser-webpack-plugin/dist/index.js:389:41
[13:32:37][Step 1/7]     at /opt/tc-agent/work/e98f5429040b0b37/node_modules/p-limit/index.js:23:31
[13:32:37][Step 1/7]     at run (/opt/tc-agent/work/e98f5429040b0b37/node_modules/p-limit/index.js:23:43)
[13:32:37][Step 1/7]     at /opt/tc-agent/work/e98f5429040b0b37/node_modules/p-limit/index.js:45:20

/cc @kherock FYI

https://github.com/facebook/jest/releases/tag/v27.4.4


getSingleResult() makes 3 requests to DB

I'm not sure if this is the expected behaviour, wanted to double check.
This simple query makes 3 requests to database. Feels like an overhead.
$qb = $dm->createQueryBuilder('TopboardAppBundle:Company')->field('thirdLevelDomain')->equals('testdomain');
$company = $qb->getQuery()->getSingleResult();

Doctrine logs:
[2016-06-29 11:03:24] doctrine.DEBUG: MongoDB query: {"find":true,"query":{"thirdLevelDomain":"testdomain"},"fields":[],"db":"relayto-app-prod","collection":"Company"} [] {"url":"/api/company?thirdLevelDomain=testdomain","ip":"<IP_ADDRESS>","http_method":"GET","server":"xxx.dev","referrer":null,"unique_id":"V3Oc6n8AAAEAABvxI3gAAAAJ"}
[2016-06-29 11:03:24] doctrine.DEBUG: MongoDB query: {"limit":true,"limitNum":1,"query":{"thirdLevelDomain":"testdomain"},"fields":[]} [] {"url":"/api/company?thirdLevelDomain=testdomain","ip":"<IP_ADDRESS>","http_method":"GET","server":"xxx.dev","referrer":null,"unique_id":"V3Oc6n8AAAEAABvxI3gAAAAJ"}
[2016-06-29 11:03:24] doctrine.DEBUG: MongoDB query: {"limit":true,"limitNum":null,"query":{"thirdLevelDomain":"testdomain"},"fields":[]} [] {"url":"/api/company?thirdLevelDomain=testdomain","ip":"<IP_ADDRESS>","http_method":"GET","server":"xxx.dev","referrer":null,"unique_id":"V3Oc6n8AAAEAABvxI3gAAAAJ"}

Is it the expected behaviour or my mistake or something else?

@websirnik would it be possible for you to create a test case? Here you may find an example of how I was testing number of fired queries.

 While it may seem so, the multiple log entries are due to the architecture of MongoDB and ODM:

The first log entry is for the find in Doctrine\ODM\MongoDB\Persisters\DocumentPersister:499. This creates a cursor object which is used later.
The second log entry is for the limit in Doctrine\MongoDB\Cursor:324 and the last log entry is for resetting the original limit in Doctrine\MongoDB\Cursor:330.
The query is run once: between the second and third log entry in Doctrine\MongoDB\Cursor:327. This is necessary since the cursor object may be used again later, so the original limit must be restored.

@alcaeus thanks for the explanation. Is there a log level/config that logs only actual queries? Or should I go to the MongoDb logs for that?

You should go to MongoDB for that. The way MongoDB queries and cursors work doesn't allow us to do this efficiently.


Alternate fasta extensions

This block of code in MetaMorpheusTask should also recognize the extension ".fa", which is also used for fastas occasionally, e.g. by Ensembl.
            if (Path.GetExtension(fileName).Equals(".fasta"))
            {
                um = null;
                return ProteinDbLoader.LoadProteinFasta(fileName, generateTargets, decoyType, isContaminant, ProteinDbLoader.uniprot_accession_expression, ProteinDbLoader.uniprot_fullName_expression, ProteinDbLoader.uniprot_fullName_expression, ProteinDbLoader.uniprot_gene_expression);
            }

done in #934


how to change user models

namespace Kordy\Ticketit\Models;
use App\Models\UsersModel as User;
use Auth;
class Agent extends User
{
protected $table = 'tbl_users';
.....
}
I have changed User model on agent model
but while installing ticket module, has error maybe not changed User model
how about that thanks

Since Agebt extends User, it is enough to update the table property o User, you don't have to touch Agent. But if you use a different table, you might want to be careful migrations.

thanks for your answer
now I am integrating this ticket package to existing project
so I gona change User model (that is Auth model )
my auth model is app\Models\UsersModel
but there is no users table only tbl_users

and I cannt publish this config/Ticketit.php


not implemented: MkCons and MkPairData should be handled by an anon function or using [] or ( a, b, .., z)

I've just replaced list.push with cons_list to check if it is more efficient, and then got the error:
   aiken::fatal::error
   Whoops! You found a bug in the Aiken compiler.

   Please report this error at https://github.com/aiken-lang/aiken/issues/new.
   In your bug report please provide the information below and if possible the code
   that produced it.

   Operating System: linux
   Architecture:     x86_64
   Version:          v1.0.29-alpha+16fb02e

   crates/aiken-lang/src/gen_uplc.rs:4517:25

       not implemented: MkCons and MkPairData should be handled by an anon function or using [] or ( a, b, .., z).

so...here I am :)
You can reproduce it with this snippet:
use aiken/list
use aiken/builtin

fn buggy(arg: List<Int>) -> List<Int> {
  let result =
    arg
      |> list.foldl([], fn(x, acc) { builtin.cons_list(x, acc) })
  result
}

fn not_buggy(arg: List<Int>) -> List<Int> {
  let result =
    arg
      |> list.foldl([], fn(x, acc) { list.push(acc, x) })
  result
}

test bug() {
  let a =
    [1, 2, 3, 4, 5]
  not_buggy(a) == buggy(a)
}

The bracket operators are simply the cons_list under the hood. There is a type conversion that is necessary so that's why I blocked the builtin for now.


net/freeradius: Won´t start after update to 21.1.7

Describe the bug
After the update to 21.1.7 freeradius won´t start.
To Reproduce

Update from 21.1.6 to 21.1.7

Expected behavior
Running freeradius
Relevant log files
2021-06-16T15:01:18		Error: /usr/local/etc/raddb/mods-enabled/eap[15]: Instantiation failed for module "eap"
2021-06-16T15:01:18		Error: rlm_eap (EAP): Failed to link rlm_eap_leap: Cannot open "/usr/local/lib/freeradius-3*/rlm_eap_leap.so"
2021-06-16T15:01:18		Warning: [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" 	found in filter list for realm "DEFAULT".
2021-06-16T15:01:18		Warning: [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" 	found in filter list for realm "DEFAULT".
2021-06-16T15:01:18		Info: Debugger not attached

Environment
OPNsense 21.1.7-amd64
AMD GX-412TC SOC (4 cores)

More context and workaround: https://forum.opnsense.org/index.php?topic=23556.0

opnsense-revert -r 21.1.6 freeradius3


icon with test

when i try this
<Button text="{{'fa-sign-in' | fontawesome}} Sign In" class="fa btn btn-primary btn-md" tap="signIn" />

it just renders it all as text. If i remove the "Sign In" it works as expected

Try this
<Button text="{{ fontawesome('fa-sign-in') + ' Sign In' }}" class="fa btn-primary" tap="signIn" />


colab page not found error

hello. noob here. why am i getting this error?

Hey did you find a solution to this error


Apply optional burning tax to terra station rewards for LUNC

Summary
Apply an optional burning tax on terra station staking rewards for LUNC upon withdrawal.
Motivation
This could drastically decrease the current supply of Terra Luna Classic which will help to put LUNC back on healthy levels and gain traction again amongst other major cryptocurrencies.
Proposal
Applying the optional burning tax on terra staking rewards can help to decrease the current circulating supply and potentially help the community to be self sufficient without the need to rely on the central exchanges to burn the extra tokens.
The implementation can be added on terra station when the user tries to withdraw the rewards. An optional box with numeric (decimal) field that can be applied before the withdrawal. Once the user withdraw the rewards, the optional burning tax will be calculated and subtracted from the total withdrawn rewards. i.e. total rewards = 10000, optional burning tax set = 50%, the total withdrawn lunc = 5000 and the rest will be burnt.

Is the 1,2% burning tax not already applied on staking reward withdrawal?

Is the 1,2% burning tax not already applied on staking reward withdrawal?

Nope


Encoding issues solved

Encoding has been solved to support ruby 1.9.2 and ruby 2.
All test has been passed.

Hi, sorry for the late response:
I'm currently trying to merge this. How are you running the tests? Using 'rake test' I just get a convoluted error, not sure how to make that go away to even run the tests:
Users/a2800276/.rvm/rubies/ruby-2.1.2/bin/ruby -I"lib:test:." -rubygems -I"/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib" "/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/BitmapTests.rb" "test/bla_test.rb" "test/message_test.rb" "test/test_codec.rb" "test/test_fields.rb" "test/test_seperate_msg.rb" "test/test_util.rb"
Warning: you should require 'minitest/autorun' instead.
Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
From:
/Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:1:in <top (required)>'   /Users/a2800276/projects/ruby/8583/test/BitmapTests.rb:2:in <top (required)>'
/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:15:in block in <main>'   /Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in select'
/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in <main>' MiniTest::Unit::TestCase is now Minitest::Test. From /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in module:Unit'
/Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:676:in <class:Runner>': undefined method _run_suite' for class Test::Unit::Runner' (NameError) 	from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:261:in module:Unit'
from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:15:in <module:Test>' 	from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:7:in <top (required)>'
from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /Users/a2800276/projects/ruby/8583/test/BitmapTests.rb:2:in <top (required)>' 	from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /Users/a2800276/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:15:in block in '
from /Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in select' 	from /Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in '
rake aborted!
Command failed with status (1): [ruby -I"lib:test:." -rubygems -I"/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib" "/Users/a2800276/.rvm/gems/ruby-2.1.2/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/BitmapTests.rb" "test/bla_test.rb" "test/message_test.rb" "test/test_codec.rb" "test/test_fields.rb" "test/test_seperate_msg.rb" "test/test_util.rb" ]
/Users/a2800276/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in eval' /Users/a2800276/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in '
Tasks: TOP => test
(See full trace by running task with --trace)

Hm. So I "solved" that issue by using rvm to install clean 1.9, 2.1, 2.2.0 and 2.2.1 versions.
Still using those, versions, none of the spec run through without failure:
1.9:
  1) Failure:
test_hex2b(UtilTest) [/Users/a2800276/projects/ruby/8583/test/test_util.rb:8]:
<"\xAB\xCD\x12"> expected but was
<"\xAB\xCD\u0012">.

38 tests, 275 assertions, 1 failures, 0 errors, 0 skips

2.1.5:
[35/38] UtilTest#test_ascii2ebcdic = 0.00 s
  1) Failure:
UtilTest#test_ascii2ebcdic [/Users/a2800276/projects/ruby/8583/test/test_util.rb:30]:
<"\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9"> (UTF-8) expected but was
<"\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9"> (ASCII-8BIT).

2.2.0: same failure are 2.1, only more colorful
2.2.1:
/Users/a2800276/.rvm/rubies/ruby-2.2.1/bin/ruby -I"lib:test:." -rubygems  "/Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/BitmapTests.rb" "test/bla_test.rb" "test/message_test.rb" "test/test_codec.rb" "test/test_fields.rb" "test/test_seperate_msg.rb" "test/test_util.rb"
/Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- test/unit (LoadError)
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/a2800276/projects/ruby/8583/test/BitmapTests.rb:2:in `<top (required)>'
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_test_loader.rb:15:in `block in <main>'
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_test_loader.rb:4:in `select'
	from /Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!
Command failed with status (1): [ruby -I"lib:test:." -rubygems  "/Users/a2800276/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/BitmapTests.rb" "test/bla_test.rb" "test/message_test.rb" "test/test_codec.rb" "test/test_fields.rb" "test/test_seperate_msg.rb" "test/test_util.rb" ]

I find this really depressing and it's more or less the reason I think I will have to give this project up. If every single minor version change in ruby requires changing the test setup, there's no way I can support this.
Let me know if you have any ideas or if there's something I'm doing wrong (either in the test scripts or the way I run them) that's obvious to people who deal with this stuff all the time ...
(& thanks very much for your effort this far!)

I fix this issue adding ".force_encoding('UTF-8')" in the ascii2ebcdic method.
util.rb on  line 49-51
  def ascii2ebcdic(ascii)
    _conv(ascii, US_ASCII2IBM037).force_encoding('UTF-8')
  end

I think the ASCII-8bit is the proper encoding for bytes? (actually I think there should be a 'RAW' encoding or a bytes class, it's not unheard of that programmes actually deal with bytes ...).
What do you think? I'd just change the tests and force the expected String values to ASCII...
Also: when you ran the tests against 1.9.2 everything passed? Unfortunately, rvm won't install 1.9.2 on OSX, 1.9.1 won't even start. But then 1.9.3 which I'm using has the above error ...


is it working in synergy / with Vue Loader and Nuxt?

I'm working with VueJS (specifically with NuxtJS) and I got an issue to use this loader.
In particular I'm trying to load the loader as extend loader for Nuxt in the nuxt.config.js file.
Nuxt has its own way to add loaders to webpack (for what I understand).
Questions:

Is the loader working with Vue and Vue Loader?

Is the loader working with Nuxt?
If so could you provide some snippets/example for adding it?

Best

Please provide reproducible test repo, i don't know, but should be work

yep you're right.
I've created a test repo here:
https://github.com/valeriosillari/-nuxt-modernizr
In the Readme file you could find the info about the files where I guess the code should be set.
Any suggestions and help is welcome :)

@valeriosillari  My solution that works for me:

Create a modernizrrc.js file with your modernizr options.

module.exports = {
  minify: true,
  options: ['addTest', 'setClasses'],
  'feature-detects': []
}

Create a modernizr.client.ts file in your NuxtJS plugin folder (note that i am using typescript, you can ditch ts part

import Vue from 'vue'
import MobileDetect from 'mobile-detect'
const Modernizr = require('modernizr')

declare module 'vue/types/vue' {
  interface Vue {
    $isMobile: boolean
    $isPhone: boolean
    $isTablet: boolean
    $isBot: boolean
  }
}

(function initModernizr (Modernizr) {
  const md = new MobileDetect(
    navigator.userAgent
  )
  const grade = md.mobileGrade()
  Modernizr.addTest({
    mobile: !!md.mobile(),
    phone: !!md.phone(),
    tablet: !!md.tablet(),
    bot: !!md.match(
      'googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora|showyoubot|outbrain|pinterestbot|slackbot|vkShare|W3C_Validator'
    ),
    mobilegradea: grade === 'A'
  })
})(Modernizr)

Vue.prototype.$isMobile = Modernizr.mobile
Vue.prototype.$isPhone = Modernizr.phone
Vue.prototype.$isTablet = Modernizr.tablet
Vue.prototype.$isBot = Modernizr.bot

In your nuxt.config.js extend the build property and be sure to pass correct path to your modernizrrc.js !!!

  build: {
    extend (config, { isClient }) {
      if (isClient) {
        config.module.rules.push({
          test: /modernizrrc\.js$/,
          use: { loader: 'webpack-modernizr-loader' }
        })
        config.resolve.alias.modernizr$ = path.resolve(
          __dirname,
          **'../../modernizrrc.js'**
        )
      }
    }
  },

Add your plugin to nuxt.config.js plugins property

plugins<EMAIL_ADDRESS>

PR welcome to docs

Someone knows how to do same thing as @andynoir but in Next.js? Thanks!

Found a nuxt plugin helping me with this issue:
https://github.com/dword-design/nuxt-modernizr#readme


Update packages and add missing Windows package

Add missing package to run the consumer tests on Windows.
Update the various packages to their latest versions.
Fixed a compiler warning.

👍


MCS-350 Normalizing movement

Removed 'amount' from movement actions (wasd) and normalized to 0.25. Anything smaller wouldn't register for some reason (grid size?).
Replaced RotateLook(rotation,horizon) with RotateLeft, RotateRight, LookUp, and LookDown. Each rotation happens in 10 degree increments.
There will be a corresponding ai2thor PR in the same vane.

@deanwetherby I see that you set the Look and Rotate degrees to 10.  Should we have a discussion with our subs as to what the correct number should be?


[FLINK-10687] [table] Make flink-formats Scala-free

What is the purpose of the change
This PR makes the flink-formats module Scala free by introducing a flink-table-common module that is implemented in Java. This module contains all classes that are required across different Maven modules.
Brief change log
The following classes have been migrated to Java:
./src/test/java/org/apache/flink/table/descriptors/DescriptorTestBase.java
./src/test/java/org/apache/flink/table/factories/TableFormatFactoryBaseTest.java
./src/main/java/org/apache/flink/table/utils/TypeStringUtils.java
./src/main/java/org/apache/flink/table/utils/EncodingUtils.java
./src/main/java/org/apache/flink/table/descriptors/Descriptor.java
./src/main/java/org/apache/flink/table/descriptors/DescriptorBase.java
./src/main/java/org/apache/flink/table/descriptors/ConnectorDescriptorValidator.java
./src/main/java/org/apache/flink/table/descriptors/FormatDescriptor.java
./src/main/java/org/apache/flink/table/descriptors/DescriptorValidator.java
./src/main/java/org/apache/flink/table/descriptors/FormatDescriptorValidator.java
./src/main/java/org/apache/flink/table/descriptors/DescriptorProperties.java
./src/main/java/org/apache/flink/table/descriptors/ConnectorDescriptor.java
./src/main/java/org/apache/flink/table/factories/TableFactory.java
./src/main/java/org/apache/flink/table/factories/TableFormatFactory.java
./src/main/java/org/apache/flink/table/factories/DeserializationSchemaFactory.java
./src/main/java/org/apache/flink/table/factories/SerializationSchemaFactory.java
./src/main/java/org/apache/flink/table/factories/TableFormatFactoryBase.java
./src/main/java/org/apache/flink/table/api/ValidationException.java
./src/main/java/org/apache/flink/table/api/TableException.java
./src/main/java/org/apache/flink/table/api/TableSchema.java

Additionally, all classes in this module have been annotated with @Internal and @PublicEvolving accordingly.
Since the methods in Descriptor were declared with private[flink] visibility, they have been migrated to a new toProperties() method that is public.
Verifying this change
All existing tests are still successful.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? JavaDocs

I did review everything except the new parser. Are there any tests that test more complex things, like nested types, deep nesting, and things?
Otherwise this looks good. 👍

Thanks for the review @aljoscha. I added more tests and improvements to the type parser.

I only had a detailed look at classes in flink-table-common. Big PR while changes are mostly renaming and migrating without introducing new feature. Look very good to me!

Thanks everyone. I will merge this now...


Make view_component version less specific

We've seen a problem arise a few times when new versions of view_component are released and the automatic upgrades resolve govuk-components back to version 1.2.0.
Now view_component has stabilised we can loosen it.

Guide is failing to build, looks related to this issue.


doesn't seem to work with Github Enterprise?

Using Github Enterprise (GHE) the URLs for the repos and APIs are different. I have set GITHUB_SERVER_URL, GITHUB_GRAPHQL_URL and GITHUB_API_URL without success.  It seems to be ignoring the GRAPHQL URL variable entirely, or I am setting it wrong.
Error: request to https://api.github.com/graphql failed.
on:
  workflow_dispatch:

jobs:
  rebase:
    strategy:
      matrix:
        repo: [foo/bar-repo]
    runs-on: [ build_system ]
    steps:
      - uses: peter-evans/rebase@v2
        env:
          GITHUB_SERVER_URL: https://github.xyz.com
          GITHUB_API_URL: https://github.xyz.com/api/v3
          GITHUB_GRAPHQL_URL: https://github.xyz.com/api/graphql
        with:
          token: ${{ secrets.PAT_TOKEN }}
          repository: ${{ matrix.repo }}

I am not quite sure where it's failing (is there a debug mode?) specifically.

Hi @matthewfischer
I've released a new version of the action (v2.1.0 / v2), which hopefully works on GHE. It's difficult for me to test so please let me know if you run into any further issues.
By the way, I'm not sure if you need to set the environment variables explicitly in the workflow like that. Try without first, because I have a feeling those are set automatically on the runner.

Done and it still works. Thanks again!


Provide relevant help message regarding etcd snapshot changes when editing cluster after rancher upgrade

Rancher version: v2.1.6
Upgraded version: master
Steps:

Create a 3 node cluster with all 3 roles in v2.1.6
Create few workloads
Upgrade rancher from v2.1.6 to master
After upgrade, edit the cluster and change any setting(Pod security policy etc) other than the etcd backup snapshots and hit "Save"

The legacy etcd snapshots also get changed to the new local backup.
The user is not informed that changing any of the fields will change the legacy etcd snapshots  to the new local backup
Add proper help that will inform the user of this change . Also, add information that  user can change other fields without changing the snapshot related settings through API or API UI

I see this in latest master.

It will show appropriate numbers depending on what your last settings were.

@davidnuzik I've moved the warning to a more prominent location as apart of the referenced PR.

Version: v2.1.6 -> Master 2.2 (3/5/19) Upgrade
Confirmed issue.
The message is shown and clearly states what changes will happen and your options. The message also shows correct retention duration (mine is custom 71h instead of 72h as pictured below). The message placement makes it hard to miss as it is shown 1) without expanding any sections and 2) on the first page without any scrolling needed unless at very low resolution / browser dimensions.

When I view advanced cluster options my Snapshot Creation Period is still correct as well (my previous setting before upgrade). I can successfully save after making a small change to the cluster such as slightly changing node port range. I encounter no issues.


AD Integration

It would be good to be able to configure an AD server to authenticate users within a domain.

I've added the README now, so this should be good to merge.


Problem with GSAP timeline

Version
3.0.0-rc.10
Reproduction link
https://codepen.io/Paavo/pen/zYqpPpr
Steps to reproduce
Store a GSAP .timeline() object in data and try to use the "to" function.
What is expected?
The Animation should work
What is actually happening?
nothing.

The animation objects that you get with .getChildren() seem to be proxied too.

Use markRaw():
this.tl = Vue.markRaw(gsap.timeline({ paused: true }));

Or do not declare tl in data so it's not reactive


Statistics.ts needs rewrite

Redo logic and ensure are variables are correctly null/undefined-checked.

@IAmBitfrost We should turn on strict mode for TS

@IAmBitfrost We should turn on strict mode for TS

I thought we already did? If not then I'm totally in agreement

Plz fix

Closed with https://github.com/Mr1upMachine/rusty-bot/pull/89


html tags turn green except

HTML tags such as , ,  etc., turn all to green instead of blue. I think the extension treats it like a component or something. The problem exists in version 0.34 up. I am currently using Volar 0.33.10 and all HTML tags are blue.
I am currently using Vue 3, with Options API and Composition API mixed together in the project.
I have attached below the screenshot comparison of 0.33.4 and 0.33.10 versions of Volar.

Duplicate of #1158


Markdown changes

Revamp markdown and template processing a bit.  Rip out the pre-generation of a site.  Add the ability to have multiple templates specified in a single config directive.  Templates can now be used to implement directory indexes in Markdown/template style format.
Attempt to cleanup and re-organize.  Could use another go.

A quick comment to give some direction of how the documentation would need to be changed:
markdown [baseurl] {
    ext extentions...
    [css|js] url
    template [name] filepath
    templatedir <filepath | fileglob>
}

baseurl is the base url to match.  Markdown will not activate if the request URL is not prefixed with this URL path.  Default is the site root.
extensions is a space delimited list of file extensions to treat as Markdown content.  Defaults to: ".md .markdown .mdown".  Note, this is different from the ext directive, which indicates possibly missing file extensions.
css argument indicates a CSS url to include on the generated page
js argument indicates a JavaScript url to include on the generated page
url specifies the URL for the css or js stanzas
template defines a template with the given name to be at the given filepath.  To specify the default template, omit *name.  Markdown files can choose a template by using the template name in its front matter.  If no template is specified, the default template is used.
templatedir defines a set of templates to load.  The indicated path must specify at least one template, and can use file pathname globs such as '*', and '?'.  All templates specified are loaded, and given the names of their respective filenames.  These can then be specified in using template in the frontmatter.

I will look at this soon. And pinging @abiosoft to take a look too.

This rebases nicely onto mholt/master at the moment.
git remote add mholt https://github.com/mholt/caddy.git
git fetch mholt
git rebase mholt/master

No metadata is pulled from other pages in the same directory. Which is okayish.
A static website generator that works similarly is https://github.com/wmark/thot. It knows keyword expires for not serving a file anymore (410), and callbacks for custom markup (in this case, TeX for math formulas), as well as full-site filters (for hyphenation, but this could be link rewriting with Caddy).

Could we turn the whole directory listing thing into a function that is called within the template, when actually needed? You could borrow it from browse.

I think we should come up with an explicitly specified environment that templates are compiled and run in/with.  Both in terms of the extra functions/actions that are provided, as well as the context they're executing in.
At the current time, we have an .Include that could also be implemented by calling a named template {{template 'foo' .}}.  Personally, I prefer that templates are compiled once, and then executed repeatedly.  If nothing else, for speed/GC reasons.  I also prefer that they are given a full context on execution, as opposed to invoking various sub-functions.  But the last one I'm less vocal about.

With respect to:
Not agreeing on the whitespace and {{-. Can be managed.

  So the output ends up not being indented.  Now, it is HTML, so the indentation really does not matter (browsers won't care), but since the template was already indented in such a manner that the output was nicely indented, I made the template output nicely indented HTML.  I poked at this for quite some time.  Anyways, is this: https://play.golang.org/p/Q3MK1cnC_s what you were thinking of?

I too run into this all the time. But:
https://play.golang.org/p/rHWJNbvnZ4

Ok, yours has the last head mis-indented.

You see, running into this again. But this works:
https://play.golang.org/p/mECojt8vCD
But it's really bikeshedding now.

@weingart How do you feel about this being merged soon? Is there anything else you wanted to do to it? (What was it that we decided about rendering the summaries, again?)

I'm ok with it as is, without summaries (you may disagree).  At some point, possibly soon, summaries should be figured out and put back in.  But I'm not 100% sure yet on how to do that cleanly.  Possibly it could be done as a slight re-write in combination with browse and fileserver.

@weingart @wmark This has my OK now, if you're ready to merge it in.

LGTM
Perhaps @weingart wants to squash some commits himself? Especially the small ones that don't form a distinct feature addition on their own? Would be a shame to make a big diff out of this.

I believe there may have already been some squashing from earlier (I might be wrong, getting it confused with something else), but @weingart we'll merge this in as soon as we have your approval.

Merge away  :)

@weingart your PR brings a lot of clarity to the PR and makes it a nice read! Thanks!