text:
Unsoundness or at least unexpected behaviour when admitting a function used in refinement

Using the following F* version (the docker nightly):
F* 0.9.7.0~dev
platform=Linux_x86_64
compiler=OCaml 4.05.0
date=2018-10-04T09:44:36+0000
commit=d8787574f4a7488d19a5a2bdd05781064e9c827f (dirty)

The following module type checks without errors, though the implementation of client (last line) obviously shouldn't (see the refinement on its return type):
module SomeBug

type id = int

type role =
  | Client: role
  | Server: role

val id_to_role: id -> role
// If I put some implementation here (like "if e = 0 then Server else Client"), the type check fails as expected
let id_to_role e = admit()

// If I remove the refinement on server_entity or client_entity, the type check fails as expected
type server_entity = e:id{id_to_role e = Server}
type client_entity = e:id{id_to_role e = Client}

type client_data =
  | ClientData:
      server: server_entity ->
      client_data

type client_state =
  | ClientState:
      client_dataset: list client_data
// If I remove this length refinement, the type check fails as expected
        { List.Tot.length client_dataset > 0 } ->
      client_state

val client:
  id: client_entity ->
  input_state: client_state ->
  optional_output: option (int) {False}

let client id input_state  =
  Some 1 // or None, doesn't matter

We first suspected the admit() might somehow disable all refinements (if that's the case, at least a clear warning should be issued), but the following module does NOT type check (as one would expect):
module FailsAsExpected

type id = int

type role =
  | Client: role
  | Server: role

val id_to_role: id -> role
let id_to_role e = admit()

val test: cid: id{id_to_role cid = Client} -> oop: option int {False}
let test id = Some 1

In any case: If the admit somehow leads to ignoring refinements on a completely different function, this is unexpected to say the least - and if it is intentional, I think a warning would be appropriate.

Hi @SECtim:
An inconsistency is introduced in the logic as soon as types server_identity and client_identity are defined:
val id_to_role: id -> role
let id_to_role e = admit()

type server_entity = e:id{id_to_role e = Server}
type client_entity = e:id{id_to_role e = Client}

let foo (x:server_entity) (y:client_entity) :squash False = ()

The reason is that, F* encodes a definition of id_to_role as admit, which is a constant symbol. And then, the refinements on the types server_identity and client_identity are saying that Server = admit and Client = admit, meaning Server = Client. This is a contradiction to the distinctness of data constructors Server and Client.
In general, admit, assume, magic etc. are unsafe and can lead to such behaviors (unexpected proofs of False in a different function, for example).  It is hard to track and contain such things in the logic.
As for the warning, they are highlighted in red color in the emacs editor. We could emit a warning on the command line too, but I don't know if that helps too much.
I am closing this issue for now. But happy to discuss more if needed.
Thanks!

Thank you very much for your explanation, makes sense.
I understood "admit" as a way of telling F* "assume that this function may output everything that is allowable from its type" - but never thought about how this could be implemented (and thus whether my intuition was correct, which it obviously isn't).

You could use assume val id_to_role :id -> role for that. And then, it is more like we don't know anything about this function. With this, the False proofs don't go through.

authors: SECtim aseemr

repo: FStarLang/FStar

license_source: bigquery


text:
Option to disable all of formatting (like subscript)

It would be nice if it were possible to disable all formatting in order to see the file we edit (syntax coloring is fine).
Most of the options may already be disabled (like prettify-symbols-mode and visual-line-mode), but the subscript formatting (like foo42 visualized as $foo_{42}$) currently cannot.

You can disable prettify-symbols-mode from fstar-enabled-modules.
I'm happy to add an option to disable subscripts. Are there other things? (Also, do you have examples of subscripts being a problem? They shouldn't hide anything from your buffer — they should just shift some text vertically)

Thanks for the fstar-enabled-modules. I configured it as I want and removed the redundant parts from my fstar-mode-hook. I just wonder what are fstar overlays and opinionated company-mode.
I still have one more query. If it would be possible to split the "Comment syntax and special comments" in two, "comment syntax" and "special comments", it would be great although not necessary. I don't use those special comments in my own code.
Other than that, the formatting looks pretty good to me.
The problem I have with subscripts (probably because I'm starting to be a dinosaur), is that it doesn't bring any visual help to me and the criteria looks pretty arbitrary. Why do something for foo42 and nothing for foo_42? I can imagine why people would benefit from forall to ∀ or other mathematical symbols, but I still prefer to have fixed space buffers, both horizontally and vertically. All in all, the only things that I find helpful without altering the actual file content, is syntax coloring (because it doesn't really affect the display, unless the foreground color is close to the background color) and the company completion (because it's an alteration which is limited in time: we know when it is active). Stuff like modeline (for type and documentation) is in a separate window so it's clearly limited in space: we know it's not part of the file.
And thanks for the mode! It's really helpful and nice to use. A good mix between proof general and company-style programming modes.

Noted, thanks for the clarification. I'll try to do the subscript thing soon.
When enabled, the Show a legend in the modeline when hovering an F* overlay option adds a hovertext to processed or in-processing code fragments, reminding you of the meaning of the various colors:

Opinionated company-mode configuration is a set of non-default settings for company-mode that work well with fstar-mode's backend:
(defun fstar-setup-company-defaults ()
  "…"
  (company-quickhelp-local-mode 1) ;; Shows docs in a popup
  (setq-local company-idle-delay 0.01) ;; Complete immediately
  (setq-local company-tooltip-align-annotations t) ;; Align annotations to the right
  (setq-local company-abort-manual-when-too-short t)) ;; Abort even manual completion on short prefixes, for performance reasons

Ok cool. Thanks for the explanations.

Done :)

Cool it works. I just needed to update the package. Thanks!

source: gharchive/issue

license_type: permissive


text:
[feature request] support VOI spatial feature

e.g. PLI volume of interest

This is already implemented!
import siibra
atlas = siibra.atlases.MULTILEVEL_HUMAN_ATLAS
hip = atlas.get_region("hippocampal")
vois = siibra.get_features(hip, siibra.modalities.VolumeOfInterest)
assert(len(vois)>0)
print(vois[0].name)
print(vois[0].volumes)

However, I just discovered that it wasn't functional in the latest version. A fix has just been implemented (3b114eeb) and will be released as 0.3a4 now.

Of course, the number fo VOIs is still small. Curation team is working to provide more.

@xgui3783 can you try and close this issue if it works?

license_source: github-api


text:
Can WearAuthn stay connected to paired Bluetooth computers

Great project!
Is there any way to have WearAuthn automatically connect & stay connected to any paired Bluetooth computers that are in range? So that any time the token is required it will pop up on the Watch to ask confirmation; rather than having to manually open the app and trigger the connection from there?

Thanks for your interest!
Two things are currently possible: If you download the WearAuthn app on your phone, you can unlock a watchface shortcut for connecting to a chosen paired device with a single tap. I also know that Windows tends to reconnect to WearAuthn automatically when it is needed, even if the app is not running anymore.
If none of this currently works as conveniently as you would like, I would ask you to provide a few more details of what you are looking for. I have already thought about adding a feature similar to what you are describing, but would want to collect some more input from users, hence a few questions. It would be great if you could answer at least some of them:

Which operating systems are you using WearAuthn with?

Do you frequently switch between multiple devices and would like WearAuthn to stay connected to more than one at the same time?

If staying connected in the background would mean faster battery drain, what level would you tolerate?

If WearAuthn needs to get your confirmation while it is in the background and you are using a different app on your watch, would you prefer it 1) to show a full screen dialog as it does now or 2) to show a (less intrusive) notification instead?

Ah interesting statement about Windows - I wonder whether I can persuade Linux to do similar; sounds like you're saying it should be possible.
In answer to your questions:

Linux
Yes, often switching between desktop and laptop. Similarly be great if I could just go from home to work and it seamlessly work.
"Some"... sorry not sure here.
I don't think the screen is big enough for less intrusive notifications nor that I'd be using the watch whilst trying to perform a login on another device; so 1).

I have looked into this and learned that multiple concurrent connections are unfortunately not supported by Wear OS (or Android in general), which leaves the following options:

The best solution is probably to understand how Windows manages the automatic connections and replicate this on Linux. Since this would mean that all of the work would take place off the watch, this approach would not affect battery life and (hopefully) be quite reliable. I will look into this when I have time, but it will probably be rather difficult.

One could think about adding a mode that switches between a set of paired devices. But this would probably be quite heavy on the battery as well as increasing the latency with which requests are handled by the watch.

By making WearAuthn remain connected in the background, coupled with the watchface shortcut, one could get the required effort for changing devices down to a single tap.

Although I do not have any experience with it, Tasker integration may help with this.

Do you know which of these approaches you would prefer?

I'm not OP, but I would prefer 1)

authors: FabianHenneke Jakdaw Tiebe

repo: FabianHenneke/WearAuthn

license: MIT


text:
Util unification

Closes #1108
This does need a little more discussion, this PR is just to get the ball rolling. Other various util classes are just named as plural nouns (Inventories) and sometimes just singular nouns (ItemScatterer).
To me, the plural nouns and gerunds would sound the nicest, ie. (Inventories, Networking, ItemScattering, TextRendering) but this breaks down for certain utils for things such as EnchantmentUtil or ModelUtil which already have conflicting Enchantments and Models classes.
Should we have Util as a fallback for when a plural noun or gerund doesn't fit, or should we go through and switch all the ones that don't follow the Util pattern currently to use a Util suffix?

I don't like the *ing names, but I agree that plural names are preferrable over *Util when possible, and then use that as a fallback when plurals don't work.

There is also the guava pattern of MoreObjects, for when Objects is already taken. Personally I also think that Helper sounds better than Util, but in any case plurals should be preferred.

One kinda awkward thing if we go with plurals is if we have a class like Textures for texture-related utils and mojang adds a class that like stores a bunch of texture references or something. Then we'd have to rename the util one.

Util names are extremely ugly. I'd prefer helper suffix as "util" is no better than other ugly abbreviations like I18n or L10n. Helper, on the other hand, is a full word and is prettier.
Also your Enchantments may be Enchanting, etc

I prefer plural over all, and *Helper as a fallback

If plural is used for listing stuff, gerund should be the best alternative, like Enchanting.getLootingLevel()

We did a vote and 14 people preferred Util over 5 people preferring Helper. So for the fallback, we should go for Util.

Enchanting isn't accurate because it's not used just for enchanting but also checking enchantments

I really don't care what we go with as long as it's consistent.

source: gharchive/pull-request

authors: 2xsaiko Earthcomputer Prospector Pyrofab SuperCoder7979 falseresync liach

repo: FabricMC/yarn


text:
Map disable multiplayer and chat command line options

This pull request maps the new disableMultiplayer and disableChat command line options that were added in snapshot 20w21a.

thanks


text:
Rename Structure and StructureType

Resolves #3182
Structures really need a revisit. In my opinion the net.minecraft.structure package should be gone and
everything should be moved to net.minecraft.world.gen.structure. That'd be a very big change, though.
This commit basically reverts the entirety of #3079 and contains the changes necessary to keep consistency
(but not other new changes). I could make it bigger, but this needs an ASAP merge to stop the bad names from
going to the release.
Summary of the renames:

structure.Structure became structure.StructureTemplate. See /place template, datafixes, etc.
structure.StructureType became world.gen.structure.StructureType.
world.gen.structure.StructureType became world.gen.structure.Structure.
world.gen.structure.StructureTypes became world.gen.structure.Structures.
Other names referencing the renamed classes by their old name
And missed "feature" renames (Fixes #3179)

Note: not impactful (for now), since this PR only touches less frequently used Structure and classes that already received a rename. If it gets to the late pre-release cycle or actual release, it will be impactful.

Conflicts need fixing, and then I think this is good to go.


text:
connection error due to mod on server

Describe the Bug
I can't connect with the mod on the "minehut" server (a big hosting service server) with the mod
The error :
Connection Lost
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(16399) + length(1) exceeds writerIndexC16399): UnpooledHeapByteBufCridx: 16399, uidx: 16399, cap: 16399/16399)
Reproduction Steps

try to connect to Minehut with mc.minehut.com
...

Expected Result
be able to play with the mod on minehut
Screenshots and Videos

Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1b
Minecraft Version
1.19.2
Other Mods
architectury-6.5.85-fabric
bclib-2.1.5
cloth-config-8.2.88-fabric
ContainerSearcher-0.1.6+mc1.19.2
dynamic-fps-2.1.0
fabric-language-kotlin-1.9.0+kotlin.1.8.0
FabricProxy-Lite
FpsReducer2-fabric-1.19.2-2.1
freecam-1.1.6+1.19
InventoryProfilesNext-fabric-1.19-1.8.5
journeymap-1.19.1-5.9.0beta2-fabric
libIPN-fabric-1.19-1.0.5
litematica-fabric-1.19.2-0.12.5
malilib-fabric-1.19.2-0.13.0
MouseTweaks-fabric-mc1.19-2.22
shulkerboxtooltip-fabric-3.2.2+1.19.2
Additional Context
No response

Don't get it, do you have Create installed on the server that you're joining? Otherwise, you can't play on vanilla servers with mods installed. If you have Create installed on the server, make sure its the right version, version of other mods and so on.

feather is not supported

authors: Nilus001 TropheusJ electricsteve

repo: Fabricators-of-Create/Create


text:
🛑 Agroconsultas is down

In edd76f4, Agroconsultas (https://www.agroconsultasonline.com) was down:

HTTP code: 503
Response time: 246 ms

Resolved: Agroconsultas is back up in ed09a8b after 7 minutes.


text:
🛑 Random Fandom is down

In f401fae, Random Fandom (https://randomfandom.cf) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Random Fandom is back up in f305756.

repo: FanboyStudios/RFMG-Status-Monitor


text:
Option to set scope to all open windows

ATM, the tab search focuses only to current window.
Please add option to search among all open windows.

Hi @umetnic ,
thanks for the suggestion. I'll have a look if the tab switching also works between different browser windows.
Can't promise if that works, but I'll check it out.

Awesome, Fannon!
https://github.com/Peuj/duplicate-tabs-closer
This add-on has an option to change scope from current window only, to all open windows. It's code might come handy.

Cool. Having an open source project as a code example surely helps.

Ok, I got it working. It's in the PR #24 (in case you're familiar with code and want to review it)
I'll test it locally a bit and then will include it in the next release.
Publishing to the browser stores will also take a while :)

authors: Fannon umetnic


text:
Update it.json

Fix some translation errors

Thanks for your contribution!

authors: Farfar metcrl

repo: Farfar/homeassistant-seatconnect


text:
Fix onChange handler for search results after manually setting text input

As per Issue https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/654, this change from setStateText to _handleChangeText will successfully fulfill autocomplete search results once an address is manually inputted via ref.
Thanks!

We should get this in!

lgtm

lgtm

are you able to get this approved and/or merged?

im not able to merge but can approve that it works.

@FaridSafi - could we get some looks at this PR?

authors: AdamTChoi Willham12 grungebob

license: mit


text:
🛑 FastGit Hub is down

In aa85988, FastGit Hub (https://hub.fastgit.org) was down:

HTTP code: 403
Response time: 340 ms

Resolved: FastGit Hub is back up in 13e2666.

repo: FastGitORG/uptime


text:
🛑 FastGit Archive is down

In f0efc97, FastGit Archive (https://archive.fastgit.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FastGit Archive is back up in 2e5357c.


text:
Tildes se muestran raro en algunos browsers

Leer #43

2a11f9fd95ecf4890a50df6f4db90d5b2f38cbdb

repo: FdelMazo/FIUBA-Plan


text:
⚠ Roblox Devforum has degraded performance

In b453afc, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2677 ms

Resolved: Roblox Devforum performance has improved in 796ed30 after 18 minutes.

repo: FearedFusionX/Ro-Status


text:
unexpected keyword argument 'return_catalogo' / 'return_descripcion'

Hi,
when I run covid_dge_data, catalogo_data = CovidMX(return_catalogo=True).get_data() get:
Traceback (most recent call last) <ipython-input-8-9c05e955ccf6> in <module>()       3 covid_dge_data = CovidMX().get_data()       4 raw_dge_data = CovidMX(clean=False).get_data() ----> 5 covid_dge_data, catalogo_data = CovidMX(return_catalogo=True).get_data()       6 covid_dge_data, descripcion_data = CovidMX(return_descripcion=True).get_data()       7 covid_dge_data, catalogo_data, descripcion_data = CovidMX(return_catalogo=True, return_descripcion=True).get_data() /usr/local/lib/python3.6/dist-packages/covidmx/covidmx.py in CovidMX(source, **kwargs)      27       28     if source == "Serendipia": ---> 29         return Serendipia(**kwargs) TypeError: __init__() got an unexpected keyword argument 'return_catalogo'
and covid_dge_data, descripcion_data = CovidMX(return_descripcion=True).get_data() get:
Traceback (most recent call last) <ipython-input-22-1b8abfd4e7ee> in <module>()       4 #raw_dge_data = CovidMX(clean=False).get_data()       5 #covid_dge_data, catalogo_data = CovidMX(return_catalogo=True).get_data() ----> 6 covid_dge_data, descripcion_data = CovidMX(return_descripcion=True).get_data()       7 #covid_dge_data, catalogo_data, descripcion_data = CovidMX(return_catalogo=True, return_descripcion=True).get_data() /usr/local/lib/python3.6/dist-packages/covidmx/covidmx.py in CovidMX(source, **kwargs)      27       28     if source == "Serendipia": ---> 29         return Serendipia(**kwargs) TypeError: __init__() got an unexpected keyword argument 'return_descripcion'
By the way, Unidecode package is required, so could be usefull to add this line to install instructions:
pip install unidecode

Hi!
Try using the lastest version of the package, for the first version only one source was considered 'Serendipia' and this was the default version. For the latest version the default source is Dirección General de Epidemiología and those arguments should work.
pip uninstall covidmx
pip install covidmx

Thanks I'll include unicode.

OK, the point is that Google Colab use Python 3.6.9, so an old version is installed instead of last one (0.2.1).  Is not possible to upgrade Colab (and I prefer to mantain OS version in my local enviroment), so ¿is strictly neccessary use 3.7?  Maybe using a lower version makes it more easy & widely adopted.
ERROR: Package 'covidmx' requires a different Python: 3.6.9 not in '>=3.7'`

Thank you for your feedback! I've released a new version of the package that works with python3.5+. Please let me know if you have any issues with this version. Thanks!

authors: FedericoGarza hyances

repo: FedericoGarza/covidmx


text:
Yuchen/set_tmp,two_nodes

set_tmp and two_nodes done

need to resolve conflicts

tests/prettier not passing

Please include only one model per PR; in this case, raise another PR with only the function that has all its dependencies ready

authors: YuchenMu szaldivar

repo: FedericoTartarini/jsthermalcomfort


text:
百度网盘失效了

链接的百度网盘都失效了，作者可以看一下什么原因吗

同问

authors: WYX-K yonghanzhuce

repo: FengQuanLi/WZCQ


text:
Implement /debug/archive

What should be done?
We should implement a new debug handler at /debug/archive that would:

self-scrape Prometheus metrics;
take a memory pprof profile;
pack everything into a .zip archive and send it to the client.

We will add parameters to that handler and more files into that archive in the future.
The file should be sent with a good content-disposition header and streamed to the client; for example, .zip header and Prometheus metrics should be sent before the memory profile is taken.
Where?
https://github.com/FerretDB/FerretDB/blob/main/internal/util/debug/debug.go
Definition of Done

handler implemented;
basic unit tests added;
spot refactorings done.

I would like to work on this issue. Can I?

I'm new to open source, can you guide me a bit with this task?

It would be easier to guide you in an existing pull request with an initial attempt. See also https://github.com/FerretDB/FerretDB/blob/main/CONTRIBUTING.md

@sushant102004 any news? Anything we could help you with?

I'm willing to work on this issue, please assign it to me !

I'm willing to work on this issue, please assign it to me !

Let's finish #3654 first

I shall work on it.

repo: FerretDB/FerretDB


text:
Add regex support for test names

https://github.com/FerretDB/dance/blob/main/tests/diff.yml
If there is a support for regular expressions in test names, that file could be simplified. For example, we could use the following syntax:
pass:
  - regex: FerretDB$

@AlekSi What if a test matches output_regex and name regex? Which one has higher priority?

What if a test matches output_regex and name regex?

Let's panic in that case

Testing moved to #174

authors: AlekSi noisersup

repo: FerretDB/dance


text:
Uninstall

Feature to uninstall tool after install.

Something like:
#!/bin/bash
#
# uninstall.sh

EXECPREFIX="${EXECPREFIX:-/usr/local}"
INITSCRIPT=

if [ -f "/etc/rc.d/init.d/arkmanager" ]; then
  EXECPREFIX="$(sed -n 's|^DAEMON="\(/.*\)/bin/arkmanager"$|\1|p' /etc/rc.d/init.d/arkmanager)"
  INITSCRIPT="/etc/rc.d/init.d/arkmanager"
  if [ -f "/etc/rc.d/init.d/functions" ]; then
    chkconfig arkmanager off
  fi
elif [ -f "/etc/init.d/arkmanager" ]; then
  EXECPREFIX="$(sed -n 's|^DAEMON="\(/.*\)/bin/arkmanager"$|\1|p' /etc/init.d/arkmanager)"
  INITSCRIPT="/etc/init.d/arkmanager"
  if [ -f "/lib/lsb/init-functions" ]; then
    update-rc.d -f arkmanager remove
  elif [ -f "/sbin/runscript" ]; then
    rc-update del arkmanager default
  fi
elif [ -f "/etc/systemd/system/arkmanager.service" ]; then
  EXECPREFIX="$(sed -n 's|^ExecStart=\(/.*\)/libexec/arkmanager/arkmanager\.init start$|\1|p' /etc/systemd/system/arkmanager.service)"
  INITSCRIPT="/etc/systemd/system/arkmanager.service"
  systemctl disable arkmanager.service
fi

if [ -n "$INITSCRIPT" -a -n "$EXECPREFIX" ]; then
  for f in "${INITSCRIPT}" \
           "${EXECPREFIX}/bin/arkmanager" \
           "${EXECPREFIX}/libexec/arkmanager/arkmanager.init"
  do
    if [ -f "$f" ]; then
      rm "$f"
    fi
  done
fi

Note that we should not remove /etc/arkmanager/* or /var/log/arktools/* - it is up to the system administrator to work out what they want to do with those files.
If the user performs a user-install, then they can just remove ~/bin/arkmanager if they no longer want it.  It is up to the user what they want to do with ~/.arkmanager.cfg and ~/logs/arktools/*
The steamcmd root and ark server root are also directories that the uninstall script should not remove.

Bundle this in the tools?

authors: Atriusftw klightspeed longlostbro

repo: FezVrasta/ark-server-tools


text:
Incorrect answer for question “ Which of the following statements about enabling CodeQL scanning default setup are true?”

In practice exam GitHub Advanced Security, question 74:

Which of the following statements about enabling CodeQL scanning default setup are true?

the following answer is also correct:

You can enable default setup on any repository, regardless of the contents of the repository

See:

A repository must meet all the following criteria to be eligible for default setup, otherwise you need to use advanced setup.

Code scanning is not already enabled.
GitHub Actions are enabled.
Publicly visible.

We recommend enabling default setup for eligible repositories if there is any chance the repositories will include at least one CodeQL-supported language in the future. If you enable default setup on a repository that does not include any CodeQL-supported languages, default setup will not run any scans or use any GitHub Actions minutes. If CodeQL-supported languages are added to the repository, default setup will automatically begin scanning CodeQL-supported languages and using GitHub Actions minutes.

Reference:
https://docs.github.com/en/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale#eligible-repositories-for-codeql-default-setup-at-scale

Hey @carlos-quintero
Taking a quick look and seems you are right.
When I'm trying to remember the past - I'm almost sure it wasn't like that few months ago, meaning you couldn't turn on CodeQL unless the repository contained one of the supported languages. Maybe that was changes by GitHub
Would you like to create a PR to fix this? It's fairly easy [docs]
Thanks for raising the issue! :rocket:

Done in #269
Thanks for raising the issue :rocket:

authors: FidelusAleksander carlos-quintero

repo: FidelusAleksander/ghcertified


text:
Add coveralls neo3.1

Tests pass on circle ci :)
https://circleci.com/gh/Financial-Times/alphaville-series-rw-neo4j/35

Changes Unknown when pulling a967bfef317c1aee1505b5aeebf01fc69e45caae on AddCoverallsNeo3.1 into ** on master**.

Still passing
https://circleci.com/gh/Financial-Times/alphaville-series-rw-neo4j/36

Changes Unknown when pulling fd91f4365c25473dca47de59c12d4e46627e9f0b on AddCoverallsNeo3.1 into ** on master**.

authors: coveralls scott-ace-newton


text:
Add a final error handler package

Add a final error handling package which outputs the error status code, any headers that need to be set, and a basic text-based error page which is intended to be overridden by next-errors.
What problem does this feature solve?
We currently maintain code to output final error information within n-express. At time of writing, it looks like this:
this.app.use((err, req, res, next) => {
	let statusCode = parseInt(err.statusCode || err.status || 500, 10);

	// There's clearly an error, so if the error has a status
	// code of less than `400` we should default to `500` to
	// ensure bad error handling doesn't send false positive
	// status codes. We also check that the status code is
	// a valid number.
	const isValidErrorStatus = (
		!Number.isNaN(statusCode) && // Possible if `error.status` is something unexpected, like an object
		statusCode >= 400 &&
		statusCode <= 599
	);

	res.statusCode = isValidErrorStatus ? statusCode : 500;
	const statusMessage = STATUS_CODES[res.statusCode] || STATUS_CODES[500];

	// If headers have been sent already then we need to hand off to
	// the final Express error handler as documented here:
	// https://expressjs.com/en/guide/error-handling.html#the-default-error-handler
	//
	// This ensures that the app doesn't crash with `ERR_STREAM_WRITE_AFTER_END`
	if (res.headersSent) {
		nLogger.warn({
			event: 'EXPRESS_ERROR_HANDLER_FAILURE',
			message: 'The default n-express error handler could not output because the response has already been sent',
			error: serializeError(err),
			request: serializeRequest(req)
		});
		return next(err);
	}

	// If Sentry is in use, the error id is attached to `res.sentry`
	// to be returned and optionally displayed to the user for support.
	// If Sentry is disabled we fall back to the relevant HTTP status
	// code and message
	const nonSentryOutput = `${res.statusCode} ${statusMessage}`;
	const output = `${appOptions.withSentry ? res.sentry : nonSentryOutput}\n`;
	res.end(output);
});

This is a lot of code maintained outside of Reliability Kit with a focus on errors and how they get presented. We (the CP Reliability team) were the last people who made any changes to this code too.
It's difficult for us to own one part of one file within n-express, n-express does too much anyway, and this doesn't align with our ethos of "trust our engineers" – there's not an easy way to remove this error handling or configure it to suit your app, and it's hidden away in some n-express magic rather than being explicitly included.
Ideal solution
I think we should review what we need from this error rendering middleware and provide a new Reliability Kit package which does this instead. Unsure what it'd be called yet. It feels separate to #227 as we'd be moving existing functionality into Reliability Kit.
Alternatives
We could do nothing and keep this code in n-express, optionally trying to add us as owners of this file. I think we miss an opportunity to reduce the footprint and complexity of n-express though and hand some control back to our teams.
We could also release this package in Reliability Kit and import it into n-express in place of the custom code that'd currently maintained there.

To add some firmer dates, we should be able to do this work after mid-August 2023. At this point we'll be fully removing Sentry from n-express

This work is complete and made it into middleware-render-error-info@v4.0.0

repo: Financial-Times/dotcom-reliability-kit


text:
Default value of deep parameter should be false (Fixes #1189)

According to MDN, the default value for the deep parameter was true in Firefox up to v29.
https://developer.mozilla.org/en/docs/Web/API/Node/cloneNode
Fixes #1189

The deep parameter is mandatory in UC Mini. I have pushed a new commit with a try/catch statement to prevent it from failing on UC Mini.

@JoyceBabu Could you post a screenshot of this working on UC Browser at all?

@JoyceBabu Could you post a screenshot of this working on UC Browser at all?

@JakeChampion I would like to clarify that UC Mini does not allow overriding the Element.prototype.cloneNode function. The deep parameter is still required. The above pull request ensures that the detection code does not throw an error preventing other polyfills from loading.
I have uploaded two test pages with the current and new polyfills
http://www.joycebabu.com/test/uc-clonenode-test/current.htm
http://www.joycebabu.com/test/uc-clonenode-test/new.htm
Both the scripts have the following code at the end of the polyfill script
document.getElementById('parent').innerHTML = 'Replaced text';

The text gets replaced when using the updated polyfill, but not with the original polyfill (with deep parameter fix).

authors: JakeChampion JoyceBabu

repo: Financial-Times/polyfill-service


text:
feat: Implement QueryCallablePoint

Description

This PR is part of this issue.
https://github.com/line/cosmwasm/issues/252
Motivation and context

How has this been tested?

Screenshots (if appropriate):
Checklist:

[ ] I followed the contributing guidelines and code of conduct.
[ ] I have added a relevant changelog to CHANGELOG.md
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

Closing this PR as it will be moved to wasmd.

repo: Finschia/finschia-sdk


text:
Incorrect shadow textures when Smooth Lighting is turned on

When this mod is active and Smooth Lighting is turned on (both at minimum and maximum settings), some blocks have weird shadow textures. Seems to not be affected by whether the block was placed or randomly generated. The bug is most noticeable in dark areas like caves, at night, or in the Nether and on certain blocks like gravel, granite, andesite, and netherrack. Will need more testing to figure out all the blocks affected but these are the ones I've seen so far.
Smooth Lighting off:

Smooth Lighting at either Minimum or Maximum:

Smooth Lighting on, granite placed by player:

I think you have the wrong mod - this mod makes absolutely no changes to the lighting engine. Everything mostly runs on the existing rendering code as it is. Additionally, I am unable to reproduce this bug, and it's clear you have other mods installed. Please ensure before posting bugs that you either aren't using other mods, or that the issue specifically occurs only when this mod is installed alongside another mod(s) and provide the name of that mod(s). Additionally, you should always mention which minecraft version you are using.

authors: DiveIntoMadness FirEmerald

repo: FirEmerald/AdditionalPlacements


text:
[cloud_firestore] Android "An error occurred while executing doInBackground()" AsyncTask.done

This issue has been reported previously in #27840, however, been closed. Hence, I am reporting this again as this is occuring in Channel master, v1.8.2-pre.229, cloud_firestore: 0.12.9.
I got this report from a Play Store Pre-launch report. Here are the device specifications:
Screen Size: 1080 × 1920
Screen Density (dpi): 420
Model Name: Pixel 2
RAM: 4096 MB
Manufacturer: Google
OpenGL ES Version: 3.2
Android Version: Android 8.1
Native Platform: armeabi-v7a
CPU Make: Qualcomm
CPU Model: MSM8998

Here is the expcetion:
FATAL EXCEPTION: AsyncTask #2
java.lang.RuntimeException: An error occurred while executing doInBackground()
	at android.os.AsyncTask$3.done(AsyncTask.java:353)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
	at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.firestore.ak com.google.firebase.firestore.ak.a(com.google.firebase.firestore.d, java.lang.Object)' on a null object reference
	at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin$7.doInBackground(Unknown Source:20)
	at io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin$7.doInBackground(Unknown Source:2)
	at android.os.AsyncTask$2.call(AsyncTask.java:333)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	... 4 more

This is the Logcat before that point:
07-31 00:14:03.657: D/PhoneSwitcherNetworkRequstListener(1610): got request NetworkRequest [ TRACK_DEFAULT id=19, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.658: D/Ethernet(1082): got request NetworkRequest [ TRACK_DEFAULT id=19, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.658: D/WIFI_UT(1082): got request NetworkRequest [ TRACK_DEFAULT id=19, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.658: D/WIFI(1082): got request NetworkRequest [ TRACK_DEFAULT id=19, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.658: D/ConnectivityService(1082): requestNetwork for uid/pid:10140/12358 NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
07-31 00:14:03.659: D/Ethernet(1082): got request NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.659: D/WIFI_AWARE_FACTORY(1082): got request NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.659: D/PhoneSwitcherNetworkRequstListener(1610): got request NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.659: D/WIFI_UT(1082): got request NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.659: D/WIFI(1082): got request NetworkRequest [ TRACK_DEFAULT id=20, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
07-31 00:14:03.679: I/Robo(12309): Finished writing artifact file /storage/emulated/0/app_firebase_test_lab/accessibility1.meta
07-31 00:14:03.848: I/ActivityManager(1082): Killing 10465:com.android.settings/1000 (adj 906): empty #17
07-31 00:14:03.849: W/zygote64(1082): kill(-10465, 9) failed: No such process
07-31 00:14:03.854: I/Robo(12309): Finished writing artifact file /storage/emulated/0/app_firebase_test_lab/1.png
07-31 00:14:03.855: W/zygote64(1082): kill(-10465, 9) failed: No such process
07-31 00:14:03.862: I/Robo(12309): Waiting because there are no actionable elements on screen.
07-31 00:14:03.862: I/Robo(12309): Performing androidx.test.tools.crawler.controller.action.WaitAction@5db4a2.
07-31 00:14:03.864: I/Robo(12358): Waiting 1000 milliseconds.
07-31 00:14:03.899: W/zygote64(1082): kill(-10465, 9) failed: No such process
07-31 00:14:03.899: I/zygote64(1082): Successfully killed process cgroup uid 1000 pid 10465 in 49ms
07-31 00:14:03.899: I/zygote64(1082): --------- beginning of crash

@creativecreatorormaybenot
The issue at https://github.com/flutter/flutter/issues/37356 has been closed and moved here. Future collaboration on this issue will be done here.

Hey @creativecreatorormaybenot I'm reviewing issues, are you still experiencing this problem with a more recent version? - thanks!

@kirstywilliams I guess so; however, I believe this issue is not that easy to debug (maybe a similar story to https://github.com/firebase/firebase-android-sdk/issues/629).
Hence, I would close it for now.

@kirstywilliams I guess so; however, I believe this issue is not that easy to debug (maybe a similar story to firebase/firebase-android-sdk#629).
Hence, I would close it for now.

Great. Thanks!

repo: FirebaseExtended/flutterfire


text:
[firebase_crashlytics] Enable Firebase Crashlytics at runtime

To be compliant with European privacy laws, we are required to get user consent before transmitting data to Crashlytics.
We want to use Crashlytics as described at https://firebase.google.com/docs/crashlytics/customize-crash-reports?platform=ios#enable_opt-in_reporting
This is, however, not possible with the Flutter library at the moment, as Fabric is always initialised as soon as the plugin is attached to the engine.
A possible fix would be to wait for the first MethodCall to be received by the plugin and initialiseFabric after that.
That way a library user can take care to not make any calls to Crashlytics before user consent is given.

This has been resolved in the Crashlytics update: https://firebase.flutter.dev/docs/crashlytics/usage#enable-opt-in-reporting

authors: Jjagg lschmierer


text:
Support Terraform 0.11

This adds support for Terraform 0.11:

uses splat syntax for outputs that might not exist (this is a warning in 0.11 and will be an error in 0.12, see https://www.terraform.io/upgrade-guides/0-11.html#referencing-attributes-from-resources-with-count-0)

Ah, This didn't show up in my list of things to review because it was assigned to @hakamadare lets add a .github/CODEOWNERS file to this repo, other then that, this looks good to me! :shipit:  and cut a new release!

@tfhartmann I added .github/CODEOWNERS

:shipit: when ready!

authors: jnoss tfhartmann


text:
Look into string formatting options on op args

Ie enable passing Something={{ host.data.env }} as an argument, such that multiple "result" strings get bunched as one operation (because the op_hash will be the same). Use jinja2 w/host arg to convert string args into final format before pushing to state.

# Execute arbitrary shell commands
server.shell([
    'echo "Shell command"',
    'echo "My hostname is {{ host.fact.hostname }}"'
    # 'echo "My hostname is {0}"'.format(host.fact.hostname)
])

https://github.com/Fizzadar/pyinfra/commit/f6d28480295c09ba7891715f9db5e96e9a41afa7

repo: Fizzadar/pyinfra


text:
finetune相关

刚开始做embedding的finetune，不太熟悉，想问一下基础问题：

如果基于bge-base-zh-v1.5做finetune，大概需要多大显存
一般来说，在一个垂直领域（比如想做金融领域的公司内部知识库问答）finetune需要多大数据量

32G的GPU就完全足够了。显存比较小可以参考https://github.com/FlagOpen/FlagEmbedding/tree/master/examples/finetune#3-train 使用fp16, deepspeed,和grandient checkpointing减小训练时显存占用。
尽量大于1000条数据

32G的GPU就完全足够了。显存比较小可以参考https://github.com/FlagOpen/FlagEmbedding/tree/master/examples/finetune#3-train 使用fp16, deepspeed,和grandient checkpointing减小训练时显存占用。
尽量大于1000条数据

使用--deepspeed 还需要使用fp16、grandient checkpointing吗？还是这几个参数可以同时使用呢？

可以同时使用的。其中grandient checkpointing非常省显存，但必须和deepspeed一起使用，

多谢回复。请问您建议使用什么 python 版本进行训练呢？我现在用 3.11 发现无法跑起来，3.9可以，但会提示:
/data/miniconda3/envs/bge-hn/lib/python3.9/site-packages/transformers/optimization.py:411: FutureWarning: This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch implementation torch.optim.AdamW instead, or set no_deprecation_warning=True to disable this warning
我担心影响训练效果。

这个提示没有关系的。

Hey兄弟问一下最终你用了多少微调数据，效果怎样，微调数据你用的都是问题-文本数据吗

authors: PeiyueYu natlank staoxiao zaccheus

repo: FlagOpen/FlagEmbedding


text:
BGE-M3 模型加载失败

调用BGE的M3模型时候，官方的示例代码，出现了下面这个问题。看起来像是transformer版本问题导致的。
sentence-transformers                    2.2.2
transformers                             4.34.1
FlagEmbedding                            1.2.5
Traceback (most recent call last):
  File "bge_m3_embedding_model.py", line 7, in <module>
    model = BGEM3FlagModel(BGE_M3_PATH,
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/FlagEmbedding/bge_m3.py", line 36, in __init__
    self.model = BGEM3ForInference(
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/FlagEmbedding/BGE_M3/modeling.py", line 40, in __init__
    self.load_model(model_name, colbert_dim=colbert_dim)
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/FlagEmbedding/BGE_M3/modeling.py", line 77, in load_model
    self.tokenizer = AutoTokenizer.from_pretrained(model_name)
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 751, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2017, in from_pretrained
    return cls._from_pretrained(
  File "/home/deploy/anaconda3/envs/yyl_env_py388/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2242, in _from_pretrained
    init_kwargs[key] = added_tokens_map.get(init_kwargs[key], init_kwargs[key])
TypeError: unhashable type: 'dict'

代码
from FlagEmbedding import BGEM3FlagModel

model = BGEM3FlagModel(BGE_M3_PATH,
                       use_fp16=True)  # Setting use_fp16 to True speeds up computation with a slight performance degradation

sentences_1 = ["What is BGE M3?", "Defination of BM25"]
sentences_2 = [
    "BGE M3 is an embedding model supporting dense retrieval, lexical matching and multi-vector interaction.",
    "BM25 is a bag-of-words retrieval function that ranks a set of documents based on the query terms appearing in each document"]

output_1 = model.encode(sentences_1, return_dense=True, return_sparse=True, return_colbert_vecs=False)
output_2 = model.encode(sentences_2, return_dense=True, return_sparse=True, return_colbert_vecs=False)

# you can see the weight for each token:
print(model.convert_id_to_token(output_1['lexical_weights']))

是的，可以提高transformers版本，比如4.37

这个有没有推荐的版本呢，随便升级可能会导致我们其他的环境出问题

是的，可以提高transformers版本，比如4.37
`升到4.37.0和4.38.2有报了这个错误

File /root/anaconda3/envs/rerank-rom/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py:111, in PreTrainedTokenizerFast.init(self, *args, **kwargs)
108     fast_tokenizer = copy.deepcopy(tokenizer_object)
109 elif fast_tokenizer_file is not None and not from_slow:
110     # We have a serialization from tokenizers which let us directly build the backend
--> 111     fast_tokenizer = TokenizerFast.from_file(fast_tokenizer_file)
112 elif slow_tokenizer is not None:
113     # We need to convert a slow tokenizer to build the backend
114     fast_tokenizer = convert_slow_tokenizer(slow_tokenizer)
Exception: expected value at line 1 column 1`

是的，可以提高transformers版本，比如4.37

升到4.37.0和4.38.2又报了这个错误
`File /root/anaconda3/envs/rerank-rom/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py:111, in PreTrainedTokenizerFast.init(self, *args, **kwargs)
108     fast_tokenizer = copy.deepcopy(tokenizer_object)
109 elif fast_tokenizer_file is not None and not from_slow:
110     # We have a serialization from tokenizers which let us directly build the backend
--> 111     fast_tokenizer = TokenizerFast.from_file(fast_tokenizer_file)
112 elif slow_tokenizer is not None:
113     # We need to convert a slow tokenizer to build the backend
114     fast_tokenizer = convert_slow_tokenizer(slow_tokenizer)
Exception: expected value at line 1 column 1`

是的，可以提高transformers版本，比如4.37

升到4.37.0和4.38.2又报了这个错误
`File /root/anaconda3/envs/rerank-rom/lib/python3.10/site-packages/transformers/tokenization_utils_fast.py:111, in PreTrainedTokenizerFast.init(self, *args, **kwargs) 108 fast_tokenizer = copy.deepcopy(tokenizer_object) 109 elif fast_tokenizer_file is not None and not from_slow: 110 # We have a serialization from tokenizers which let us directly build the backend --> 111 fast_tokenizer = TokenizerFast.from_file(fast_tokenizer_file) 112 elif slow_tokenizer is not None: 113 # We need to convert a slow tokenizer to build the backend 114 fast_tokenizer = convert_slow_tokenizer(slow_tokenizer)
Exception: expected value at line 1 column 1`

我这边测试 transformers 版本 4.37.0 没有遇到这个问题。

authors: JiwenZ Xls1994 hanhainebula staoxiao


text:
Investigate Flank commands

Author the user story for this feature
As a user, I want to be informed when I use sets of commands that can be mutually exclusive.
Is your feature request related to a problem? Please describe.
When I working about issue https://github.com/Flank/flank/issues/1057 I saw we can have potential more conflicts on commands or unexpected/not clear behavior.
Describe the solution you'd like
I think we can investigate commands and add validation or document potential conflicts.
This only my small proposal, please team tell me what do you think?
@bootstraponline  @jan-gogo @pawelpasterz @piotradamczyk5 @Sloox
Thanks!

I love this idea!

Great idea, I think that should also be processed together with reviewing commands documentation

repo: Flank/flank


text:
feat: Validate orientation and fail fast

Fail fast if the Orientation is misspelt for runs
Fixes #928
Test Plan

How do we know the code works?
It has been unit tested.

Checklist

[x] Documented
[x] Unit tested
[x] release_notes.md updated

And I've just noticed that gcloud returns with exit code 1 (flank 2)

I like the solution, nice!
I am wondering if we could print more detailed info about the device with misspelled orientation. In case when flank user has like 5 or more devices in the config file...just thinking

What information actually would be important, just the devices that have misspelt orientations?

And I've just noticed that gcloud returns with exit code 1 (flank 2) for the same misspelled orientation

Also

authors: Sloox pawelpasterz


text:
FIX Unicode-objects must be encoded before hashing

Motivation for changes:
plugin betaseries_list has a bug when using python 3 (BUG: Unhandled error in plugin configure_series: Unicode-objects must be encoded before hashing)
Detailed changes:

encode the password in utf-8 to avoid crash

Addressed issues:

Fixes # .

Config usage if relevant (new plugin or updated schema):
paste_config_here

Log and/or tests output (preferably both):
paste output here

Tested on a local installation

Looks good to me, thanks!

authors: gazpachoking ghyster

repo: Flexget/Flexget


text:
Multiline function parameters

I am was working on this autocorrect for long single line function headers so it automatically corrects them into multiple lines but since it was too complex i broke it into two separate autocorrects. First to break paramters into a singular line away from the func ( ) -> x surounding it and a second one that cycles over the match and break the last parameters onto a separate line every cycle. However eventhough it matches correctly as soon as I apply autocorrection to the second rule nothing ever changes. Please help me I am very confused because event if I switch out the replacement for litterally any matching group it ignored the autocorrect
`let longMultilineFunctionDefMatchingExample = "static func defaultAlert(verylongStringToPutToMultipleLineThatExceeds120charactersForSureSinceItIsSoVeryLongOhMyGod: Sting) {\n}"
let longMultilineFunctionDefNonMatchingExample1 = "\tstatic func defaultAlert(title: String, title: String, title: String, message: String) {\n}"
let longMultilineFunctionDefBeforeAutocorrect = "\tstatic func defaultAlert(verylongStringToPutToMultipleLineThatExceeds120charactersForSureSinceItIsSoVeryLongOhMyGod: String){\n}"
let longMultilineFunctionDefAfterAutocorrect = "\tstatic func defaultAlert(\n\t\tverylongStringToPutToMultipleLineThatExceeds120charactersForSureSinceItIsSoVeryLongOhMyGod: String\n\t){\n}"
try Lint.checkFileContents(
checkInfo: "Long multiparameter function: Parameters of functions above 120 character should be split into multiple lines",
regex: #"^(?=.{121,})(?[ \t])(?[a-zA-Z@ ]func[a-zA-Z<> ]()(?.)(?).(?:->){0,1}.{)$"#,
matchingExamples: [longMultilineFunctionDefMatchingExample],
nonMatchingExamples: [longMultilineFunctionDefNonMatchingExample1],
includeFilters: [#".*.swift"#],
excludeFilters: excludeFilters,
autoCorrectReplacement: "$SPACING$HEADER\n$SPACING\t$PARAMETERS\n$SPACING$HEADEND",
autoCorrectExamples: [
["before": longMultilineFunctionDefBeforeAutocorrect,
"after": longMultilineFunctionDefAfterAutocorrect]
]
)
try Lint.checkFileContents(
    checkInfo: "Multiline function definition: Parameters of functions above 120 character should be split into multiple lines",
    regex: #"^(?<SPACING>[ \t]*)(?<HEADER>(?:[a-zA-Z@ ]*)func.*\()\n^[ \t]*(?<PARAMETERSTOKEEP>(?:.*\: .*,(?!\n))+) (?<PARAMETERSTOFORMAT>(?:\s*.*\: .*,{0,1}(?=\n))*)\n^(?<HEADEND>[ \t]*\).*(?:->){0,1}.*\{(?=\n))$"#,
    matchingExamples: ["func makePendingEventsSections(\nfor pendingEvents: [Event], photos: [RolePhoto], statusOverviews: [PresenceOverviewResponse]\n) -> [Section] {\n}"],
    nonMatchingExamples: ["\tstatic func defaultAlert(\ntitle: String) {"],
    includeFilters: [#".*\.swift"#],
    excludeFilters: excludeFilters,
    autoCorrectReplacement: "$SPACING$HEADER\n$SPACING\t$PARAMETERSTOKEEP\n$SPACING\t$PARAMETERSTOFORMAT\n$SPACING$HEADEND",
    autoCorrectExamples: [
        ["before": "static func defaultAlert(\n\ttitle: String, title: String, title: String, message: String, hi hi: no, in controller: (UIViewController\n) -> Void) {\n}",
         "after": "static func defaultAlert(\n\ttitle: String, title: String, title: String, message: String, hi hi: no,\n\tin controller: (UIViewController\n) -> Void) {\n}"]
    ],
    repeatIfAutoCorrected: true
)`

Expected Behavior
single line function parameters break into separate lines each
Actual Behavior
first rule works having all parameters on one line but second one is ignored (eventhough it matches)
Steps to Reproduce the Problem

Run anylint with the stated autocorrect
use this code as an example class func from(    html: String?, font: (regular: UIFont, bold: UIFont), color: UIColor, documentAttributes: AutoreleasingUnsafeMutablePointer<NSDictionary?>? = nil ) -> NSAttributedString? {    return from(html: html, font: font, size: font.regular.pointSize, color: color, documentAttributes: documentAttributes) }

Specifications

Version:  flinesoft/anylint/anylint 0.8.2
Platform: iOS
IDE Version: Xcode 12.5.1

Hey @meteora8888, sorry for getting back to you this late, I didn't notice the email last year when you first wrote this and I'm just seeing it.
I've copied and tried out your check, the regex seems to trigger in the tests but not in real files, that's really weird. I don't see anything you're doing wrong, I will have to further investigate what's going on internally in AnyLint to know what the issue is, but looks like a bug in AnyLint, thanks for reporting. 👍

repo: FlineDev/AnyLint


text:
GCC version issue during build

During the build procedure I receive the following output:
ERROR: /home/hellbago/tensorflow_cc/tensorflow_cc/build/tensorflow/tensorflow/core/kernels/BUILD:3247:1: error while parsing .d file: /home/hellbago/.cache/bazel/_bazel_hellbago/7804ee3d380a70b07846419715bd3fec/execroot/org_tensorflow/bazel-out/k8-py3-opt/bin/tensorflow/core/kernels/_objs/histogram_op_gpu/tensorflow/core/kernels/histogram_op_gpu.cu.pic.d (No such file or directory)
In file included from /usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda-8.0/bin/../targets/x86_64-linux/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
Target //tensorflow:libtensorflow_cc.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 690.546s, Critical Path: 37.60s
FAILED: Build did NOT complete successfully

The default gcc/g++ version in my system is 5.4.1.
Why I receive this error message? Any ideas? @FloopCZ

Hi, in this project, gcc-6 is hardcoded. Currently, you have two options

Change this line to gcc-5.
Use CUDA 9 instead of CUDA 8. It already supports gcc-6.

authors: FloopCZ hellbago


text:
Added support for scoped packages with a period on the right side

Added support for scoped packages with a period on the right side
Previously if generating declaration for file importing from a scoped package with a period on the right, it would generate an invalid declaration file, with typescript errors, as periods are not allowed in the as alias portion of the import e.g. import * as test.one.two from '@test/one.two'
Added Test to ensure no ts errors.

Awesome!

authors: FlorianRappl longlostbro

repo: FlorianRappl/dets


text:
NR4 release blog post

Blog post to coincide with the NR4 release, highlighting the features of value to the FF audience.
Note do not merge without my explicit approval as it has to coordinate with the release and availability on FF Cloud.

Marking ready for review as the release is on track for today. But still - do not merge without my approval.

Ready for this to be merged as soon as its approved.

repo: FlowFuse/website


text:
⚠ Unifi Controller has degraded performance

In b2a0800, Unifi Controller (https://unifi.vflits.com/) experienced degraded performance:

HTTP code: 200
Response time: 2374 ms

Resolved: Unifi Controller performance has improved in 72910ee after 11 minutes.

repo: Fluffy-Pan/upptime


text:
Session 一覧・詳細の実装

Issue
https://github.com/FlutterKaigi/TasksBoard/issues/166
Overview (Required)
Session 一覧・詳細の実装しました。
main へのマージは 10/9 を予定しているため、それまでは Draft にしておきます。
Screenshot
https://github.com/FlutterKaigi/2023/assets/32213113/d4c06a18-16c5-4ca6-b096-649942845f39

@FlutterKaigi/conference-website-2023
こちら期日きたのでマージします！


text:
feat(modules): add bank transient store, endblocker callback

Goal:

Get all updated balances once in endblock, indexer just need to read it
Fluxd control the event emission logic, chainstream compatible

Changes

Add transient store for added metadata, updated balances
Add callback in endblocker so that logic could be handled on fluxd

I think it's neat enough to be maintained in future cosmos sdk version if we want to migrate

Retried with fluxd, looks good, also have expected events

repo: FluxNFTLabs/cosmos-sdk


text:
Blog settings error

When I run the dummy server and attempt to change the title of a blog from the blog settings menu, the response is a 422 error.

Looks like the error on the @blog record is that draft_content can't be blank. It looks like we have Blog inheriting from Page, which inherits from Post, which includes the has_versions concern. We probably need to switch up the way our models are set up to fix this.

Also, it appears this only happens for the default blog that gets created when you create a site. In the dashboard/blogs_controller there's a pretty dirty hack that just sets :draft_content to "test" on any other Blogs that get created, along with a few other attributes that really don't belong on a Blog record. I guess the easiest fix for now would be to do something similar for the default Blog.

@dvanderbeek is this still an issue? I can't seem to reproduce...

Hmm, looks like it's working on the dummy app now. I'll close the issue and we can re-open it if we run into it again.

authors: dvanderbeek eanlain

repo: FlyoverWorks/storytime


text:
Still have problems with multiple request

Hi
I have problem with my multiple requests. Only the first 401 error probably getting new access token, second not.

Here is my code.
`import axios from "axios";
import createAuthRefreshInterceptor from "axios-auth-refresh";
const baseUrl = "https://****.com/";
const instance = axios.create({
baseURL: baseUrl,
});
// Function that will be called to refresh authorization
const refreshAuthLogic = (failedRequest: any) =>
axios
.post("https://****/api/token/refresh/", {
refresh: localStorage.getItem("refreshToken"),
})
.then((tokenRefreshResponse) => {
localStorage.removeItem("accessToken");
localStorage.setItem("accessToken", tokenRefreshResponse.data.access);
  console.log(tokenRefreshResponse.data.access);

  failedRequest.response.config.headers["Authorization"] =
    "Bearer " + tokenRefreshResponse.data.access;

  return Promise.resolve();
});

createAuthRefreshInterceptor(instance, refreshAuthLogic);
export default instance;`
No matter if I set the newest options like skipWhileRefreshing, pauseInstanceWhileRefreshing - situation is the same. I tried previous closed issues but didnt work :(

You need put the logic for set auth token on an axios interceptor as the example on documentation:
axios.interceptors.request.use(request => {
    request.headers['Authorization'] = `Bearer ${getAccessToken()}`;
    return request;
});

previusly you define the function getAccessToken for example on localStorage.

@lensanag is correct. You need to use an interceptor to bind the new token for the requests. Otherwise there's no way to bind it into the awaiting requests, unfortunately.

Ehh... I don't understand a little how I can add this all.
So my code above is correct but I need to define additional lines of code like this @lensanag?
In getAccessToken I have to put only localstorage.getItem or I should put there axios get request for token?

Example from documentation:
// Logic from above is here

// Obtain the fresh token each time the function is called
function getAccessToken() {
    return localStorage.getItem('token');
}

// Use interceptor to inject the token to requests
axios.interceptors.request.use(request => {
    request.headers['Authorization'] = `Bearer ${getAccessToken()}`;
    return request;
});

Still the same situation (same like on my added picture)
import axios from "axios";
import createAuthRefreshInterceptor from "axios-auth-refresh";

const baseUrl = "https://***/";

const instance = axios.create({
  baseURL: baseUrl,
});

// Function that will be called to refresh authorization
const refreshAuthLogic = (failedRequest: any) =>
  axios
    .post("https://***/api/token/refresh/", {
      refresh: localStorage.getItem("refreshToken"),
    })
    .then((tokenRefreshResponse) => {
      localStorage.setItem("accessToken", tokenRefreshResponse.data.access);

      console.log(tokenRefreshResponse.data.access);

      failedRequest.response.config.headers["Authorization"] =
        "Bearer " + tokenRefreshResponse.data.access;
      return Promise.resolve();
    });

function getAccessToken() {
  return localStorage.getItem("accessToken");
}

// Use interceptor to inject the token to requests
axios.interceptors.request.use((request) => {
  request.headers["Authorization"] = `Bearer ${getAccessToken()}`;
  return request;
});

createAuthRefreshInterceptor(instance, refreshAuthLogic);

export default instance;

Well, it's probably because you mix instance and axios like it's the same thing. Try to use instance after it's created and it will work just fine 🙂
So the final code would be:
import axios from "axios";
import createAuthRefreshInterceptor from "axios-auth-refresh";

const baseUrl = "https://***/";

const instance = axios.create({
  baseURL: baseUrl,
});

// Function that will be called to refresh authorization
const refreshAuthLogic = (failedRequest: any) =>
  instance
    .post("https://***/api/token/refresh/", {
      refresh: localStorage.getItem("refreshToken"),
    })
    .then((tokenRefreshResponse) => {
      localStorage.setItem("accessToken", tokenRefreshResponse.data.access);

      console.log(tokenRefreshResponse.data.access);

      failedRequest.response.config.headers["Authorization"] =
        "Bearer " + tokenRefreshResponse.data.access;
      return Promise.resolve();
    });

function getAccessToken() {
  return localStorage.getItem("accessToken");
}

// Use interceptor to inject the token to requests
instance.interceptors.request.use((request) => {
  request.headers["Authorization"] = `Bearer ${getAccessToken()}`;
  return request;
});

createAuthRefreshInterceptor(instance, refreshAuthLogic);

export default instance;

Well, it's probably because you mix instance and axios like it's the same thing. Try to use instance after it's created and it will work just fine 🙂
So the final code would be:
import axios from "axios";
import createAuthRefreshInterceptor from "axios-auth-refresh";

const baseUrl = "https://***/";

const instance = axios.create({
  baseURL: baseUrl,
});

// Function that will be called to refresh authorization
const refreshAuthLogic = (failedRequest: any) =>
  instance
    .post("https://***/api/token/refresh/", {
      refresh: localStorage.getItem("refreshToken"),
    })
    .then((tokenRefreshResponse) => {
      localStorage.setItem("accessToken", tokenRefreshResponse.data.access);

      console.log(tokenRefreshResponse.data.access);

      failedRequest.response.config.headers["Authorization"] =
        "Bearer " + tokenRefreshResponse.data.access;
      return Promise.resolve();
    });

function getAccessToken() {
  return localStorage.getItem("accessToken");
}

// Use interceptor to inject the token to requests
instance.interceptors.request.use((request) => {
  request.headers["Authorization"] = `Bearer ${getAccessToken()}`;
  return request;
});

createAuthRefreshInterceptor(instance, refreshAuthLogic);

export default instance;

....
I forgot about using instance instead axios ... xD Sorry, my fault because in other files Im importing this instance with "axios" export for "instance" ... Thanks!!!!!!!!!!!!!!!!!!!!!!

authors: Bartyee Flyrell lensanag

repo: Flyrell/axios-auth-refresh


text:
Alexey-Ben meeting 2019-02-19

Updates from last week

FoRTE

ED ensemble outputs

Link to parameter values -- done
PFT-specific outputs -- done
Code for reading ensemble output -- evolving as I go, but converging on a workable set of approaches/functions

ED benchmarks -- done

When 4 ensemble members are running together, 1 simulation year takes ~30 minutes (so 100 years = ~50 hours)
With 6 ensemble members, slows down to 1 simyear per 45 minutes (100 years = ~79 hours)
After looking at top output, there is definitely a load-balancing issue. With 6 ensemble members, the system load average is ~24 (so the 8-core system is overburdened by 3x), and the ED processes alternate frequently between running and sleeping.
I asked IT if they had any suggestions. Here is the JIRA ticket link.
Thanks to IT recommendations, figured out how to run PEcAn across multiple virtual machines, so should be able to use a lot more cores (32 at a time) for ED runs (easily scalable to more). Spent part of Friday, and most of Monday and Tuesday on this, but now have a solid, scalable system where we can quickly add/remove compute nodes at will.

Hector -- Didn't work on.
Other

PNNL administrative tasks (outside activity form, CC application)
GCB re-review (not one of the other two I mentioned) -- ~30 minutes (all my comments were well taken)

Goals for this week

FoRTE

R tutorial for FoRTE meeting
Finish PEcAn multi-node setup
Validate ED parameters
Start ED ensembles with finite canopy radius model
Clean up code for processing ED ensemble output (use drake more)

Hector (time-permitting)

Literature values for permafrost "biome" pools and parameters

Other discussion topics

At some point (probably after FoRTE Richmond meeting), I will need to take ~2 hours to resubmit trait meta-analysis paper somewhere.

Thanks to IT recommendations,

Great! They're very responsive and helpful in my experience.

Update: Partway through FoRTE drake/git lesson. Here is the repo.

How long are you thinking this will be? There's already quite a bit of material there.

How long were we planning for these lessons? I can adapt the lesson to fit whatever time frame we want. From earlier conversations, I thought our two lessons combined would be roughly half a day (~4 hours), but I can cut back if it's actually a lot less than that.
Also, even though there's a lot of text in there, I think we can move through the underlying steps fairly quickly.

authors: ashiklom bpbond

repo: FoRTExperiment/FoRTE-mgmt


text:
🛑 SAC is down

In 77a4486, SAC (https://sac.focasoftware.com/sac/usuario/index.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SAC is back up in ac4d841.

repo: Foca-Software/status


text:
Обновление инфраструктуры

ВАЖНО: Этот PR содержит изменения сильно ломающие текущее положение дел, поэтому вливать его до конца семестра не стоит.
Что сделано:

Вместо голого pip используется poetry
Добавлен конфиг для Dependabot
будет дополняться

Ещё из инфраструктурных идей: посмотреть на ruff.

Закрыто ради #159

authors: WoWaster gsvgit


text:
Detox tests hang & fail if the app is using victory-native

Bugs and Questions
Checklist

[x] This is a victory-native specific issue. (Issues that also appear in victory should be opened here)

[x] I have read through the FAQ and Guides before asking a question

[x] I am using the latest version of victory-native

[x] I have checked to make sure that my versions of react-native and react-native-svg are compatible with this version of victory-native. Read about version requirements

[x] I've searched open issues to make sure I'm not opening a duplicate issue

The Problem
Running Detox tests with victory-native in the app, hangs the test, and fails eventually. This happens only on Android. iOS tests run successfully with victory-native
Reproduction
I have created a repo to demonstrate this. I've included instructions in the readme (with screenshots) on how to reproduce this issue. You can find it here: https://github.com/chaitanyadeorukhkar/detox_victory_demo

After digging into this a bit more I realized that the timers run in loops. Victory native uses https://github.com/d3/d3-timer which keeps running in never-ending loops. Because of this detox keeps waiting for the timers to resolve which they never do. Is this intentional to keep d3-timer in a never-ending loop?

Has anyone fixed this or found a workaround?

I did find a temporary workaround. Created a file called e2e/mocks/d3-timer.js with this code
function now() {}

function timer() {
  return {
    restart: () => {},
    stop: () => {},
  };
}

function timerFlush() {}

export { timer, now, timerFlush };

Used this file to "mock" d3-timer in our e2e tests by adding this to our .babelrc.js. You can read up on configuring module resolvers here
plugins: [
    [
      'module-resolver',
      {
        root: ['.'],
        extensions: [
          '.ios.js',
          '.android.js',
          '.js',
        ],
        alias: {
          'd3-timer':
            process.env.BABEL_ENV === 'e2e' ? './e2e/mocks/d3-timer.js' : './node_modules/d3-timer',
        },
      },
    ],
  ],

And finally changed the detox config in package.json to add BABEL_ENV
"android.emu.release": {
        "binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
        "build": "cd android && BABEL_ENV=e2e ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
        "type": "android.emulator",
        "device": {
          "avdName": "emulator"
        }
      }

Hope this helps!

This looks great. Thanks! Could you share the same "builld" line, but for iOS?

I did find a temporary workaround. Created a file called e2e/mocks/d3-timer.js with this code
function now() {}

function timer() {
  return {
    restart: () => {},
    stop: () => {},
  };
}

function timerFlush() {}

export { timer, now, timerFlush };

Used this file to "mock" d3-timer in our e2e tests by adding this to our .babelrc.js. You can read up on configuring module resolvers here
plugins: [
    [
      'module-resolver',
      {
        root: ['.'],
        extensions: [
          '.ios.js',
          '.android.js',
          '.js',
        ],
        alias: {
          'd3-timer':
            process.env.BABEL_ENV === 'e2e' ? './e2e/mocks/d3-timer.js' : './node_modules/d3-timer',
        },
      },
    ],
  ],

And finally changed the detox config in package.json to add BABEL_ENV
"android.emu.release": {
        "binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
        "build": "cd android && BABEL_ENV=e2e ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
        "type": "android.emulator",
        "device": {
          "avdName": "emulator"
        }
      }

This disables the graph animations & visuals but at least doesn't block the rest of our e2e tests. Hope this helps!

This looks great. Thanks! Could you share the same "builld" line, but for iOS?

@scaralfred It works fine on iOS. I only had an issue with Android. You can refer this for iOS

Thanks @chaitanyadeorukhkar, your solution worked for me.

Until now, I was able to test the production build with detox (extremely cool and valuable if you think about it), but with victory/d3 I'm forced to use mocks and thus a separate build.
How could someone external like me or a detox developer help with this?

authors: amq chaitanyadeorukhkar rcscott scaralfred

repo: FormidableLabs/victory-native


text:
switch

Please fill out either the bug or feature request section and remove whatever section you are not using.
Bug
Version Number of Plugin: 1.0.0.49-beta
Device Tested On: LG
Simulator Tested On:
hi, i see your samples but i not find "SwitchChangeColor" in effects
br
Max

Hey Max, what is it you are missing?
https://github.com/FormsCommunityToolkit/FormsCommunityToolkit/blob/dev/src/Effects/Effects.Android/Effects/Switch/SwitchChangeColor.cs

Sorry, I saw new examples and I thought I had put the new version on nuget
br
Max

SwitchChangeColor is on NuGet in https://www.nuget.org/packages/FormsCommunityToolkit.Effects/1.0.0.110-beta

authors: Depechie bartlannoeye maxdiable


text:
Ntfy for Delphi

Request to add a new awesome open-source project
Ntfy for Delphi. [Delphi]  A friendly library to push instant notifications using ntfy.sh servers in Delphi

Added, thanks!


text:
More project info

Will description, BOM and diagrams be available?

Please see the kicad subdirectory

Are there plans to improve the circuit design of the board or is this the final version?

I have had the PCBs made and completed building a few pieces of this adapter. They are working pretty well, so that would be a yes. I cannot rule out slight changes in the future though, especially the PCB layout.

It is not.

It is not. The USB-C is now reserved to programming and debugging purposes.

It is not. The USB-C port is now reserved for programming and debugging purposes.

https://github.com/Franticware/usb-to-ps1-mouse-pro/tree/main/wiring

authors: Franticware LobAnovich


text:
MultiValueEvaluator yields unexpected result when evaluating Expressions containing +=

Unexpected behavior
I am trying to analyse the value of "s" in the println statement using a MultiValueEvaluator. The returned value for s is an ArrayList containing just the String "{+=}".
When the reassignment of s is done using s = s + "!" i recieve the expected result of an ArrayList containing ["small!","big!"]
Code of interest
 int i = 3;
        String s;
        if(i < 2)
            s = "small";
        else
            s = "big";
        s += "!";
        System.out.println(s);

Related to https://github.com/Fraunhofer-AISEC/cpg/issues/949, since the both follow the same logic.

authors: MaximilianLincks oxisto

repo: Fraunhofer-AISEC/cpg


text:
Bug with challenge: Target the same element with multiple jQuery Selectors

It doesn't let me advance and for what I've checked my code is correct. Anyone knows how to solve this issue?

jQuery Playground

#left-well

#target1
#target2
#target3

#right-well

#target4
#target5
#target6

@sevenok Your code is incorrect, you're missing the quotes around the class names.
If you need help with a challenge, please visit the Help Room first, in future. This place is for reporting issues with the website itself. Happy Coding!

Sorry dude, my bad.

@sevenok It's cool, not a problem :+1:

authors: Manish-Giri sevenok

repo: FreeCodeCamp/FreeCodeCamp


text:
Waypoint: Declare JavaScript Objects as Variables and Waypoint: Construct JavaScript Objects with Functions - wrong test text

Challenge http://freecodecamp.com/challenges/waypoint-declare-javascript-objects-as-variables has an issue.

The tests should read:
... 'motorbike should have a "engines" attribute set to a number.'
... 'motorbike should have a "wheels" attribute set to a number.'
... 'motorbike should have a "seats" attribute set to a number.'

Thanks for posting this @arya45!
This should be a simple fix.  Feel free to submit a pull request.


text:
Passes even though it shouldn't

Challenge Bonfire: Truncate a string has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function truncate(str, num) {
  if (str.length <= 3) {
    str = str.slice(0,num).concat("..");
  }
  if (str.length > num) {
    str = str.slice(0,num-3).concat("...");
  }
  // Clear out that junk in your trunk
  return str;
}

truncate("A-1", 2);

Hi! This code passes when it shouldn't. The challenge asks for users to truncate if str.length is longer than num.length, but this configuration truncates str as long as it is shorter than 3 characters, regardless of the length of num. This could be resolved by making another test parameter truncate("A-", 2) which does not truncate.

Can you please show what you get and what you think you should get?

If truncate("A-",2) is tested, I should get "A-". Instead I get "A-..."

Duplicate of #4066

Closing as a duplicate.

authors: S-Lynne SaintPeter ltegman


text:
Can't claim Data Vis Certification

Yesterday I finished all challenges for the Data Visualization Certification, and did the Claim Your Certificate step. There were no errors, but the certificate has not shown up on my profile, and it doesn't exist in the db when accessed as a direct link.

@BerkeleyTrue - Can you take a look at this?  I have no way of confirming.

The same happens to me

and with the direct link

@HermanFassett @nemesiscodex
An error in challenge seed made it impossible for anyone to claim certifications but mistakenly let them complete the claim certification challenge.
I've pushed a hotfix to production. Looks like it is working properly. I've gone ahead and removed the faulty challenge from your record. If you visit the challenge to claim your certification again it should be working properly.

Thanks @BerkeleyTrue, it works now!

Yep works for me too thanks @BerkeleyTrue

authors: BerkeleyTrue HermanFassett SaintPeter nemesiscodex


text:
Free Code Camp: Challenge [Nest an Anchor Element within a Paragraph

I think there is a bug here because I followed the format of the example in my answer. The example code was:
Here's a  link to Free Code Camp for you to follow.
The code I entered, one line below the  tags was:
View more cat photos
There were 8 tests run for this challenge, but only one test failed. The test that failed was “your p element should have the text “View more “ (with a space after it). However, I included the exact words "View more " with a space after it. I would like to pass this challenge and move on to the next one. I would like this problem resolved. Thank you.

@jimawofadeju I cannot see the rest of your code but I think I know what the "issue" is. A hint that's in the instructions is:

Now nest your existing a element within a new p element (just after the existing h2 element)...

If that doesn't help, please copy-paste all of your code for us to determine if it is a bug in the site or there's an issue with your code. Thanks!

I just copied and pasted all of my code for this challenge. I submitted a new issue with the same title as the old issue.

On Apr 24, 2016, at 9:08 PM, Eric Leung notifications@github.com wrote:
@jimawofadeju I cannot see the rest of your code but I think I know what the "issue" is. A hint that's in the instructions is:
Now nest your existing a element within a new p element (just after the existing h2 element)...
If that doesn't help, please copy-paste all of your code for us to determine if it is a bug in the site or there's an issue with your code. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@jimawofadeju looking at your code you've posted in #8277, my guess was right. There isn't anything wrong with the site. Please read the instructions carefully. The answer to fix your issue is in the instructions. But if you are still stuck with this challenge, please ask questions to the Help Room. Happy coding!

I did ask twice if anyone was able to pass the nesting an anchor element within a paragraph. No one responded and it has been 7 or 8 hours since I asked.

On Apr 24, 2016, at 9:20 PM, Eric Leung notifications@github.com wrote:
@jimawofadeju looking at your code you've posted in #8277, my guess was right. There isn't anything wrong with the site. Please read the instructions carefully. The answer to fix your issue is in the instructions. But if you are still stuck with this challenge, please ask questions to the Help Room. Happy coding!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

I figured it out. I had two of the same anchor elements. I only need one. I must have copied and pasted the anchor element without removing the one I initially copied.

On Apr 24, 2016, at 9:20 PM, Eric Leung notifications@github.com wrote:
@jimawofadeju looking at your code you've posted in #8277, my guess was right. There isn't anything wrong with the site. Please read the instructions carefully. The answer to fix your issue is in the instructions. But if you are still stuck with this challenge, please ask questions to the Help Room. Happy coding!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

authors: erictleung jimawofadeju


text:
"-grab-keyboard" and -multimon fullscreen params doesnt't work together in unity

Because of unity top bar fullscreen is moved a liitle lower so part of window is missing. When there is +grab-keyboard used, all working as expected. In case that -grab-keyboard is used fullscreen "window" is moved a bit lower and top status bar appear.

Closing due to lack of activity.
Reopen/create a new issue if still relevant.

authors: akallabeth theerror

repo: FreeRDP/FreeRDP


text:
[SDL] client enhancements

an issue to track wich features the SDL client still needs:

full multitouch support (pen, finger, ...) https://github.com/FreeRDP/FreeRDP/issues/9077
clipboard https://github.com/FreeRDP/FreeRDP/issues/9075
multimonitor https://github.com/FreeRDP/FreeRDP/issues/9076
remote application support https://github.com/FreeRDP/FreeRDP/issues/9078
GUI dialog for credentials and stuff https://github.com/FreeRDP/FreeRDP/issues/9079
webview for AAD/AVD authentication #6529 implemented with #9127
support SDL audio devices https://github.com/FreeRDP/FreeRDP/issues/9177
improve event handling #9189

Will this sdl client be a replacement of mac client? I'm using the current mac client and thinking of implementing multi monitor support on it. But this SDL client seems to be another way.

@amazingfate yes - SDL client is supposed to replace Mac and Windows clients.

@amazingfate #8895 is the only blocker for replacing the other platform clients currently. but that could already be worked around by using SDL3 development branch (just need to implement the clipboard glue code for that)

@amazingfate #8895 is the only blocker for replacing the other platform clients currently. but that could already be worked around by using SDL3 development branch (just need to implement the clipboard glue code for that)

Great work! SDL client has more people involved and I'm happy to try it.
I did test sdl client on from master branch on mac last week, but I saw when running with /multimon, these is one monitor displaying black. I'm going to spend some time to investigate it.

great, multimonitor support is currently very basic and not fully implemented, so any tester and bug fixer is welcome!

authors: akallabeth amazingfate mfleisz


text:
Some changes to the WinPCAP network interface

Description
Replaced ipLOCAL_MAC_ADDRESS with pxEndPoint->xMACAddress
Removed earlier debug code around FreeRTOS_MatchingEndpoint()
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Merged as part of PR #738

repo: FreeRTOS/FreeRTOS-Plus-TCP


text:
Fix MISRA C 2012 deviations

Description

Fix rule 18.4 deviations. Not using operators with pointer type.
Suppress rule 20.5 deviations in misra.config to allow use of undef.

Test Steps

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This project already defined UINT_TESTS and COVERITY option in test/CMakeLists.txt. Another PR will be created to align the test/CMakeLists.txt.