Unity: SteamAudio output level is 4dB lower

When SteamAudio is used to spatialize an AudioSource, the volume of the audio is being reduced by roughly 4dB. The issue occurs across multiple Unity versions (2018, 2019) with Steam Audio 2.0 beta 17.
Steps to reproduce:

Load a test signal (for instance white noise) as AudioClip into an AudioSource with PlayOnAwake=true
Position the camera at the same spot as the AudioSource so the 3D Audio Engine has no effect on the AudioSource.
Add a SteamAudioSource Component to the AudioSource and disable Direct Binaural
Start the scene and toggle the Spatialize-bool. Using an RMS meter, I get a difference of 4dB between Spatialize-On and Off.
Enable Direct Binaural in the SteamAudioSource Component.
Toggle the Spatialize-bool. The volume difference is now much much less.

So the issue occurs on step 4. Step 5 and 6 are merely there to demonstrate this has something to do with the audio rendering when HRTFs are disabled.
For reference, I'm posting the settings I used:

It seems that this effect depends on the current speaker configuration. If that is set to stereo, you'll end up with a 4dB difference in volume.
If using a speaker layout of 7.1, the difference will be more dramatic and Steam Audio's output will be roughly 15dB(!) less thatn a non-spatialized version of the AudioSource.
@freemancw @lakulish @achandak this behaviour is possibly caused by this:  https://github.com/ValveSoftware/steam-audio/blob/53d19fd938e8e2e5508eb95324019f8acfa6b69b/unity/src/native/spatialize_effect.cpp#L789-L799
It's not obvious why the level parameter from the SteamAudioSource-Component just isn't a simple constant factor but needs to be calculated from things like outChannels or numSamples. Anyway, given the fact that the volume differences become stronger with more channels used by the speaker layout, it looks like that is coming from these lines.

I had some more time today to look into this. Seems like the part I quoted above does the volume adjustment over time to avoid hard volume jumps?
Got the source code to compile on my machine and put some std::cout in there to check the level value, but that stays at 1 in these lines.
So the issue is coming from somewhere else.
I created a video showcasing the minimal setup involved and the observations: https://klops.filmuniversitaet.de/index.php/s/vZbzoP7lAr1sWNg
Also I added some speaker layout dependent constants into the lines above which fixes the problem. I'll try to make a PR later this month.

I believe this is still true.
My guess is that the root problem occurs from down mixing the input channels which forces some level changes to prevent clipping?

@Schroedingers-Cat The panning algorithm in Steam Audio uses constant power panning, whereas the HRTF is normalized using a more complex frequency-dependent algorithm that accounts for perceptual loudness. For this reason, it's possible that there is some loudness discrepancy between HRTF and panning, and that this difference may vary as a function of direction.
One way to deal with this might be to use the HRTF Volume Gain setting in the Steam Audio Settings to bring the binaural audio to a similar level as panned audio.

Thanks a lot for adding the HRTF Volume Gain setting. I had to hard-bake the offset into the plugin for my projects. The new setting allows me to use the release binaries again.


[BUG] Cython generates undefined casts between Python and Cython versions of cpdef enum class

Describe the bug
Under certain circumstances, Cython generates unsafe casts between a Python enum and its mirror Cython enum class. While such casts are the users responsibility to avoid in C/C++ code, and therefore also in typed Cython code, Cython should add checks to prevent such unsafe casts in the auto-generated wrapper functions that translate from a Python wrapper to the mirror Cython type.
Code to reproduce the behaviour:
# definitions.pxd
# distutils: language = c++
cpdef enum class my_enum(int):
    a = 1
    b = 2

cpdef int f(my_enum x)

# definitions.pyx
# distutils: language = c++
cpdef int f(my_enum x):
    return <int> x

# main.pyx
# distutils: language = c++
from definitions cimport my_enum
from definitions cimport f
# from definitions import f

def g():
    print(f(100))

When f is cimported from definitions, I see the following error:
    print(f(100))
            ^

main.pyx:8:12: Cannot assign type 'long' to 'my_enum'

However, if f is instead imported like pure Python, I see the code compiles and g() prints out 100.
If I inspect the generated code, I see a strongly typed function generated with the signature
static int __pyx_f_11definitions_f(__PYX_ENUM_CLASS_DECL __pyx_t_11definitions_my_enum __pyx_v_x, CYTHON_UNUSED int __pyx_skip_dispatch)

This function is properly typed and I would expect calling it with an integer argument to produce an error. However, the corresponding Python function (__pyx_pw_11definitions_1f) includes an unsafe cast:
      __pyx_v_x = (__pyx_t_11definitions_my_enum)__Pyx_PyInt_As_int(values[0]); if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 4, __pyx_L3_error)

prior to calling
    __pyx_r = __pyx_pf_11definitions_f(__pyx_self, __pyx_v_x);

That cast is allowing the Python function to create enums via an unsafe path.
I observe the same behavior if I use a C style cpdef enum instead of a C++ enum class.
Expected behaviour
I would expect to get a similar error in both cases. C++ casting rules do not protect users against casting values that are not among the named enumerated types, so it wouldn't make sense for Cython to try to protect against doing something like
cdef my_enum A = <my_enum> 100

in Cython code. However, since both normal Python enums and Cython enums prevent initialization from invalid values (my_enum(100) should fail in both Python and Cython) Cython should also avoid this unsafe cast.
OS
Linux
Python version
3.11.4
Cython version
3.0.0
Additional context
No response

CC @shwina


I want to know status enabled or disabled currently

I want to know status enabled or disabled currently, how can I do this using PnPUtil
[Enter feedback here]

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

ID: 41c58204-8ae9-7822-df54-6e33af08f3c7
Version Independent ID: 3ded15a1-1b56-e571-adfd-383b27f64217
Content: PnPUtil Examples - Windows drivers
Content Source: windows-driver-docs-pr/devtest/pnputil-examples.md
Product: windows-hardware
Technology: devtest
GitHub Login: @DOMARS
Microsoft Alias: domars

Hi @kdm6389, thanks for the question.  Basically you'll want to use pnputil /enum-devices.  I just updated https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/pnputil-examples to clarify and also to alphabetize the examples so they're easier to find.  Hope this helps!

pnputil /enum-devices woked thanks


Use "null" Target Group ARNs instead of empty list

We encountered an issue caused by the argument target_group_arns of the created Autoscaling Group to default to an empty list:
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/97df53c0994d62f924133e2b5fd0bb67e5f7b11b/local.tf#L47
We wanted to use aws_autoscaling_attachment resources to add target groups in a different configuration. However, with the default being an empty list, Terraform believes that we want to exclusively manage the Target Groups in the Autoscaling Group resource, and will try to remove all attached target groups.
This is in line with the documentation:

NOTE on AutoScaling Groups and ASG Attachments: Terraform currently provides both a standalone ASG Attachment resource (describing an ASG attached to an ELB), and an AutoScaling Group resource with load_balancers defined in-line. At this time you cannot use an ASG with in-line load balancers in conjunction with an ASG Attachment resource. Doing so will cause a conflict and will overwrite attachments.

We were surprised by this as we did not specify any Target Group ARNs when instantiating the EKS module. While the autoscaling group defaults to "not specified", the EKS module defaults to "an intentionally left empty" in-line configuration.
We found that setting the default of target_group_arns to null fixes this issue, as it is apparently interpreted as "not specified".
Arguably, this could also be considered a bug in the AWS provider, as it is unclear from the documentation what to set target_group_arns to if you want to use the attachment resource instead.

Bumped into this too and like @ferdinand-beyer said, workaround for this is to pass following variable to the module:
workers_group_defaults = {
    target_group_arns = null
}

However, I created PR to change null as the default value.


[docs] Fix "Find the source" link in localization.md

[x] I have followed (at least) the PR section of the contributing guide.

@ValentinH Awesome, thanks


Will the official components consider supporting swoole extension？

In the swoole env: initializes framework once and then handles requests/responses.
it will be more faster and more efficient. but the possibility of a problem is greater.
We very much hope that officials can support swoole extensions.
like this :
https://github.com/zendframework/zend-expressive-swoole

This sounds like a feature request and not a bug report. Consider filing an issue at https://github.com/laravel/ideas instead, preferably with a more extensive description of why this is a good thing, and what needs to be done in Laravel's source.


Update nextcloud to <IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

hi can we please update for <IP_ADDRESS>

@alexstaj https://github.com/caskroom/homebrew-cask/pull/37645/files


Decide if a subscriber should be able to request no resolution after creation

On iOS it's possible to pass null when requesting a resolution for a trackable. On Android, the only situation in which the resolution will be null is if it wasn't provided in the subscriber builder. Which platform approach is the correct one?

It feels like we've discussed this before but have perhaps not formally documented our conclusion, hence the divergence in terms of SDK interface definitions on the subscriber side. If I remember correctly, it never sat comfortably with me the idea of a sendChangeRequest method sending a null change request, however others were less concerned by this so I'm happy to back down here.
Thus, my gut feeling tells me we should conform the Android subscribers to support what Cocoa is offering (i.e. allow null to be requested), based on the assumption that the publishers at both end must be able to handle the scenario that subscribers will often present no resolution preference in their initial presence data.
I also notice as I look at this that the Android subscriber calls this method sendChangeRequest but Cocoa is calling it just changeRequest. I think the verb prefix is important so this divergence should also be fixed on the Cocoa side.

So, based on the conversation we just had at refinement, we made a decision that yes, the original requirement was for Subscriber to be able to broadcast that it doesn't have preference regarding resolution. There are still 2 outstanding questions:

Is the current semantic (accepting Optional request) clear enough?

I personally think it is, but there was discussion in the past wether it is the case - @QuintinWillison please add your thoughts.

IS the naming of the relevant methods correct in general?

After thinking this through, I actually think that better way to present this in API may be using something like fun resolutionPreference(Resolution?). This way we get away from the "send" verb, and then using Optionals makes perfect sense from semantics point of view. @QuintinWillison @KacperKluka @robertkuraj WDYT?

I like the idea of changing the request into the preference in that method name :+1:

Agreed. Please proceed with @kavalerov's suggestion.


Refactoring:  introducing Patch data type

Fixes #317

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

another implementation done.


Usage of poi_converter on a Windows PC

I would like to use the poi_converter on a Windows PC (Win10, 64bit, python39 installed), but I am running into several issues with obviously needed packages.

Is it possible to run on a Win PC?
Is there a detailed installation instruction?
I have build a script to generate mapsforge maps for Locus App on a Windows PC (see: https://www.maiwolf.de/openoutdoormap/index.html). Now I would like to extend it with a Locus compatible poi-db file.
There are also several issues described in this forum: https://www.openandromaps.org/en/oam-forums/topic/poi-nutzbarkeit-der-dateien-mit-locus/page/7
So I seem not to be the only person having trouble using your code.

By the way, I am from Eichenau by Munich.
Regards
Bernard

Hi Bernhard,

it should be possible to run it on a Windows PC
i don't have a detailed installation instruction

I also know from the openandromaps.org forum topic that people tried to install it but had problems with the dependencies,  e.g. the spatialite enhanced sqlite library and libosmium. Unfortunately i'm not running Windows so i don't have a system to try it myself.
You may find some help on the respective project pages:
https://www.gaia-gis.it/fossil/libspatialite/index
https://osmcode.org/pyosmium/
But even there you might get binary releases only for different Linux distributions and MacOS. So i'm not really able to help you with this.
Best regards und Grüsse nach Eichenau,
Jürgen

Hi Jürgen,
thanks for the quick response.
I have tried already to install spatialite and osmium on my Windows PC. No success! With "pip install osmium" I get a long error message without a clear hint what is missing (although they state: "We provide binary wheels for Linux and Windows 64 for all actively maintained Python versions.").
I guess I have to install some Linux or give up.
Regards,
Bernard


Release Google.Cloud.AIPlatform.V1Beta1 version 1.0.0-beta05

Changes in this release:
Bug fixes

Annotate PipelineJob and PipelineTaskRerunConfig fields as optional (commit 7b00bf9)

New features

Add a dynamic retrieval API (commit 76aa5a6)

Created release for Google.Cloud.AIPlatform.V1Beta1-1.0.0-beta05


Disappearing abilities when adding saving throw to class feature

When trying to add a saving throw "Feature Attack" to the Supernova ability , or a custom ability, changing the type of saving throw (reflex, fort, half, negates, etc) the changes dont seem to be kept, and the ability disappears from the features list. This still happens with all modules deactivated.
Changing the type of save (reflex, fort, will) seems to trigger it, all other changes stop working properly afterwards. Without changing the type, all other fields act normally.
Link to video of what happens: https://streamable.com/q1zsku

I've run into this exact issue as well, in addition to the effect you're seeing in the video I can see the following errors in the console when this happens:
foundry.js:30659 Error: Owned Item preparation failed for FO9H9MDIZEsOPgxA (Acid Burst (Ex)) in Actor XbKpf0nlpHZhD7uW (Convecyte)     at Roll.evaluate (foundry.js:7655)     at Roll.roll (foundry.js:7682)     at ItemSFRPG._getSaveLabel (item.js:147)     at ItemSFRPG.prepareData (item.js:120)     at ActorSFRPG._prepareOwnedItems (foundry.js:30650)     at ActorSFRPG.prepareEmbeddedEntities (foundry.js:30627)     at ActorSFRPG.prepareData (foundry.js:30604)     at ActorSFRPG.prepareData (actor.js:50)     at ActorSFRPG._onModifyEmbeddedEntity (foundry.js:30105)     at ActorSFRPG._onModifyEmbeddedEntity (foundry.js:31072)

Should be fixed in the next release.


feat: update to drawio-desktop 21.7.5

See release https://github.com/jgraph/drawio-desktop/releases/tag/v21.7.5

:tada: This PR is included in version 1.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Booster doses

As of October 2021, booster doses of the COVID vaccine are being recommended for certain patient populations. Data is beginning to be reported by the Ohio Department of Health. The CSV file updated daily now contains a column called vaccines_first_additional_dose. Need to update library to allow access to this data.

Resolved in v2.0


Fixes an issue discovered in dotnet/docs#38912

Fixes #282 - issue discovered in dotnet/docs#38912.

Thank you!


Rainbow brackets

Is your feature request related to a problem? Please describe.
I'm always going between vsCode and DBeaver when programming with SQL because my vsCode has rainbow brackets but no fast db-aware code completions.
Describe the solution you'd like
I'd like for DBeaver to have rainbow brackets like vsCode does. I'm currently using DBeaver CE v<IP_ADDRESS>401211839.
Additional context

Created because of https://github.com/dbeaver/dbeaver/issues/20767#issuecomment-1665603178:

Can you please create a separate issue for supporting "rainbow" brackets if you're interested in that feature

Thank you for the idea.


[X16 Beta] Function Key() causes Fatal error

When I put Key() anywhere in my X16-targeted program, I get an assembler error:
... xcbasic3 .\LORDS\tests.bas TESTS.PRG --target=x16
** ERROR ** There has been an error while trying to execute DASM, please see the bellow message.
Tried to execute: "dasm.exe" "...AppData\Local\Temp\xcbtmp_1B564149.asm" -o"TESTS.PRG" -s...\AppData\Local\Temp\xcbtmp_1B564149.sym
--- Unresolved Symbol List
I_VERA_MOV_STRING_IMPORTED 0000 ????         (R )
I_STR_WTOS_IMPORTED      0000 ????         (R )
I_STRREAD_IMPORTED       0000 ????         (R )
I_BINREAD_IMPORTED       0000 ????         (R )
I_LTOF_IMPORTED          0000 ????         (R )
I_NUCLEUS_DIVBYTE_IMPORTED 0000 ????         (R )
I_F_clock_month_IMPORTED 0000 ????         (R )
I_F_mousex_IMPORTED      0000 ????         (R )
I_F_entropy_IMPORTED     0000 ????         (R )
I_FMOD_IMPORTED          0000 ????         (R )
I_STR_RIGHT_IMPORTED     0000 ????         (R )
I_NUCLEUS_DIV24_IMPORTED 0000 ????         (R )
I_F_src4.mouse_get_IMPORTED 0000 ????         (R )
I_IO_INPUT_IMPORTED      0000 ????         (R )
I_STRREMOV_SC_IMPORTED   0000 ????         (R )
I_STDLIB_BYTE_TO_PETSCII_IMPORTED 0000 ????         (R )
IO_KEYR                  0000 ????         (R )
I_F_mousey_IMPORTED      0000 ????         (R )
I_NUCLEUS_DIV16_IMPORTED 0000 ????         (R )
I_F_memcpyvm_long_word_word_IMPORTED 0000 ????         (R )
I_NUCLEUS_MULU16_IMPORTED 0000 ????         (R )
I_CALC_SCRROWPTR_IMPORTED 0000 ????         (R )
I_F_memcpymv_word_long_word_IMPORTED 0000 ????         (R )
I_STDLIB_TAB_IMPORTED    0000 ????         (R )
I_RANDOMIZE_IMPORTED     0000 ????         (R )
I_STRCMP_IMPORTED        0000 ????         (R )
I_STR_UCASE_IMPORTED     0000 ????         (R )
I_F_mouseoff_IMPORTED    0000 ????         (R )
I_IO_READST_IMPORTED     0000 ????         (R )
I_STR_LTOS_IMPORTED      0000 ????         (R )
I_MEMCPY_IMPORTED        0000 ????         (R )
I_MEMSET_IMPORTED        0000 ????         (R )
I_F_mouseon_IMPORTED     0000 ????         (R )
I_F_clock_sec_IMPORTED   0000 ????         (R )
I_F_vpoke_long_byte_IMPORTED 0000 ????         (R )
IO_KEYW                  0000 ????         (R )
I_STDLIB_PRINT_DECIMAL_IMPORTED 0000 ????         (R )
I_NUCLEUS_DIVU16_IMPORTED 0000 ????         (R )
I_MEMSHIFT_IMPORTED      0000 ????         (R )
I_EXP_IMPORTED           0000 ????         (R )
I_RUNTIME_ERROR_IMPORTED 0000 ????         (R )
I_FIN_IMPORTED           0000 ????         (R )
I_FPLIB_IMPORTED         0000 ????         (R )
I_SQRW_IMPORTED          0000 ????         (R )
I_F_clock_hour_IMPORTED  0000 ????         (R )
I_FOUT_IMPORTED          0000 ????         (R )
I_F_clock_day_IMPORTED   0000 ????         (R )
I_STR_TONULLTERM_IMPORTED 0000 ????         (R )
I_F_setclock_byte_byte_byte_byte_byte_byte_IMPORTED 0000 ????         (R )
I_F_vpeek_long_IMPORTED  0000 ????         (R )
I_STR_BTOS_IMPORTED      0000 ????         (R )
I_RNDL_IMPORTED          0000 ????         (R )
I_NUCLEUS_MULBYTE_IMPORTED 0000 ????         (R )
I_STR_CONCAT_IMPORTED    0000 ????         (R )
I_RESET_SCRVECTORS_IMPORTED 0000 ????         (R )
I_STR_LCASE_IMPORTED     0000 ????         (R )
I_PET2SC_IMPORTED        0000 ????         (R )
I_STDLIB_PRINT_BYTE_IMPORTED 0000 ????         (R )
I_F_clock_year_IMPORTED  0000 ????         (R )
I_STRSCRATCH_IMPORTED    0000 ????         (R )
I_STR_DTOS_IMPORTED      0000 ????         (R )
I_SQRL_IMPORTED          0000 ????         (R )
I_STR_MID_IMPORTED       0000 ????         (R )
I_NUCLEUS_MUL24_IMPORTED 0000 ????         (R )
I_F_mousebtn_IMPORTED    0000 ????         (R )
I_STR_LEFT_IMPORTED      0000 ????         (R )
I_F_vmemset_long_word_byte_IMPORTED 0000 ????         (R )
I_NUCLEUS_MUL16_IMPORTED 0000 ????         (R )
I_VERA_STRREMOV_SC_IMPORTED 0000 ????         (R )
I_F_clock_min_IMPORTED   0000 ????         (R )
I_BINWRITE_IMPORTED      0000 ????         (R )
I_STRWRITE_IMPORTED      0000 ????         (R )
I_VERA_SETADDR_IMPORTED  0000 ????         (R )
I_RND_IMPORTED           0000 ????         (R )
--- 74 Unresolved Symbols
Fatal assembly error: Source is not resolvable.

Hi @atariVCS
The KEY() function is not yet implemented for the X16.
I've been trying to figure out how to read the currently pressed key on the X16, but couldn't find anything useful yet.
Let me know if you have any tips. Thanks

Hi @neilsf
ah, that explains why it doesn't work.
The KERNAL Routine for reading the oldest pressed Key on the "stdin" buffer (which is the keyboard unless someone reconfigures it) on the X16 is  GETIN, $FFe4
GETIN writes the oldest petscii code in stdin-buffer into the accumulator - OR a 0 if the buffer is empty (no key pressed)
GETIN also uses the X and Y register.
I've attached a small sample which I was able to build and run on the X16
read_character.zip
Kudos to Matt from "Retro Desk" for his great Assembler tutorial on youtube (lesson 8) - otherwise I wouldn't have known either :)

The KERNAL Routine for reading the oldest pressed Key on the "stdin" buffer (which is the keyboard unless someone reconfigures it) on the X16 is GETIN, $FFe4

GETIN is a standard Commodore KERNAL function that you can access through the XC=BASIC command GET. It should work on the X16, too!
The KEY() function in XC=BASIC is different. It tests whether a specific key is actually depressed. (Note: not the buffered, but the actual state of a key) In C64, this is done by sending/reading bytes to/from CIA registers.
Not sure which one you need, GET or KEY()?

You are correct. GET should be good for now. KEY() works differently - I didn't realize that. For me, my issue is closed.
For the nonetheless interesting question if/how it is possible to read the currently pressed key on keyboard I have asked the X16 developers and I hope to get a reply.

I already got the answer. Unlike on a C64,  it is not possible on the X16 at hardware-level to check if a specific key is currently pressed. This is due to the PS/2 stuff we guess.
In addition, the developer MooingLemur was so nice to explain the following:

There can also be several currently pressed keys.  A machine language program can hook into the kernal key handler and track key on/key off events if it wants to track what keys are held. Example:
https://github.com/X16Community/x16-docs/blob/master/X16 Reference - 02 - Editor.md#custom-keyboard-scancode-handler.
Without hooking into that, they only information a program gets is the petscii key code when a key down event happens. The main kernal interrupt service routine (called 60 times per second by default) will query the system microcontroller (which is connected to the PS/2 keyboard) and ask whether there's a key event in the microcontroller's buffer.  If there is, the kernal fetches and processes it. It works the same way in the emulator, but of course the microcontroller itself is emulated.

Keep in mind holding down a key causes the keyboard itself to issue repeated key down events, so the computer doesn't "know" what keys are held down unless it chooses to track it, keeping state until a key up event is received.

So I guess implementing KEY() would be much more complicated than on a C64? Maybe it is sufficent to mark the KEY() function as unavailable on X16 for now.


Orbit organization

Creating and subscribing to this issue, so that I get notified when Orbit becomes its on Github org :)

https://github.com/orbit is taken :/
Not sure what would be a good alternative...

Brainstorming some names related to orbit:

apogee
perigee
trajectory

Orbit in Spanish might work, orbita.
Or maybe Finnish: kiertorata

Mmm peerogi.  Probably too far from space though :p.

We got https://github.com/orbitdb \o/

What's holding this back? I need this to happen soon, as I need to refer people to the group of orbit repos.

It hadn't clearly been prioritized for anyone. I'll work on this this week, and ask @haadcode to move over repos when he's back from vacation.

Started. https://github.com/orbitdb/orbitdb. See https://github.com/orbitdb/orbitdb/issues/1 for a discussion on which repos to move there. I can shape things up better as I know more.

I need this to happen soon, as I need to refer people to the group of orbit repos.

@jbenet can you elaborate here on the urgency and target? Is there an event coming at a specific date where we want to talk about orbit(db)? What exactly is "people" in this case, a particular set of users or generally?

I believe it is because as orbit get's linked, it is easier to attract people to 'orbit the endeavor', than 'orbit the app'. Plus it is a discoverability thing, in the same way we tell people to go to github.com/ipfs for IPFS things, github.com/orbitdb for orbit things.

Here we go: https://github.com/orbitdb/orbit. 👋

Considering this goal completed. Rest of the orbit related repos still moving and tracked in https://github.com/orbitdb/orbitdb/issues/1.


having multiple chroots on one computer

issue:
Ok so here is the problem I'm wondering if I can install two chroots at the same time, putting kali linux on  a flash drive and ubuntu on the internal SSD of my acer c710 chromebook is that even possible? and if so is there any extra steps that I need to follow or cautions I need to worry about?

@Anklebitter,
Yes, you can install and run multiple chroots on the internal SSD or on external media.
The only thing you need to keep in mind is that you have to specify the path to your chroot(s) on external media since 'crouton' is expecting them to be in /usr/local/chroots by default.
You can do this by using the '-c' option when launching your 'start*' script(s), see below:
    -c CHROOTS  Directory the chroots are in. Default: /usr/local/chroots
Hope this helps,
-DennisL


Shared news source among the hosted portals

It would be nice to have some mechanism to share news items among portals short of copying and pasting the posts themselves. Our team was discussing that there may be news items generated by one portal that are relevant and/or could be amplified by other portals. So, having some sort of shared news source would eliminate a lot of duplication, re-translation, and propensity for error.

My gut feeling is that this is outside the scope of a the Jekyll theme. If you however find a good way to do it, then it might be interesting to others.
Ideas

You could use an rss feed and add those news in Javascript to your respective portals using the template of your choice.
Or find/write a Jekyll plugin that allows you to generate pages from a feed or other source (I know Contentful can be used as a source), any change to that could trigger a build of both sites.
Or perhaps git submodules could be used?

If this is a general problem with wider interest, then I can also look into options, but I do not imagine it belongs in the Jekyll theme.

I don't like to close things as "won't fix", but I'm going to. Let me know if you believe this is a tragic misunderstanding and should be part of the Jekyll theme or otherwise developed for the benefit of other participants.


Integration with third-party Oauth Provider

How can I integrate in the right way my own oauth2 server (I'm using version 2.x.x) with an external oauth provider like Facebook for example? I didn't find any examples
Thanks in advance

@enricosoft, what do you mean by integrate an OAuth 2.0 server with an external OAuth provider?
OAuth providers (like Facebook and this project) are not meant to integrate with each other. It is usually the job of an OAuth client (app, login server, or similar) to integrate with multiple OAuth providers.
What are you trying to accomplish? Allow "Login with Facebook" on an app you're building?

Hi @epeterson320
My webapp will have 2 kind of logins: "standard" oauth login and facebook.
To consume the standard login you must register and then use your username\pwd to request and access_token to my own Oauth2 Server.
When you login using Facebook login provider you will use their oauth server to get an access_token and then? Which is the right way to manage this kind of login process? I should save the fb_access_token on my db or not? Should I get only user data (like email, name, surname) from FB and then generate an access_token through my oauth server? Which is the right way to manage this kind of login?
I want to understand if there is a standard for this kind of flow or, if not, I accept advices\opinions
THanks in advance

Yeah, I wanna add the facebook login to my webapp but want to manage the
access_token through my oauth2 server, so I can control the expiration, the
refresh token, etc
Il 27 mar 2017 21:15, "Eric"<EMAIL_ADDRESS>ha scritto:
@enricosoft https://github.com/enricosoft, what do you mean by integrate
an OAuth 2.0 server with an external OAuth provider?
OAuth providers (like Facebook and this project) are not meant to
integrate with each other. It is usually the job of an OAuth client (app,
login server, or similar) to integrate with multiple OAuth providers.
What are you trying to accomplish? Allow "Login with Facebook" on an app
you're building?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/oauthjs/node-oauth2-server/issues/385#issuecomment-289517681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AENuAtgEjWApjZ2bhOmAmYO-Fg7XF927ks5rp-wYgaJpZM4MqBUR
.

Gotcha, thanks for the info! It's not necessary for node-oauth2-server to know anything about access tokens issued by other OAuth 2.0 providers, so you don't need to integrate the two in this project. They should remain separate OAuth 2.0 providers, and your webapp will integrate with both of them.
Try Stack Overflow or Facebook's API docs if you're looking for advice on how to integrate multiple OAuth 2.0 providers in your web app.
https://developers.facebook.com/docs/facebook-login
That said, all OAuth 2.0 does is manage access tokens and how to get them securely. It says nothing about how to store user information nor does it say anything about how to accomplish the login with social UX pattern. OpenID Connect is built on OAuth 2.0 to provide some standards on how to do this. It may be a good idea to check their docs and see if it's what you're looking for.
http://openid.net/connect/
Either way, good questions and it sounds like it isn't an issue with this project. Best of luck with your app.

Thank you Eric! Thanks for the answer
Now it's all clear :)
Il 28 mar 2017 17:11, "Eric"<EMAIL_ADDRESS>ha scritto:

Gotcha, thanks for the info! It's not necessary for node-oauth2-server to
know anything about access tokens issued by other OAuth 2.0 providers, so
you don't need to integrate the two in this project. They should remain
separate OAuth 2.0 providers, and your webapp will integrate with both of
them.
Try Stack Overflow or Facebook's API docs if you're looking for advice on
how to integrate multiple OAuth 2.0 providers in your web app.
https://developers.facebook.com/docs/facebook-login
That said, all OAuth 2.0 does is manage access tokens and how to get them
securely. It says nothing about how to store user information nor does
it say anything about how to accomplish the login with social UX
pattern. OpenID Connect is built on OAuth 2.0 to provide some standards on
how to do this. It may be a good idea to check their docs and see if it's
what you're looking for.
http://openid.net/connect/
Either way, good questions and it sounds like it isn't an issue with this
project. Best of luck with your app.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/oauthjs/node-oauth2-server/issues/385#issuecomment-289801860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AENuAoSyuqeknG24SU33xdAJGQBNRH-tks5rqSMEgaJpZM4MqBUR
.

@enricosoft pls close as it complete. share your experience & reference links of features you implemented at #393


[BUG]

Describe the bug
Varken docker shuts down after trying to download the latest GeoLite2, and will not stay on. Varken will not work without it.
To Reproduce
Steps to reproduce the behavior:

... Restart Varken container.

Expected behavior
A clear and concise description of what you expected to happen.
Varken to start, without error if possible and stay on.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Ubuntu 18.04.1 or Docker:Tag] Unraid 6.6.6 Linux 4.18.20 Python 3.7.2
Version [e.g. v1.1]  Varken 1.6.4-master

Additional context
Add any other context about the problem here.

2019-02-10 23:35:36 : ERROR : helpers : Could not find GeoLite2 DB as: /config/GeoLite2-City.mmdb
2019-02-10 23:35:36 : INFO : helpers : Downloading GeoLite2 from http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
Traceback (most recent call last):
File "/app/varken/helpers.py", line 39, in update
dbdate = date.fromtimestamp(stat(self.dbfile).st_mtime)
FileNotFoundError: [Errno 2] No such file or directory: '/config/GeoLite2-City.mmdb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/Varken.py", line 110, in
GEOIPHANDLER = GeoIPHandler(DATA_FOLDER)
File "/app/varken/helpers.py", line 24, in init
self.update()
File "/app/varken/helpers.py", line 42, in update
self.download()
File "/app/varken/helpers.py", line 64, in download
urlretrieve(url, tar_dbfile)
File "/usr/local/lib/python3.7/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Temporarily Unavailable

2019-02-10 19:47:13 : INFO : helpers : Newer GeoLite2 DB available, Updating...
2019-02-10 19:47:13 : INFO : helpers : Downloading GeoLite2 from http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

This was earlier upon restart and when the errors started occurring.

summation: we need to catch db download error

Tried
starting a fresh varken instance
downgrading to 1.6.3
No luck.

Thanks for the help and fixes. Works great.


Import undefined for commonJS module

Describe the bug
Importing the default value of commonJS module like this:
import bcrypt from 'bcryptjs';

Results into an undefined for bcrypt.
Expected behavior
That the bcrypt values contains the library.

I've been investigating this issue and found that the import tries to load the 'default' export instead of the 'bcrypt' export after the caching rewrite process. In the ESM system these are the same thing, but not in commonJS modules. They do not have a default value. To fix this we need to always use the name specified for default imports.


Bump to 0.70.0; update changelog

Thanks!
@bors r+

:pushpin: Commit d5610ae6aa08e39ad63b2b955075ede82889218d has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit d5610ae6aa08e39ad63b2b955075ede82889218d with merge 97b707335d15118983cf1d371d14f17314f47eab...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 97b707335d15118983cf1d371d14f17314f47eab to master...


Updated Readme

Changed slightly confusing spelling mistakes

oops, thanks @LouisMuriuki

Coverage remained the same at 100.0% when pulling 0be6b56377d6242f120fe87ad1b263da197645c6 on LouisMuriuki:master into 385bc415c40684847b00183ea7435406d709bbdf on icd2k3:master.


Android 11?

Why no Android 11 support? I'm just curious as some Devices auto update.

New android security makes it impossible, the FGO asset folder is no longer readable. You will have to downgrade your device or move your SD card to an android 10 device every time you want to update the scripts. There is no workaround.

I see. That's very unfortunate.

The other alternatives are a rooted device or modified APK, but I don't support either right now. There may be support in the future.

Is there still no support for android 11?

Is there still no support for android 11?

No. It's not a simple fix. Blame google.

No. It's not a simple fix. Blame google.


How to go to \build\WinSDK\ for running v2.1 latest release

Dear Sir,
Delighted to listen this news, i am using EPANET AND WATERNETGEN for my doctoral research.
I have downloaded the v2.1 but it is not running as an application.
How to use this code?
Do i require to have matlab platform?
Please guide how to use these binaries? This newly developed version of EPANET?
I have read the instructions and got windows sdk7.1 but--
Download https://github.com/OpenWaterAnalytics/EPANET/archive/dev-2.1-win-makefile.zip9
Unzip anywhere
Go to \build\WinSDK
Execute Makefile.bat
how to go to \build\WinSDK?
Please explain.
Thanking you,
D.A. Shah

Ok got it now i can go there to
\build\WinSDK\
but 'Access is denied' after the call to each DLL.

Unless you really need to build on your platform, you can download pre-compiled binaries here: https://github.com/OpenWaterAnalytics/EPANET/releases/tag/v2.1 -- look for epanet-2.1-win.tar.gz
However, I'm not sure that using WaterNetGen is going to work here since it's not going to call the DLL - am I right in this @eladsal ? Or am I mis-remembering?

Thanks for prompt reply. I download pre compiled binaries, but i am new to this and do not know how to run these binaries?

@DevJigna the DLL binaries are not standalone applications. They are called (used) by other applications. I'm not sure about WaterNetGen but you may try and contact the developers.

@DevJigna you don't need Matlab to use EPANET; in fact you can use any programming language which reads libraries such as DLLs (most do). However, you do need to use a programming language to write the program (e.g. Matlab, Python, R, C/C++, Visual Basic), and understanding on how to code is required. For more specific assistance, you are welcome to join our community forum at http://community.wateranalytics.org/.

closing stale issue.


Documented usage of CheckQueuedJobsStrategy in Readme.

This addresses concerns discussed in issue #300 to the best of my understanding.
Other minor rewording of a note in the readme and comments of the  CheckQueuedJobsStrategy class.

Thanks!


Change favicon

See https://sites.google.com/a/whps.org/google-sites/advanced-tools/adding-a-favicon

Done. The new Google Sites actually lets you do this directly.


[Linux] Closing secondary window also closes first window (WaitForClose returns)

Greetings,
when closing a second window in Linux (via X), the main window also closes (WaitForClose returns).
This can be reproduced with the Photino.HelloPhotino.MultiWindow sample (note: in HelloPhotino.MultiWindow.csproj the value of <TargetFramework> needs to be changed to net8.0)
On Windows, closing the secondary window does not cause WaitForClose to return. The behavior on macOS is unknown.
Arch Linux 6.7 using GNOME 45.
Help is greatly appreciated.
Thanks in advance
-Simon

I also get the same issue with the sample multiwindow application.
Photino.NET 2.3.0 nuget and net6.0
Ubuntu 22.04LTS, XFCE4

@zeroskyx @SimonAnnetts
The reference to the parent window is missing when the child window is created. The code to open a child window for the example needs to look like the following:
static void NewWindowMessageDelegate(object sender, string message)
        {
            var parent = (PhotinoWindow)sender;

            if (message == "random-window")
            {
                var random = new Random();

                int workAreaWidth = parent.MainMonitor.WorkArea.Width;
                int workAreaHeight = parent.MainMonitor.WorkArea.Height;

                int width = random.Next(400, 800);
                int height = (int)Math.Round(width * 0.625, 0);

                int offset = 20;
                int left = random.Next(offset, workAreaWidth - width - offset);
                int top = random.Next(offset, workAreaHeight - height - offset);

                _childCount++;

                new PhotinoWindow(parent) // <-- notice the added parent paramter!
                    .SetTitle($"Random Window ({_childCount})")
                    .SetUseOsDefaultSize(false)
                    .SetHeight(height)
                    .SetWidth(width)
                    .SetUseOsDefaultLocation(false)
                    .SetTop(top)
                    .SetLeft(left)
                    .RegisterWebMessageReceivedHandler(CloseWindowMessageDelegate)
                    .Load("wwwroot/random.html")
                    .WaitForClose();
            }

The change is available in the debug branch and will be published with other changes into master next time around.


JSON quotes are escaped as \"

A json string was logged as below in v2.6.2:
{"prop":"value"}

But it's logged (looks like escaped) as below in v3.0.3:
{\"prop\":\"value\"}

This is in the Custom Properties. To clarify, I'm logging json request/response body as string.
This looks like a bug to me. Is this intended?

https://github.com/serilog/serilog-sinks-applicationinsights#how-custom-properties-are-logged

Oh I see your point

@rmandvikar struggling here, i can't see quotes, can you provide a sample?

Here is the trace log from application insights:
TRACE
Verbose

Trace Properties
  ...
  Event time        ...
  Device type       ...
  Message           ...
  Severity level    ...

Custom Properties

  SourceContext     ...
  MessageTemplate   ...
  MachineName       ...
  Application Name  ...
  ThreadId          ...
  ProcessId         ...
  RequestMethod     POST
  RequestUri        https://company.com/v1/app1
  RequestBody       {\"transactionId\":\"0be5b9c3-7d8b-44ee-a4cc-97ed833392ab\"}
  ResponseBody      {\"details\":\"ok\"}
  StatusCode        201
  ...

Before request and response were:
  RequestBody       {"transactionId":"0be5b9c3-7d8b-44ee-a4cc-97ed833392ab"}
  ResponseBody      {"details":"ok"}

Request / Response bodies are in json and are read as,
requestBody = request.Content.ReadAsStringAsync().ConfigureAwait(false);
responseBody = response.Content.ReadAsStringAsync().ConfigureAwait(false);

I'm using the same Microsoft.ApplicationInsights 2.9.1 package with v2.6.2 and v3.0.3 but I do not think (I'm not sure) the issue lies in there.

Also please see my comment in issue https://github.com/serilog/serilog-sinks-applicationinsights/issues/95 about submitting a PR to also log MessageTemplate as I can't use v3.0.3 until this issue is fixed.

@rmandvikar sorry have you submitted a PR?

@aloneguid I don't have a PR for this bug in v3.0.3, but I've a PR for fixing a different bug in 2.6.4 (tag v134) (see #95).

@rmandvikar there is no build/release pipeline for v2, you'll have to raise PR against master branch.

@aloneguid I did (see pr https://github.com/serilog/serilog-sinks-applicationinsights/pull/120), but there are conflicts. How to address that?

got the same issue in version v3.10, revert to v2.6.2 then it work as expected, no escaped string

Hi! 👋 Thanks for getting in touch, and sorry we were unable to respond to your request. We're in the process of bringing new maintainers onto this project, and need to close stale tickets so that we can identify which items are still important to users of the sink.
If this issue still affects you:

Please consider whether it's a question that can be asked on Stack Overflow; if so, the serilog tag will get your question in front of many more people who can help you
Please consider whether you can research or investigate the issue and propose a solution for other users to benefit from
Feel free to comment here, letting us know it's still a problem

Thanks again!

Hi, I'm commenting just to let you know that this is still a problem in the current version (3.1.0).
We're logging string properties containing JSON values and then querying those values using Kusto's parse_json() function, which fails due to the escaping.
This is our main problem. However, problematic are also regular string values of properties which are being unnecessarily escaped.

Thanks :+1: this needs fixing, will label as up-for-grabs :+1:

I just tried version 4.0.0-dev-00022 and everything looks fine now.

Fantastic, thanks @ohlus 👍


I.say() prints nothing

What are you trying to achieve?
Use I.say()
What do you get instead?
No output is produced to the console when I.say() is used in CodeceptJS 1.3.2

Provide console output if related. Use --verbose mode for more details.

CodeceptJS v1.3.2
Using test root "D:\dvt.code\JS\CodeceptWithRest01"

Misc --
HELLO from console.log
  √ Test I.say() in 2ms

  OK  | 1 passed   // 31ms

Provide test source code if related

Feature("Misc");
Scenario("Test I.say()", async (I) => {
  I.say("HELLO from say");
  console.log("HELLO from console.log");
});

Details

CodeceptJS version: 1.3.2
NodeJS Version: 9.11.1
Operating System: Windows 7 Pro
Protractor || WebDriverIO || Nightmare version (if related): N/A
Configuration file:

{

	"name": "CodeceptWithRest01",

	"tests": "tests/*.js",
	"timeout": 10000,
	"output": "./output",

	"helpers": {
		"REST": {}
	},

	"include": {
		"I": "./codecept-steps.js"
	},

	"bootstrap": false,
	"mocha": {}

}

The I.say() method seems broken in 1.3.2. It prints nothing.

Current version 1.4.6 works fine

On version 2.0.1, I.say() prints nothing in console. But with --verbose option,  it works.
Feature('Regression test');

Scenario.only('Say test', async I => {
  I.say('foo')
  I.say('bar', 'red')
})

$ npm run test

><EMAIL_ADDRESS>test /home/suemura/Work/codeceptjs-sample
> codeceptjs run

2019-01-03T00:39:44.380Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
CodeceptJS v2.0.1
Using test root "/home/suemura/Work/codeceptjs-sample"

Regression test --
  ✔ Say test in 2ms

  OK  | 1 passed   // 635ms

$ npm run test -- --verbose

><EMAIL_ADDRESS>test /home/suemura/Work/codeceptjs-sample
> codeceptjs run "--verbose"

2019-01-03T00:43:20.031Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
CodeceptJS v2.0.1
Using test root "/home/suemura/Work/codeceptjs-sample"
Helpers: WebDriver, FetchMail
Plugins: screenshotOnFail

Regression test --
    [1] Starting recording promises
    Emitted | suite.before ([object Object])
  Say test
    Emitted | test.before ([object Object])
    Emitted | test.start ([object Object])
   foo
   bar
    Emitted | test.passed ([object Object])
    Emitted | test.finish ([object Object])
  ✔ OK in 3ms

    Emitted | test.after ([object Object])
    Emitted | suite.after ([object Object])

  OK  | 1 passed   // 648ms
    Emitted | global.result ([object Object])
    Emitted | global.after ([object Object])

say function does not log anything in simple run to avoid clogging.
On codeceptjs run you see only running test with theirs result.
If you want to see what happens in test - which steps are used - then use codeceptjs run --steps
Or it could be logged in custom reporters.


Notification is not showing in background App

Expected Behaviour
Hi currently i am developing ionic 3 application with push plugin with azure notification hubs. i need to show notification in both foreground and background.
Actual Behaviour
when i am try to hit the php api to send the notification. if the application is in foreground,  the notification is working correctly and it shows notification data, but in background, the notification is not working, and i am checking this application with android Nougat version only.please can you help me regarding this issue.Registration method is working correctly. i am not clear about dev_push config.
Reproduce Scenario (including but not limited to)
ngOnInit(){
console.log("service started")
this.mobileClient = new WindowsAzure.MobileServiceClient("url,notificationHubPathName,Endpoint");
// to check if we have permission
this.push.hasPermission()
.then((res: any) => {
if (res.isEnabled) {
alert('We have permission to send push notifications');
} else {
alert('We do not have permission to send push notifications');
}
});
const options: PushOptions = {
android: {},
ios: {
alert: 'true',
badge: true,
sound: 'false'
}
};
const pushObject: PushObject = this.push.init(options);
pushObject.on('notification').subscribe((notification: any) => alert(JSON.stringify( notification)));
pushObject.on('registration').subscribe((registration: any) =>this.registered(registration));
pushObject.on('error').subscribe(error => alert( error));
}
registered(registration){
this.push_Params= {};
this.push_Params.uuid = "1231231231989";
this.push_Params.adid = "Bala";
this.push_Params.apn_id = registration.registrationId;
this.push_Params.app_id = 1;
this.push_Params.status = "active";
this.push_Params.badge_count = 0;
this.push_Params.registered_at = "2018-05-11";
this.mobileClient.push.register('gcm', registration.registrationId, {
mytemplate: { body: { data: { message: "{$(messageParam)}" } } }
}).then(
this.register.getData(this.push_Params).subscribe(res => console.log(res))
);
}
Cordova CLI version and cordova platform version
cordova --version                                    # e.g. 6.0.0
cordova platform version android                     # e.g. 7.1.0

@balaasivaa1987 please fill out the rest of the issue template. I have no idea what version of the plugin you are using, what payload do you send, what logs do you get?


Login Issues

I think logging in with a username and password is impossible.
Every time I attempt to log in with a username and password, I consistently encounter the following output:
JSON Query to accounts/login/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
JSON Query to accounts/login/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]

Therefore, I am logging in with the CSRF token and session ID, and it works fine.
here is the code:
import instaloader

instance = instaloader.Instaloader()

# Personal account is not recommended. To use it, simply create a new account.
username = "YOUR INSTAGRAM USERNAME HERE"
password = "YOUR INSTAGRAM PASSWORD HERE"

instance.compress_json = False

# Check if you have a session file to load, if not, login using credentials
try:
    instance.load_session_from_file(username, "cookies.txt")

except FileNotFoundError:
    try:
        instance.login(username, password)

    except:
        # If login fails, load the session using sessionid and csrftoken (not recommended if you use VPN)
        instance.load_session(username, {"sessionid": "YOUR SESSION ID HERE", "csrftoken": "YOUR CSRFTOKEN HERE"})

# Save the session to a file for future use
instance.save_session_to_file("cookies.txt")

@isPique I'm having the same issue. How did you fix the issue??

@isPique I'm having the same issue. How did you fix the issue??
Take a look at this link. I explained it there.

@isPique I'm able to login with cookies. The problem is that cookies expire after some time, that's why I need to login with username and password to regenerate cookies.

@sohang3112 Idk bro. That's why I'm saying "I think logging in with a username and password is impossible.". The best thing you can do for now is to refresh and log in again when your cookies expire until this issue is fixed.
by the way, after a long time I tried pip3 install --upgrade instaloader. again and it worked. Give it a try.
import instaloader

loader = instaloader.Instaloader()

loader.login(user="ANY_USERNAME_HERE", passwd="ANY_PASSWORD_HERE")
print("✅ 1- Logged in")


Xcode12.2 use Carthage install Firebase crashlytics and build error

[REQUIRED] Step 1: Describe your environment

Xcode version:  12.2
Firebase SDK version:  8.4.0
Installation method: Carthage
Firebase Component:

And I want to use Crashlytics in Xcode12, What's wrong with my issue?
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
Build the APP and got an error
ld: in /Users/xx/Desktop/xx/xx/xx/xx/xx/xx/xx/xx/Carthage/Build/iOS/FirebaseRemoteConfig.framework/FirebaseRemoteConfig(FIRConfigValue.o), building for iOS Simulator, but linking in object file built for Mac Catalyst, file '/Users/xx/xx/xx/xx/xx/xx/xx/xx/xx/xx/Carthage/Build/iOS/FirebaseRemoteConfig.framework/FirebaseRemoteConfig' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

And I use these commands to install frameworks.

carthage update --platform iOS --no-use-binaries --use-xcframeworks
or
carthage update --platform iOS --no-use-binaries

And the error is?

--no-use-binaries might be an issue since Firebase only supports binaries.
Duplicate question at https://stackoverflow.com/questions/68630216/xcode12-2-use-carthage-install-firebase-crashlytics-and-build-error


Javascript AddIn is crashing in Wave 2

Dear Dev Team,
the following Javascript code is crashing in Wave 2 but was working perfectly fine in BC14
Our guess in the Element is not called controlAddIn any more.
function LoadBase64(Base64) {     if (Base64 == '')         Base64 = Base64Temp;     document.getElementById('controlAddIn').innerHTML = '<img src="'+Base64+'" width="auto" height="400px;" style="display: block; margin-left: auto; margin-right: auto;">'; }
Can you advise?
Cheers!

The div element still has the "controlAddIn" id in BC15.
Check the section "Image loading errors" in the following link:
img documentation
Make sure your Base64 argument isn't empty or corrupted, it should start with something like "data:image/png;base64,", given it's a png format etc.

Hi @bjarkihall,
thanks for the info, we'll have a look
Cheers,
Marton

If you are still encountering this issue we suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


Regression in 23.2 RPC Proxies around timestamp data type and Arrow format

Our users working with SPYT started receiving the following error after we updated RPC proxies to fresh enough 23.2:
Caused by: tech.ytsaurus.core.common.YTsaurusError: 'Column "updated_at" has type "timestamp" that is not currently supported by Arrow encoder'; full error: {"code"=1;"message"="Column \"updated_at\" has type \"timestamp\" that is not currently supported by Arrow encoder";"attributes"={"host"="XXX";"pid"=1;"tid"=14016535682029202783u;"thread"="Worker:0";"fid"=18446421477456435451u;"datetime"="2024-02-19T13:54:13.049165Z";};}

To me it looks like a regression for Arrow support introduced in 23.2. Maybe we can ask SIG SPYT colleagues to craft a reproduce?

As we found out, the issue is not related to 23.1 vs 23.2, closing this issue.


Examples are not working

The examples listed here are not working. The link color does not accept string and the fonts are constantly throwing missing errors.

I should update the README.md. LinkColor takes a color.Color.
What errors are you getting regarding fonts?

it were not found errors for various fonts. like if there was arial front used and i set the body font and pointed arial to one of the built-in fonts it did not take. also with multiple fonts i setting multiple font family values did not work.

Seems to work great for me! Takes about 1.2 seconds.
Test on VoidLinux (like Arch but always on stable/releases).
Might be nice to directly include an example in an ./examples folder that people can actually run.
Trying to do the minimum change to get your README.md example working though, I got:
package main

import (
	"bytes"
	"context"
	"os"
  "image/color"
  _ "embed"

	pdf "github.com/stephenafamo/goldmark-pdf"
	"github.com/yuin/goldmark"
)

//go:embed README.md
var source []byte

func main() {
  markdown := goldmark.New(
      goldmark.WithRenderer(
          pdf.New(
              pdf.WithTraceWriter(os.Stdout),
              pdf.WithContext(context.Background()),
              pdf.WithImageFS(os.DirFS(".")),
              pdf.WithLinkColor(color.RGBA{204, 69, 120, 255}),
              pdf.WithHeadingFont(pdf.GetTextFont("IBM Plex Serif", pdf.FontLora)),
              pdf.WithBodyFont(pdf.GetTextFont("Open Sans", pdf.FontRoboto)),
              pdf.WithCodeFont(pdf.GetCodeFont("Inconsolata", pdf.FontRobotoMono)),
          ),
      ),
  )

  var buf bytes.Buffer
  if err := markdown.Convert(source, &buf); err != nil {
    panic(err)
  }

  if err := os.WriteFile("README.pdf", buf.Bytes(), 0644); err != nil {
    panic(err)
  }
}

For reference, here's the PDF it makes for me from (from the goldmark-pdf/README.md)
Thanks so much for this!
README.pdf

Seems to work great for me! Takes about 1.2 seconds.

panic: could not load fonts: could not get font bytes. IBM Plex Serif-regular: Unknown font

I seems the problem comes from here github.com/go-swiss/font/google/google.go:51:GetFontBytes() where it tries to downlaod fronts from google fonts but fails. I have disabled my firewall but it did not help. So it looks like the font config is no longer valid or google fonts do not serve the proper format or on different urls.

This fails. Even though the json definition for the font exists.

When I use on of the built-in fonts, like FontCourier, the problem is gone. I am not sure if the problem is with the go-swiss/fonts library or this one(all code looks fine, i see no bugs anywhere) but there is a problem nevertheless.

I could not replicate the error you're getting.
I have updated both the fonts package and regenerated the font definitions just in case.

I have created new directory, in it i have put md file with content i linked above and main.go with content by erwin above and built it and run it and got panic: could not load fonts: could not get font bytes. IBM Plex Serif-regular: Unknown font.

I did the same:
Code:
package main

import (
	"context"
	_ "embed"
	"image/color"
	"os"

	pdf "github.com/stephenafamo/goldmark-pdf"
	"github.com/yuin/goldmark"
	"github.com/yuin/goldmark/extension"
)

//go:embed page.md
var markdown []byte

func main() {
	file, err := os.Create("./test/output.pdf")
	if err != nil {
		panic(err)
	}

	md := goldmark.New(
		goldmark.WithExtensions(extension.GFM),
		goldmark.WithRenderer(
			pdf.New(
				pdf.WithTraceWriter(os.Stdout),
				pdf.WithContext(context.Background()),
				pdf.WithImageFS(os.DirFS(".")),
				pdf.WithLinkColor(color.RGBA{204, 69, 120, 255}),
				pdf.WithHeadingFont(pdf.GetTextFont("IBM Plex Serif", pdf.FontLora)),
				pdf.WithBodyFont(pdf.GetTextFont("Open Sans", pdf.FontRoboto)),
				pdf.WithCodeFont(pdf.GetCodeFont("Inconsolata", pdf.FontRobotoMono)),
			),
		),
	)

	if err := md.Convert(markdown, file); err != nil {
		panic(err)
	}
}

Expectedly, I got some errors with the images:
❯ go run ./test
2022/12/19 11:59:02 IMAGE ERROR: open http://placekitten.com/1280/800: invalid argument
2022/12/19 11:59:02 IMAGE ERROR: open http://placekitten.com/480/400: invalid argument
2022/12/19 11:59:02 IMAGE ERROR: open https://img.youtube.com/vi/s6bCmZmy9aQ/0.jpg: invalid argument

Generated PDF: output.pdf

Try https://github.com/ivanjaros/pdftest

Didn't import GFM so the tables didn't render correctly, but the rest did
test.pdf

What OS are you on? I am on Windows so maybe there is issue with OS-specific paths?

ok, it is a problem of the aforementioned go-swiss library, not this one, because even its example is not working.

I'm on MacOS, so that may explain it.

I found the bug. hopefully the go-swiss author will fix it soon.

I hate to break it to you.... but I'm the go-swiss author 😂

I've made a fix on the fonts package, tagged a new release and updated goldmark-pdf to use the latest version of the fonts package.
Try again and let me know.

I've made a fix on the fonts package, tagged a new release and updated goldmark-pdf to use the latest version of the fonts package.
Try again and let me know.

It is working now. But i see two problems that are not related to this so I don't want to pollute this issue any more but
a) a small image is being stretched for the entire width of the pdf document instead of preserving its size. I think this needs some kind of dpi conversion to get relatively acceptable dimensions? but what is relative, right?
and
b) local links/navigation are not working. So like with the testing MD i linked above, you have table of contents and headers have "name" attribute for navigation, but they are ignored in PDF and only empty links are rendered.

Thank you so much.
Kindly create individual issues for those and we can take a look at them individually.


Typing an import makes TS unresponsive for > 30s

Type the following, one character at a time (i.e. no copy-paste tricks)
import * as viewEvents from 'vs/editor/common/view/viewEvents';
Observe how errors show up and the entire language service is unresponsive for >30s.
Saw it on Linux, but I don't think it is an OS specific issue
This is highly annoying and blocks me from being productive while selfhosting.
fyi @jrieken

To investigate this, try collecting some logs from the TypeScript server when this occurs. Here's information on to do this using the TSS_LOG environment variable: https://github.com/Microsoft/TypeScript/wiki/Standalone-Server-(tsserver)#logging
From a command prompt, run:
$ export TSS_LOG="-level verbose -file /Users/USERNAME/.tslog"
$ code

Reproduce the problem in VSCode and then share the .tslog file.
Let me know if you have any questions about this.
Thanks

I'd say this is the same as https://github.com/Microsoft/vscode/issues/18792. @mjbvz Are you saying you don't see that?

@mjbvz Here you go:
tslog.txt.tar.gz
Here is also a gif of me typing the import. The gif is not a loop, it eventually comes back ~50s later:

Please let me know if you encounter further difficulties in reproducing.

This is the TS version appearing in the status bar:

And here is the time it takes for tsserver to become responsive when pasting the import:

Notice how fast VS Code 1.8.1 is:

I also saw this slowness today. Intellisense and Diagnostics are very slow. I had to reload to get back to normal state

@mhegazy Can you please take a look here? I don't see anything explicitly going wrong on the VSCode side, but the request queue lengths do quickly build up which I believe causes this behavior.
The reason the queues get so long may be, getCodeFixes which starts out taking only a few ms but ends up taking 3.5 seconds plus in requests later on. I don't see any obvious causes in the TSS_LOGS for this

Thanks everyone. @vladima took in a fix on the TS side  https://github.com/Microsoft/TypeScript/pull/14215 and I also checked in a workaround on our side 02006fe

@mjbvz @vladima Thanks a lot for the fix, I really appreciate it 💯 🚀


Error where a blank cell is in a header row

Error where a blank cell is in a header row

For example:
Column1,Column2,,Column4
ABC,DEF,HIJ,KLM
ABC,DEF,HIJ,KLM
ABC,DEF,HIJ,KLM

Fixed in 1.0.6

Fixed in 1.0.6


[Feature Request] - Kotlin Examples

Hey folks,
I would like to contribute examples in Kotlin with https://aws.amazon.com/sdk-for-kotlin/. I had these questions:

Do you prefer one rather large PR with all the readme files and examples together or would you like a couple of small PRs example by example?
Do you prefer having build scripts included in the example or are the main source files with the example sufficient?

Thanks,
Benni

Hello @plastic-karma thanks for your interest in contributing! It would be amazing if you can bring the Kotlin examples, I prefer small PRs, however you can group them by functionality for example, one PR for WorkingWithItems another for WorkingWithIndexes etc. the idea is to make the revision as simple as possible so we can quickly merge the PR.
I prefer to have the build script included in the example, so if in the future someone new to Kotlin wants to run the example but is not really sure how to, they will have a lower barrier to run the examples. However, to save time if you have the sources ready you can push them, crete the respective "fast followers" to enhance them.  In any case it will be more than what we have right now! :)
Thanks!

If you are submitting several small PRs I recommend creating subtask on this issue to keep a track on them. Please suggest the task required to complete this enhancement.

Task list:

[] Operations.md and README.md
[] data_plane/WorkingWithItems
[] data_plane/WorkingWithQueries
[] data_plane/WorkingWithIndices
[] data_plane/WorkingWithScans
[] control_plane/WorkingWithTables


[stable/postgresql] Fix warning with 'extraEnv' parameter and lint chart

Signed-off-by: juan131<EMAIL_ADDRESS>Is this a new chart
No
What this PR does / why we need it:
This PR fixes a warning with extraEnv parameter when using Helm 1.15 and it lints the Helm chart.
Which issue this PR fixes

fixes #18145

Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

/lgtm


Typescript@next and npm linked node_modules

I'm experiencing same problem as https://github.com/Microsoft/TypeScript/issues/9566 and per the last suggestion there, I'm reopening it with this new issue.
My problem has to do with how typescript manages ambient defs in a npm package I use using npm link.
I get a lot of compilation errors for @types definitions: Duplicate identifier 'export='.
These errors disappear altogether if instead of linking the module, I install it.
TypeScript Versions:
2.1.0-dev.20161028
2.0.6
Expected behavior:
Typescript doesn't import ambient definitions from linked modules. There shouldn't be a difference in behaviour between linked and installed packages.
Actual behavior:
Linked packages have @types included

@cortopy cab you share a sample, or a repro steps?

These steps would reproduce the error:

Angular 2 project with webpack 2 and typescript 2
A module is linked using npm link (i.e.: not installed)
Install lodash @types in both angular 2 parent project, and the npm linked dependency.

I'm not sure if this is about the lodash types only, but having read the issue that was closed, I suspect it's not just about lodash.

I'm not sure if this is about the lodash types only, but having read the issue that was closed, I suspect it's not just about lodash.

@cortopy This is not only about loadash, occurs in any case. I have this problem with linked modules ando @types too.

@mhegazy You will replicate the problem, if you folow the  Development enviroment (linked module) steps this repository https://github.com/linck/protontype-example.

Does anyone know of any workarounds to this that exist at the moment?

@aboveyou00 I am using typings in linked module to test in development environment. Or delete @types folder of linked module. Or I just ignore duplicate identifier error. :(

thanks @linck. this is was very useful. I understand the problem now.
the issue is that there are really multiple packages on disk that are being loaded. so for lodash for instance there is:

protontype/node_modules/@types/lodash
protontype-example/node_modules/@types/lodash

which is correct since there are two node packages for lodash loaded as well at:

protontype/node_modules/lodash
protontype-example/node_modules/lodash

The source of the issue is that the declaration file for lodash is not authored correctly. it is authored as a global file, where two instances of the package can not co-exist. the correct fix here should be done on the lodash side in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/types-2.0/lodash/index.d.ts
You can workaround this issue by setting a path mapping into your tscofig.json as such:
"compilerOptions" {
     ....
    "baseUrl": "./",
    "paths": {
        "*": [ "node_modules/@types/*", "*"]
    }
   ...
}

What this does, is it tells the compiler, when resolving a module for instance lodash, anywhere, e.g. to first use the one in .\node_modules\@types\lodash first. this avoids loading multiple of these modules.

Thanks very much @mhegazy! This config really solve the problem.
So, the problem is in the declaration file?

lodash should be fixed by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12361, we need to do the same to express and express-server-static as well.

just to be clear, as described above this is not an issue with any specific type definition. Any type definition that occurs in "types" in .tsconfig both in the main module and the module it npm link-ed will cause this problem. Suggested solution to ignore identical dupplicate type definitions seems right to me.

Looks like a duplicate of #6496.


gid-to-node assignment should happen within Cell object

Rather than having a NeuronNetwork instance modify a cell's gid-to-node assignment within a parallel context (i.e., via _PC.set_gid2node(gid, rank), we should try delegating the task to the _Cell and _ArtificialCell classes. This way, the Network or NeuronNetwork classes can simply create a list of gid values and let the cell objects handle their respective NEURON backends.

will the _Cell class be assigned a rank from NeuronNetwork class? how do you envision this happening? will that be a parameter of the constructor of the _Cell class?

will the _Cell class be assigned a rank from NeuronNetwork class? how do you envision this happening? will that be a parameter of the constructor of the _Cell class?

@jasmainak I was thinking _Cell would assign rank in the constructor.

so you still need the loop in the Network class, just moving the call for set_gid2node inside the _Cell class right?

so you still need the loop in the Network class, just moving the call for set_gid2node inside the _Cell class right?

Something like that. Would it be possible to just have each _Cell instance call _PC.set_gid2node() in its constructor?

Something like that. Would it be possible to just have each _Cell instance call _PC.set_gid2node() in its constructor? If not, I believe there are multiple places where Network iterates through all the cell objects, so it might be nice to consolidate.

Perhaps. It appears that set_gid2node as part of the constructor would still get called in parallel, since Cell's are also created in parallel:
https://github.com/jonescompneurolab/hnn-core/blob/bcba70519303962b4eb44fe19618d7fc474bbbb1/hnn_core/neuron.py#L365
I think this would work. However, the time to create the network should still be measured before and after to make sure there isn't a performance regression.

@rythorpe still relevant?


I tried this in my own project and my IDE couldn't find opentelemetry.SpanStatusCode. My experience with typescript d.ts files isn't great, but what I saw is that opentelemetry in this context would only be _default.

Kind regards

thanks @joostlek , @open-telemetry/javascript-approvers please take a look if this is correct indeed.

thank you @joostlek !


Error: It seems the symlink source is not there: 'couchbase-server-community'

(Remember to run brew update; brew cleanup; brew cask cleanup before reporting your issue. It usually fixes things!)
Description of issue
Ran the above first step but still issue persist
Unable to install couchbase server via brew cask
Output of brew install Caskroom/cask/couchbase-server-community --verbose
==> brew cask install Caskroom/cask/couchbase-server-community --verbose
brew cask install Caskroom/cask/couchbase-server-community --verbose
==> Downloading http://packages.couchbase.com/releases/4.0.0/couchbase-server-community_4.0.0-elcapitan_x86_64.zip
Already downloaded: /Library/Caches/Homebrew/couchbase-server-community-4.0.0.zip
==> Verifying checksum for Cask couchbase-server-community
Error: It seems the symlink source is not there: '/opt/homebrew-cask/Caskroom/couchbase-server-community/4.0.0/Couchbase Server.app'
Error: Kernel.exit

Output of brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
    /usr/local/include/node/android-ifaddrs.h
    /usr/local/include/node/ares.h
    /usr/local/include/node/ares_version.h
    /usr/local/include/node/libplatform/libplatform.h
    /usr/local/include/node/nameser.h
    /usr/local/include/node/node.h
    /usr/local/include/node/node_buffer.h
    /usr/local/include/node/node_internals.h
    /usr/local/include/node/node_object_wrap.h
    /usr/local/include/node/node_version.h
    /usr/local/include/node/openssl/opensslconf.h
    /usr/local/include/node/pthread-fixes.h
    /usr/local/include/node/smalloc.h
    /usr/local/include/node/stdint-msvc2008.h
    /usr/local/include/node/tree.h
    /usr/local/include/node/uv-aix.h
    /usr/local/include/node/uv-bsd.h
    /usr/local/include/node/uv-darwin.h
    /usr/local/include/node/uv-errno.h
    /usr/local/include/node/uv-linux.h
    /usr/local/include/node/uv-sunos.h
    /usr/local/include/node/uv-threadpool.h
    /usr/local/include/node/uv-unix.h
    /usr/local/include/node/uv-version.h
    /usr/local/include/node/uv-win.h
    /usr/local/include/node/uv.h
    /usr/local/include/node/v8-debug.h
    /usr/local/include/node/v8-platform.h
    /usr/local/include/node/v8-profiler.h
    /usr/local/include/node/v8-testing.h
    /usr/local/include/node/v8-util.h
    /usr/local/include/node/v8.h
    /usr/local/include/node/v8config.h
    /usr/local/include/node/v8stdint.h
    /usr/local/include/node/zconf.h
    /usr/local/include/node/zlib.h

Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:

    brew install erlang libtiff wxmac

Run `brew missing` for more details.

 Fixed in https://github.com/caskroom/homebrew-cask/pull/19396

Thank you so much


Incorrect inference of stack variable size

There are already some open issues related to decompilation quality, but I haven't seen any that targets this problem specifically.
Please consider the function below (I will try to produce a more minimal example if needed, but this has the advantage of being real-world code)
// Address range: 0x61a2b4 - 0x61a3b1
int32_t entry_point(int32_t a1) {
    int32_t v1 = __readfsdword(0); // bp-20
    __writefsdword(0, (int32_t)&v1);
    uint32_t v2 = GetVersion(); // 0x61a2da
    int32_t v3 = v2 / 256 & 255; // 0x61a2e2
    g7 = v3;
    int32_t v4 = v2 & 255; // 0x61a2ec
    g6 = v4;
    g5 = v3 | 256 * v4;
    g4 = v2 / 0x10000;
    if (function_620f5a(1) == 0) {
        // 0x61a317
        function_61a3e1(28);
        // UNREACHABLE
    }
    // 0x61a31f
    if (function_61d29c() == 0) {
        // 0x61a328
        function_61a3e1(16);
        // UNREACHABLE
    }
    int32_t lpModuleName = 0; // esi
    function_620856(0);
    g9 = GetCommandLineA();
    g8 = (char *)function_6225b0();
    function_622363();
    function_6222aa();
    function_618ded();
    int32_t lpStartupInfo = 0; // bp-96
    GetStartupInfoA((struct _STARTUPINFOA *)&lpStartupInfo);
    function_622252();
    if ((lpModuleName & 1) == 0) {
        // 0x61a37f
        // branch -> 0x61a382
    }
    int32_t * moduleHandle = GetModuleHandleA((char *)lpModuleName); // 0x61a388
    function_618e1a(function_4f7a30((int32_t)moduleHandle));
    int32_t v5;
    return function_622031(*(int32_t *)*(int32_t *)v5, (struct _EXCEPTION_POINTERS *)v5);
}

The point of pain is lpStartupInfo being declared as int32_t, while it is clearly meant to be a struct _STARTUPINFOA. It would seem that bin2llvmir wasn't able to correctly infer the size of this stack variable.
Now, I don't want to just talk, I would like to actually contribute work towards fixing this issue. But I am not sure where to start.

Should RetDec be aware of GetStartupInfoA's semantics? In other words, should RetDec contain a database that will say function X writes N bytes starting at the address pointed by argument M? That would be helpful for public APIs, but doesn't do anything for functions whose semantics are not known a priori (which are basically all non-imported functions).
If we did have this kind of information, at which point would it need to be utilized? The information about size of lpStartupInfo needs to be encoded in the IR, (in the case above, we incorrectly get %stack_var_-96 = alloca i32, align 4)
Does bin2llvmir currently do enough high-level analysis to even "recognize" that lpStartupInfo is being passed to GetStartupInfoA?
A completely different way would instead be to make more effort at preserving the original stack layout. Wherever there seems to be a gap in the stack frame, extend the previous variable or make it an array/whatever. In a way, this is what Hex-Rays does. But again, I am unsure to what precision does LLVM IR allow one to express the stack layout, or whether it would be sufficient.

Our current handling of structured type is insufficient - we often assign structured type to some variable, but do not fix usage of its members. So then we have both a big structure and a separate member variables.
This is related to using structure type information from users (and IDA, r2, ...) - we will look into it over the summer.


Fix/mac start cli packing

We have it packing the system (in mac)

Built the system

Showing that the thing could be sideloaded


Thoughts on restoring worlds?

Thanks again for this Chart, working great.
The kubectl cp backup example for backing it up, but will the reverse work for a restore?
Thanks

@jfmatth I do exactly this with success.  It works ok.  Generally speaking, I kubectl exec -ti <minecraft pod> -- sh and then do whatever operation I need with 'local' files in the minecraft filesystem to prep a new or restored world from either a local backup or something I copy in via kubectl cp ....
After staging the new world I kill the pod and the new instance is running the new/restored world depending on the server.properties configuration.

@billimek Thanks for the (super) quick response!
I've used the kubectl exec method too, but had weird results.  I'm trying the method I'm asking about now, and we'll see what happens.
i hosted on a VM before I'm moving to K8s, crossing my fingers.
Thanks again

I'm gonna see if i can make a pod that is just for backup and restore, similar to what some other operators do.
thanks again for this repo, works great!


fix memory management issue in MVKSwapchain

https://github.com/KhronosGroup/MoltenVK/issues/2399
Fix memory management issue in MVKSwapchain

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


Feature/firebase upload gradients

Problem
What is the problem this work solves, including
completes gradient collection upload in #124
closes #129
Solution
What I/we did to solve this problem

created GradientDoc class to handle gradient data uploads if it is included in the recipe we are uploading to firebase
replaced gradient name with db path in object doc before uploading
wrote tests for the gradient upload feature

Expected Behavior

uploads gradient data into gradients collection
updates gradient's firebase reference in object data
will not accept duplicates

Type of change

New feature (non-breaking change which adds functionality)

Change summary:

recipes I ran for testing: peroxisomes_surface_gradient.json and gradients.json

Steps to Verify:

conda activate autopack
upload -r [relative-path-to-a-gradient-recipe] -c [your-firebase-cred-path]
pytest cellpack

Screenshots (optional):

Codecov Report
Patch coverage: 99.00% and project coverage change: +1.92 :tada:

Comparison is base (a97be56) 96.55% compared to head (dcc4d6a) 98.47%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   96.55%   98.47%   +1.92%
==========================================
  Files          12       15       +3
  Lines         261      459     +198
==========================================
+ Hits          252      452     +200
+ Misses          9        7       -2

Impacted Files
Coverage Δ

cellpack/tests/test_recipe_version_migration.py
100.00% <ø> (ø)

cellpack/tests/mocks/mock_db.py
92.45% <94.59%> (+25.78%)
:arrow_up:

cellpack/tests/test_comp_doc.py
100.00% <100.00%> (ø)

cellpack/tests/test_db_recipe_handler.py
100.00% <100.00%> (ø)

cellpack/tests/test_gradient_doc.py
100.00% <100.00%> (ø)

cellpack/tests/test_object_doc.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rugeli could you pull from main whenever you get a chance so that updates from your other branch get merged in?


Could you tell me the way to remote access to the Mongo database of Databox?

Hello,
I am trying to connect with Databox and another development project.
In joining process,firstly I need to add the table in  Databox's database.
So how can I access to the mongodb of Databox and add the table(collection) to mongoDB.

Databox has many databases (called datastores) there will usually be 1 datastore per driver.
Accessing the internal database within a datastore is not permitted, it can only be accessed through the exposed API by components within the databox. This is so that authorization, authentication, and logging can be inforced.
The only way to get data off the box is through the export service.
Can you explain what the PPM is and what its goals are?

PPM hold the permission to provide the data(IoT info data) to third user .
The process is
st1)  Third user request the data(eg;GPS) to Databox
st2) the Databox accept the request and send this request to PPM server .
st3) PPM server make authorization about this request and response to the Databox
st4) Databox respose to third user with authorization data

And Is there datastores for per App?

Apps can have datastores to, to store processed data and settings.

I'm still not sure I have enough information about what you want to achieve.  Do you have any documentation I could take a look at?

You should also take a look at this http://dl.acm.org/citation.cfm?doid=3010079.3010082 which describes the databox concept.

@Toshbrown ,I have no document for it.

This is the  process of Databox and PPM.

I really want to explain about the details process of PPM.But I can't because this is the confidential information of our project. I am sorry.

But could I ask you a question any time?


Instrumenter should ignore excluded files and folders

Expected Behavior
The instrumenter should ignore files specified in the list of exclude globs
$ nyc instrument content instrumented
with .nycrc
{
    "exclude": [
        "**/dist/**",
        "**/3rd-party/**"
    ]
}

Observed Behavior
The instrumenter ignores files specified in the defaultExclude instead, (istanbuljs/packages/test-exclude/index.js)
Bonus Points! Code (or Repository) that Reproduces Issue
Forensic Information
Operating System:  macOS High Sierra
Environment Information:
node v8.11.1
npm v6.1.0
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>After doing some digging it seems that the nyc instrumenter simply isn't using the include/exclude parameters from the config.  I'm pretty certain that it's the same issue referenced in #596, and related to #573
When NYC is configured in "commands/instrument.js" it excludes any configuration setup in "config-util.js".  This means that it will fallback onto the defaults set in "istanbul/test-exclude/index.js".
The good news is it looks like a pretty easy fix, the bad news is I'm assuming that specifying exclude/include paths in the instrument code is desired behaviour.  So I have no idea what would break by changing this.  It may be best to play it safe and add a pair of new config options, instrumentInclude and instrumentExclude.
Let me know what you think of this PR #893.

I think I am seeing the same issue. I am trying to exclude test files because the instrumentation breaks Puppeteer's page.evaluate() (because it calls function.toString() and sends it to the browser to evaluate, which is missing the coverage globals). nyc is properly ignoring the files from the final report, but they are still being instrumented, which breaks Puppeteer. /* istanbul ignore file */ at the top of the file doesn't work either.


Subclass or wrapper for form models.

Currently 2 approaches are used.
For the profile form a subclass of the activerecord model is used, for the registration form a wrapper class is used.
Why use 2 different approaches?

Activerecord subclasses represent a row from a table, however other models are used to collect user input and do some logic, we cannot use activerecord for this.


Add syntax for configuration vars in the .s file

example being like .org and a _start labels in vasm

resolved in #64


closing #37

@rultor merge

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (e67da84) compared to base (0419eb8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #39   +/-   ##
===========================================
  Coverage     100.00%   100.00%
+ Complexity        14        12    -2
===========================================
  Files              6         6
  Lines             33        29    -4
===========================================
- Hits              33        29    -4

Impacted Files
Coverage Δ

.../java/com/l3r8yj/elegramapi/RqDefaultTelegram.java
100.00% <ø> (ø)

...in/java/com/l3r8yj/elegramapi/RqGetMeTelegram.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here


chore: fix vendors windows build

Description
Building @histoire/vendors on windows was generating invalid outputs.
Before
import Default from './dist\client\b-pinia'
export default Default
export * from './dist\client\b-pinia'

After
import Default from './dist/client/b-pinia'
export default Default
export * from './dist/client/b-pinia'

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] If it's a new feature, provide a convincing reason to add it. Ideally, you should open a suggestion issue first and have it approved before working on it.
[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Hmm we should probably use pathe?

Makes sense. But I hit an issue https://github.com/unjs/pathe/issues/30.
Instead, I removed the path.relative. globbySync will return the relative path from cwd so path.relative is not necessary.


Request to create OpenJS Foundation onboarding WG

The onboarding checklist to join the OpenJS Foundation requires a substantial amount of work and coordination between various working groups, the TSC, OpenJS Foundation staff, and Google's OSPO.
Where possible, the plan is to file issues against the various existing working groups or the TSC itself, and track those in an org-level project board.
But that's not possible for all issues, as some pertain to multiple working groups, or to outside organizations or individuals.
From both a project management and a transparency perspective, creating a dedicated working group to host this work feels like the best solution.
We'd be using the WG repo to:

communicate the WG's work mode, communication channels, and meeting times,
file issues which don't have a clearer home in another working group or in the TSC itself.

I'd be happy to facilitate this WG and organize weekly meetings until the mid-December deadline.
Of course, once AMP is fully onboarded, this WG would be sunset.

/cc @ampproject/tsc

I am ok with that.
It'd be great to get regular updates from the WG since the TSC might help and make some decisions.

👍 sounds great

👍

👍

+1 :-)

👍

It appears that the consensus of the TSC is to move forward with the plan described.

Great!
I've created the wg-foundation-onboarding repo, team and Slack channel.

Thanks all, folks!
Also great to see that this is such a lightweight process. Congrats!!


test(cli): add tests for core/kubectl module

Description
This pull request changes the following:

Add tests for core/kubectl module

Related Issues

Closes #549

:tada: This PR is included in version 0.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Markdown editor

Please describe the changes this PR makes and why it should be merged:
I made the markdown editor in ts using marked library along with using million in ts. Please feel free to contact me if you to make any changes :)

Status

[x] Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Looks like you didn't install using pnpm. Could you run pnpm i?

@aidenybai please tell what should i do now after running pnpm i and pnpm run cleanup as it is still failing some checks .

Hey there @cyberviking5, can you maybe recheck your PR? Run tests locally, run build and stuff like that?

@cyberviking5 run pnpm build on your local machine. If it fails, please check the errors it gave you and try fixing them. If after trying to fix them and are still unsuccessful, please feel free to screenshot errors and share it with us here or on Discord.

Hey @cyberviking5, for some reason, the preview doesn't work as expected, it is the same as the one from the editor:

@tobySolutions this initial is for the reference on how to write the markdown once you clear the editor you can use the editor like a normal markdown editor and the preview shows the correct output . If you want i can remove this initial words for reference . If you have any more issues please feel free to contact me :)

@tobySolutions please review the changes now and please let me know if you want any more changes :)

@tobySolutions please review the changes now and please let me know if you want any more changes :)

Awesome! Checking it out now

Awesome! Good job @cyberviking5!

I think it'll be much better if you only committed that file, cos at the moment it shows that 20 files were changed. What do you think? @cyberviking5?

Hey there! Great work so far! Could you maybe just resolve your merge conflicts and then I can go ahead and close this off?

sure @tobySolutions I will remove the conflicts please give me some time :)

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 25.706%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1257

Relevant Lines:
5082

💛  - Coveralls

please check now @tobySolutions and please let me know in case of any changes :)

Good job @cyberviking5! Reviewing now

When you have the time, could you resolve the responsiveness issues please @cyberviking5?

There you go @cyberviking5:
https://github.com/aidenybai/million/assets/96334363/356d83ba-ddc5-43d8-8a2b-ca051410be01