NSS Pillar Megaissue

Just a list of stuff thats off with it

Clown theatre is depressurized at roundstart? Seems to depressurize way too fast in general, like arrivals (Mithrandalf#0706)
Medbay is way too bright. Whole station is kind of too bright
Engineering is all-access?
Janitor has no access to their closet
A lot of windows dont have grilles under them
Need more stuff in the library, dice+games etc
We need a AME Controller in Engineering (reported by Projject_Delta#6954)
Disposals might be unanchored
No tiles under the clown door (Mithrandalf#0706)

Reported by  @Elijahrane :

All wardrobes seem to be unfilled
Chapel needs PietyVend
The sec checkpoint needs a button and shutters and a locker, ID console, multitool, and maybe crew monitor (yeah they don't save right now but you can set them up with a multitool if you want to man it)
Chemistry needs a grinder and some starting plasma
Bridge probably wants a huge table against the window with some flashes and first aid kits and stuff
Medical could use a few more rollerbeds
Med break room needs something to put in the microwave (donk pockets)?

doorstuck (unpowered)

Desperately needs a decoration pass. Posters/carpets/catwalks/flavor trash.

Clown room needs some serious love. Pies, banana skins, station needs some instruments in general. Maint feels super super empty.

Misconfigured access:
-Engineering maintenance
-Janitor closet + maintenance
-Sec maintenance
-If that thing in the centre of sec is supposed to be warden's office it should be restricted
-External airlocks
-Research airlocks in that strange room behind shutters to the hallway
-Library (needs new access now imo, it's time)
-Morgue maintainance probably needs Medical / Chapel access rather than just medical (this is true for all maps)
Other feedback:
-Some of the internal spaced areas can probably use glass floors for a safer but similar effect. There's just an insane amount of these
-We have a bunch of bureaucracy stuff now, all those front desks everywhere should probably use some
-More service / greytide fun items like game boards and instruments
-Expand one of the depts somewhere along the main hallway to at least split it in 2 rather than a straight shot
-Replace sec surgery room with evidence storage
-Remove the HOP bedroom airlock to hallway
-Make the empty room below med/research breakroom a sec departmental office
-Cargo could also use a sec departmental office somewhere
-The shiny tile room in rec area would make a nice rage cage room
-No permabrig?
-Map in shutters where they make sense, they can always be set up with a multitool and saving will be fixed when someone codes itTM

Some of my feedback on Pillar:

sec has alot of empty space in it
Bridge looks a little like a fortress, which is cool but it kinda sorta isolates at least one person to guard it (not sure if intended)
Medbay is very very cramped if you compare it to medbays like Packed or Saltern(maybe add 1-2 extra rooms for cloning?)
4.Engineering seems pretty tucked away and will probably always be forgotten about most of the time since it's waaaaay of from where the action happends, but at least if grav gets cut early on we will know that traitor is most likely an engineer.
I love the empty rooms in maints, gives a lot of fun interactions later on with "underground" chem labs and such
6.Cargo confuses me and i dunno why sorry
Science is bit and empty ( i know that more is planed for science). As of now the meta for science is always to go as far back into science and make backroom cloning and chems and keep it hidden from general sight, happends on packed and saltern too and no higher ranked officer stops it for some reason even though 9/10 potta bombs come from there.
Bar could maybe use one more bartender and another set of bar stuff, with a lot of players on it can get kinda messy and hard to keep up as lone bartender.
Maybe add some more bathrooms for the RP
eventhough i'm not a vivid boardgame or DnD player within this game i do like the lil game room in library, it's pretty cool
needs more hidden wall treasures :D
I like the amount of air locks and that almost every department has one.
Seeing how mostly all action is going to take place around the medical area, it's probably an issue having literally everyone around that area already with bar kitchen sci and close to bridge and what not.
something something the new lights are awesome

that's about it, other than that i would say holy shit nice map very well made and future proofed for new features i might add stuff later but cant ghost the map anymore.
PS, add mice to every map they are so fun to play :D

I saw a lotta disposal pipe failures all around the map, some disposals lead deeper into your department, there are routers on the map without tags or taggers present before them, and more things that I can't really remember.

I saw a lotta disposal pipe failures all around the map, some disposals lead deeper into your department, there are routers on the map without tags or taggers present before them, and more things that I can't really remember.

I'm addressing all issues on this thread in order however disposals is an odd one. Some being not wrenched down is just unsolvable since they're all placed the same way. All current disposals junctions are dumb, non are the taggable sort as there is no mailroom yet, but I could do a second pass from scratch anyway.
Regarding comments about it not being decorated, there are posters throughout the station as well as trash spawners, other spawners and plants. Lack of decoration comes down to not having tile painting to make the areas look distinct, and lack of content to fill some of the rooms (which I'm going to address by making some rooms abandoned).
I've already made big progress and pretty much resolved the first two lists of comments, I'm also redesigning most of engineering to have more spaces for the content we have and all future content, as well I will redo medbay however it being opposite bar is how it was on box para and I've not had issues, that's why it has a shuttered lobby. If anyone has an idea for what to do about that feel free but I'll be expanding medbay down to add another two rooms, moving chemistry to a bigger room and giving salvage a room or two among other things.
All in all it should hopefully be bug free and easily support large pop rather than medium after the changes. Will post my hackMD change log of all changes when I PR and do the updated shaded maps and a detailed map for certain areas like engineering.

Some being not wrenched down is just unsolvable since they're all placed the same way. All current disposals junctions are
dumb, non are the taggable sort as there is no mailroom yet, but I could do a second pass from scratch anyway.

If I understand it all correctly the unanchored disposals might be a product of someone with a spare crowbar and wrench playing on that 110 people server during the testing proccess on Lizard.
On a somewhat related sidenote, I'd love to contribute to making the map by working with the disposal system there (If possible).

Some being not wrenched down is just unsolvable since they're all placed the same way. All current disposals junctions are

dumb, non are the taggable sort as there is no mailroom yet, but I could do a second pass from scratch anyway.

If I understand it all correctly the unanchored disposals might be a product of someone with a spare crowbar and wrench playing on that 110 people server during the testing proccess on Lizard.
On a somewhat related sidenote, I'd love to contribute to making the map by working with the disposal system there (If possible).

Just pushed all the fixes to the map now so closing this issue list for now. The disposals seemed to work fine on local testing so you may be right in that it was players causing it.
Disposals includes no routers currently so also not an issue but can be added later when a mailroom is done.
There's some content PRs pending that will need to be added to this map so I'll come back to it in a week or so when they have been merged to make any changes.
Any other issues or suggestions feel free to reopen this issue or tag me on discord :)

Oh and, the station consumes 40 more kilowatts than the default AME can manage. We have to spend 10000 cargo credits just to get a new AME crate (which takes a long time)

Oh and, the station consumes 40 more kilowatts than the default AME can manage. We have to spend 10000 cargo credits just to get a new AME crate (which takes a long time)

Thanks, pushing an update in a few hours so will stick a second crate in.


Cannot retrieve symbols from Azure Artifacts Symbol Server with cdb.exe

We have a tool using cdb.exe to analyze crash dump automatically with a local symbol server. Since we moved to Azure Artifacts symbol server, it does not work anymore:
This issue is very similar to the one mentioned in this post
https://developercommunity.visualstudio.com/t/how-to-use-azure-devops-services-symbol-server-pro/457461#T-N598454
We tried to set the sympath to “https://[user]:[PAT]@[URL]”, but cdb.exe still failed to retrieve symbols (“path not found”).
set<EMAIL_ADDRESS>cdb -z “C:\WorkSpace\CrashLogs\sampledmpfile.dmp” -logo “C:\WorkSpace\CrashLogs\sampledmpfile.cdb” -lines -c “.symopt- 100;!sym noisy;!analyze -v;.ecxr;.echo;.echo PARAMETERS:;!for_each_frame dv /t;.echo;.echo CALL_STACK:;kc;.echo;q”
With Visual Studio 2022 we can retrieve published symbols, but just not working with CDB commands.
Anyone experienced the similar issue?

Is it possible your PAT token is expiring faster than you expect?
Note that we don't recommend using PAT tokens as they get logged and can potentially expose your credentials in places that you might not want them logged.

We created new PAT but not working at all.
Is there a workaround to get the cdb.exe work with the Azure Artifacts symbol server?
For now I can just download the pdbs locally from artifacts or cache the symbols from VS, and then run cdb command.

I can reproduce this as well with WinDbg 1.2409.17001.0 - for me the token put in File -> Settings -> Debugging settings -> Debugging paths -> Default symbol path: -><EMAIL_ADDRESS>no longer works. I made sure the token is valid and with Symbols (Read) scope. When WinDbg tries to download the symbols, I am prompted with Windows Security username/password dialog, but that doesn't work for me as in our setup I need MFA password as well:

It doesn't exactly look like a regression on WinDbg side as well. I've tried downgrading to 1.2407.24003.0, and there I'm prompted with different dialog - Microsoft Pick and account:

When I pick my Azure Devops username I get error message:

If I close these dialogs, I am again prompted with the Windows Security dialog, as with 1.2409.17001.0.
I've also tried downgrading one more version, to 1.2402.24001.0, but the result is the same as with 1.2407.24003.0. And this version was clearly working with this setup before.
If it matters, I am installing with winget.
@lzybkr if you need more information, I can debug this further.

For now I can just download the pdbs locally from artifacts

@dhlsmyx what method are you using to download the symbols from the symbol server?


Update docker images

Proposed changes
This PR updates docker iamges.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling 17260f825920e0704c7decb8f3095902f2a1a60d on fisuda:update/docker_images into 69991c47b83ba059fff8a9c40470a58096c98a3b on lets-fiware:main.


Can't bring back menu bar

What steps will reproduce the problem?
1. Hide menu bar
2. There is no way to bring back menu bar
3.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Sep 2013 at 2:49

Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


Provide a pre-built version working with latest Ghidra 10.1 ?

Could you provide a pre-built version working with latest Ghidra 10.1 ?

See https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_10.1_build

Yes!
I built the new one, check out here.

Perfect it works fine (Note: I have generated my own version before and the build was perfect with Ghidra 10.1)

Sorry, maybe I don't get you cuz I already added this one as ghidra_10.1_AngryGhidra.zip asset. I built it with the newest version of Ghidra for now, and it works as expected.

Ha yes perfect thanks for all
I close the issue


cant select items when height in vertical layout is high

I am doing something like this: (i am repeating elements just for the sake of showing a lot of elements)
NSArray *titles = [NSArray arrayWithObjects:[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString],[@"YES" uppercaseString], nil];
URBSegmentedControl *control = [[URBSegmentedControl alloc] initWithItems:titles];
control.frame = CGRectMake((self.view.frame.size.width/2)-100, 5, 200.0, [titles count]*80);
From element 0 to element 4 i can select without problems.. but 5,6 and 7 its unselectable..  but if i change size from 80 to 40 .. it all works..
I cant find the reason for this !

@diegoescobar79 I was able to setup a control similar to that you're having an issues with using the same array of titles you provided and item selection worked without issues regardless of the control's height. Check and verify that your control's frame doesn't extend beyond the bounds of its superview which can prevent it from receiving the necessary touch events.

Thanks for answering.
I have the control in a scrollview and realized that if the control goed beyond the view when i scroll to see it, seems that the scrollview steals the touches from it..
U know something about this issues?
Regards
Enviado desde mi iPhone

El 21/01/2015, a las 8:28 p.m., Nicholas Shipes<EMAIL_ADDRESS>escribió:
@diegoescobar79 I was able to setup a control similar to that you're having an issues with using the same array of titles you provided and item selection worked without issues regardless of the control's height. Check and verify that your control's frame doesn't extend beyond the bounds of its superview which can prevent it from receiving the necessary touch events.
—
Reply to this email directly or view it on GitHub.

Have you debugged your view hierarchy to determine if the control is extending beyond one of its superviews? Or is your view hierarchy just something like UIViewController.view -> UIScrollView -> URBSegmentedControl?
It still sounds like the control's frame extends beyond its superview's bounds as I'm not aware of any issues with a scroll view blocking touch events on its subviews. If you could provide more code from your view setup and implementation that may help me better figure out the cause.


Support chained exceptions

http://php.net/manual/en/language.exceptions.extending.php

I'm going to close this as it's pretty old and the feature has been implemented in 71282f1d3b71e144a31b3fe1bfb9e4b75cde70e4


Question: how to assert on 2+ chat conversation?

I am trying to test the ability to have a conversation with 2+ chats in the conversation.
Something like "he said, she said, he said, she said" (and assert on the last she said).
Does promptfoo support this?  And if yes, can you link any docs or examples of this?

Yes, have a look at the documentation on Chat Conversations! https://promptfoo.dev/docs/providers/openai#chat-conversations
This is in the OpenAI section as chat formatting is specific to the API (and as you know there are many APIs that implement OpenAI's format)

Ha nice, and wow!
Just a follow up question, where are the actual assertions there?
I am trying to figure out how to do a similar assertion on the last assistant response in a chat.

Everything under vars.messages is part of the prompt.  Any assert is run on the LLM output, i.e. the assistant response.
prompts: [prompt.json]

providers: [openai:gpt-3.5-turbo]

tests:
  - vars:
      messages:
        - role: system
          content: Respond as a pirate
        - role: user
          content: Who founded Facebook?
        - role: assistant
          content: Mark Zuckerberg
        - role: user
          content: Did he found any other companies?
    assert:
      # Check that assistant response is "hello world"
      - type: equals
        value: hello world

Okay I am beginning to follow. I think in your example above, the assert will fail, because the assistant is going to not answer with "hello world".
Let's do a more complex example. Let's say in the messages there are 2+ assistant responses. Then the asserts provided below it are like global to all 2+ assistant responses?

@jamesbraza as far as I understand, the messages are passed into the LLM, the LLM will respond something and that response is asserted against.
The assistant content as defined in messages is not used for assertions. Only the model's response to the given messages.

Okay I see @Peetee06, thanks for clarifying assertions are only done on the last response, that "made it click" for me.
So basically if one wants to assert on separate messages in the chat, one needs entirely separate promptfooconfig.yaml's, one per target message. To give an example, to assert on the 1st AI response:
# promptfooconfig_firstAIresponse.yaml

tests:
  - vars:
      messages:
        - role: system
          content: You are a helpful AI assistant.
        - role: user
          content: Who founded Facebook?
    assert:
      - type: icontains
        value: mark zuckerberg

Then to assert on the 2nd AI response:
# promptfooconfig_secondAIresponse.yaml

tests:
  - vars:
      messages:
        - role: system
          content: You are a helpful AI assistant.
        - role: user
          content: Who founded Facebook?
        - role: assistant
          content: Mark Zuckerberg
        - role: user
          content: Did he found any other companies?
    assert:
      - type: icontains
        value: no

Closing this out

@jamesbraza a more convenient approach would be the following. There you only have one promptfooconfig.yaml and only need to run promptfoo eval once. It runs both tests against the same given prompt(s):
tests:
  - vars:
      messages:
        - role: system
          content: You are a helpful AI assistant.
        - role: user
          content: Who founded Facebook?
    assert:
      - type: icontains
        value: mark zuckerberg
  - vars:
      messages:
        - role: system
          content: You are a helpful AI assistant.
        - role: user
          content: Who founded Facebook?
        - role: assistant
          content: Mark Zuckerberg
        - role: user
          content: Did he found any other companies?
    assert:
      - type: icontains
        value: no

Oh yeah that's a lot better, thank you for sharing that!

Hi @Peetee06, I am just getting started with promptfoo. I want to test conversational LLMs. It looks like the messages have to be hardcoded. does promptfoo allow generation of those by the LLM i want to test and a second LLM that behaves as a user?

@teezeit not sure about that, you might find more help in the promptfoo docs. I've just started using promptfoo myself and don't have too much experience yet.


feat(Q): Add TryPop and TryPeek

These are non-panicking variants of Pop and Peek.
They will report whether a value was found with true or false.
These are added in anticipation of a thread-safe variant of Q
which will not offer panicking methods.

Current dependencies on/for this PR:

main

PR #7

PR #8

PR #9   👈

This comment was auto-generated by Graphite.

@abhinav queued this pull request to merge with Graphite.

@abhinav merged this pull request with Graphite.


Labs branch: ESP-IDF SMP Support for Amazon FreeRTOS 201908.00

Amazon FreeRTOS 201908.00 Release ESP-IDF SMP Support
This special branch of Amazon FreeRTOS contains the modifications necessary to support Espressif's fork of FreeRTOS bundles with ESP-IDF for the ESP32. That fork enables the ESP32's second CPU core for FreeRTOS tasks by extending the FreeRTOS scheduler.
This branch replaces the FreeRTOS 10 kernel in AmazonFreeRTOS with the Espressif fork from ESP-IDF 3.1.1 Use this branch directly to build on Amazon FreeRTOS 201908.00, or apply these commits to
future versions of Amazon FreeRTOS.
The commit history is organized into the following types of changes:

AFR FIX UPSTREAM - These changes are candidates for pushing into the Amazon FreeRTOS master repository
COPY - Copy the FreeRTOS sources from esp-idf
LIBRARY PATCH - Update the build system and flags for the new files
ESP-IDF PATCH - These changes are candidates for pushing into any future releases of ESP-IDF slated for integration with Amazon FreeRTOS
CONFIG - Merge AFR requirements into the ESP-IDF FreeRTOSConfig.h. Many of these support the demos. You may wish to modify these for your application.

There are changes to the scheduler and handling of critical sections from FreeRTOS. ESP-IDF requires calls to portENTER_CRITICAL() to pass a mutex used to lock the other core. This port replaces the original FreeRTOS macro signature by passing a global mutex. Note though the other core will continue to run unless it enters a matching critical section.
/*
 * Scheduler and Interrupts are disabled on the local core. The other core will
 * run until it similarly calls portENTER_CRITICAL()
 */

portENTER_CRITICAL();

/*
 * Code protected by the global critical mutex
 * ...
 */

portEXIT_CRITICAL();

The original ESP-IDF macro can be restored as needed by undefining the preprocessor symbol
AFR_USE_GLOBAL_ESP_MUTEX:
static portMUX_TYPE xSubsystemMutex = portMUX_INITIALIZER_UNLOCKED;
/*
 * Scheduler and Interrupts are disabled on the local core. The other core will
 * run until it calls portENTER_CRITICAL(&xSubsystemMutex)
 */

#undef AFR_USE_GLOBAL_ESP_MUTEX
portENTER_CRITICAL(&xSubsystemMutex);
/*
 * Code protected by the subsytem critical mutex
 * ...
 */
portEXIT_CRITICAL(&xSubsystemMutex);

2019-09-23
I updated the critical section macros to accept 0 or 1 parameters, since there are headers in ESP-IDF 3.1.5 that expect to be able to call portENTER_CRITICAL( mux ).

@leegeth  Thanks for the feedback and review. I've resolved your changes and force-pushed to maintain a clear history.
The easiest way to review the changes will be locally:
git diff 4474d910d0fc5cd85790bdb908ca3aa741450f41 6332d79c397a9cb89c85e649715fea91b90b9c5f


Running install a second time should prompt for uninstall, not install again to new location

I think this is the expected behavior.  It seems wrong to install it twice, however, it will use the same registry keys so nothing will actually break.

On further testing this seems to be working -- may have been something I messed up in testing.  I'll leave this open for now as it's something to keep an eye on.  Please give feedback if you use this and it appears to work properly or not.

I  think  this  is just a development  issue


Columnrange doesn't render when change data

The columnrange type doesn't render when i change the data attribute.
thanks
Regards
Massimo

Need more details/jsfiddle


Port Cache from rom-support

This is the first step of the killing rom-support 🔫

Dis is gut but maybe we could create something like dry-core and start adding core APIs there (this could include fp stuff too, potentially, eventually, maybe). WDYT?

@solnic, potentially and eventually are monads, I guess? :)

re dry-core, sure, mb we need to build a shortlist for it or sutin. Eg, dry-equalizer can be there

Haha, yeah. So equalizer could be there, esp that we use it literally everywhere. Other stuff is:

Cache
Options (from rom-support) we may just use dry-initializer for that assuming it's fast enough
ClassMacros (from rom-support) - this should be renames though, these are just inheritable class instance vars
Deprecations
Logger (maybe?)

@solnic k, just create a repo, grant me push access, I'll take care of the rest ;)

@solnic @flash-gordon @timriley @fran-worley  I'm not keen on the idea of dry-core, would rather have separate gems for each and keep each concern separate and independently usable, WDYT?

Dunno yet. We shall discuss :)
On 24 August 2016 at 23:14:52, Andy Holland<EMAIL_ADDRESS>wrote:

@solnic https://github.com/solnic @flash-gordon
https://github.com/flash-gordon @timriley https://github.com/timriley
@fran-worley https://github.com/fran-worley I'm not keen on the idea of
dry-core, would rather have separate gems for each and keep each concern
separate and independently usable, WDYT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dry-rb/dry-types/pull/132#issuecomment-242210524, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAEKrSpDypmVtIv9B4HueAK8Z5ywv93ks5qjLRLgaJpZM4JsM4K
.

@AMHOL it's OK, it's just the same old problem, absolutely nothing new here :) dry-core is some sort of hypothetical standard library for dry-rb gems. This implies certain restrictions on what we can put there and how that should be used, so, probably, this would resolve your concerns.
Those things shouldn't be changed often. For instance, dry-equalizer is pretty much done and no one really knows if it works with MRI 2.3, because the later is missing in travis' config :) I bet the same thing will happen with deprecations and other guys from @solnic's list.
The main problem with keeping things separate is toughness of management. I mean, it's not hard, but it will require some routine actions, such as maintaining CI builds, docs, separate issue trackers (this arguable, I admit), repo access, etc.
Don't get me wrong, I don't have a strong opinion on this topic, just don't want to see that ridiculous leftpad problem here :)

Yeah, I think some discussion around the degree of packaging modularity we adopt would be good, since it'll be something we'd look to follow across the whole of the org.
Kind of related: isn't "dry-core" just "rom-support" by another name?

Kind of related: isn't "dry-core" just "rom-support" by another name?

Partly, yes. Some APIs will probably go back to rom (like ArrayDataset or EnumerableDataset and DataProxy), then there are things that should not be rom-specific, like Inflector with pluggable backends, or Deprecations. Then we have stuff that we probably no longer use, like Publisher, that could be removed. We also have some meta-programming helpers, like ClassBuilder, that is generic, fits better as a dry lib. Depending on how you look at it, we may also end up with everything from rom-support distributed across multiple dry gems, where one "dry-core" would ship a couple of APIs and probably a few additional, standalone gems, would be created too.
I'll write a summary of rom-support and post it here.

rom-support summary:

data_proxy - extension for enumerable objects that want to maintain their original type (ie MyCollection#map returns another MyCollection instance)
array_dataset - a data proxy for objects wrapping an array
enumerable_dataset - a data proxy for objects wrapping an enumerable
auto_curry - method decorator that adds auto-currying (used by rom relations, could be moved back to rom core unless we think it can be made a generic API, hard to say tbf)
cache - a helper for Concurrent::Map works with classes and objects and adds cache.fetch_or_store API
class_builder - meta-programming API for generating classes with specific names
class_macros - this is just class vars with inheritance, should be renamed to something that better describes what it is
constants - a collection of useful constants like EMPTY_HASH etc.
deprecations - APIs for deprecating methods with pluggable logging
inflector - a generic inflection API with pluggable backends
options - defines a constructor which accepts options as the last arg, supports default values, and type checking, this is identical to dry-initializer but smaller, I wonder if we could use dry-initializer instead assuming it's fast enough (this API is used EVERYWHERE in rom)
registry - generic hash-based registry object, this should be moved back to rom core I think, and in rom 3.0 I'd like to see if we could use dry-container instead of this one
inheritance_hook - I don't think we use it (????)
publisher - I don't think we use it (????)

I'm not keen on the idea of dry-core, would rather have separate gems for each and keep each concern separate and independently usable, WDYT?

Yes and no. There's a serious cost that comes with each new gem that we add. Both from maintenance and usage povs. If we suddenly add 10+ new dry gems, the total cost will be significant, and if most of these gems are literally a single module or a single class, then we're gonna deal with a lot of additional friction that comes with maintenance, user support and so on.
It's probably sensible to say that if a given set of APIs is used almost-everywhere, then it should be merged into a single gem. Stuff like equalizer (a single module) or options (a single module) or class_builder (a single class) or cache (a single module) could be a single gem, its size would still be very small, and maintenance cost will be ~2-3x smaller than if these were separate gems.
I prefer small libs over micro libs, and I would draw a line between them by using a very simple approach - if a library is a single class or a single module, then it's a micro library (assuming it's a small class/module ie < 200LOC). This means that ie dry-equalizer is a micro lib, but dry-auto_inject is not (even though it started as one). It's great that dry-equalizer has been stable and we rarely do anything with it, but there's a flip side - since it's out of sight for most of the time, it doesn't get proper attention, if it was part of a gem collecting micro libs, chances are somebody would improve it from time to time.
Anyhow, just wanted to say that I would recommend starting with a single gem with all the micro stuff bundled in and see how it evolves. We can always extract things later into standalone gems.

@solnic’s sold me on trying a combined approach for these things :)

@AMHOL what do you think? :)

Bundling them and seeing how it evolves from there works for me :+1:

OK, I'm going to create a repo then and put some stuff there

@flash-gordon can we close this then?

@solnic, sure, feel free
On Ср, 31 авг. 2016 г. at 2:34, Piotr Solnica<EMAIL_ADDRESS>wrote:

@flash-gordon https://github.com/flash-gordon can we close this then?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dry-rb/dry-types/pull/132#issuecomment-243614681, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAw-tgD9StLyicsjO21U64wv17NCzX_Zks5qlL4WgaJpZM4JsM4K
.


WIP: Rework docs

Hopefully I assumed right and you don't use the wiki (although it is active), but a docs-folder with md-files?

This PR is by far NOT done yet! - I just wanted to get in touch (and eventually feedback), to see if my ideas/changes are welcome, before I put too much time and effort in it.

I want to rework the docs, which means...

In first place shorten the main readme, because it almost overwhelms the reader at the first impression (and also as user of zenbot it isn't really a pleasure to handle it).
Create single and shorter files grouped by topic in the docs-folder (as it is already done for the exchanges).
Create a kind of an index-readme at the docs-folder.
And of course update some outdated parts.

@BAKFR thank you for the info!
so if i read your MR correct, it seems to me that the "official" recommended LTS-version is now Node.js 10.x... than i'll change it.

[...] there is one really annoying regression/bug [...]: as soon as I'm running a simulation for ~30 days or more, zenbot stalls at different positions and cancels after a few seconds with no message or output. As a workaround I wrote a bash-script myself to retry until completing simulation successfully, because it works sometimes without changing anything... it just took >100 attempts to end one of my simulations successfully.
--> is this known or should i open an issue for that?

any comments on that?!?
is this or something like that already known, or completely new? - because i'm officially clueless regarding that issue. :frowning_face:

one tiny question about explaining the example-trade:
there are some options mentioned like --sell_rate=-0.006 for example... i managed to map all used (and outdated resp. renamed) options (also from the linked raw data) to current options, except the --sell_rate=-0.006. :confused:
can someone please explain this option to me or point me to the currently used equivalent!?

I've gone ahead and merged this in, further work on docs can be done by others building on top of your great work, thank you @DJCrashdummy!


Modifiers behaving differently than OS in kmonad

First of all, thanks again for making this super cool project, it is very impressive and useful :smiley:.
Hopefully I can explain this issue properly. I am using the refactor branch now.
With kmonad disabled, and the OS (linux) handling the keyboard, if I press a modifier and key in the following order, I get the modified key. For example:

SHIFT is pressed
j is pressed
SHIFT is released
j is released

In this example, my OS will emit J. However, kmonad emits j.
This has caused me to make a lot of typos, I write c++ code and all my double colons were being typed like :; :stuck_out_tongue:. This applies to all keys (special behaviour assigned to them or not), and all modifiers (like CTRL, etc). My customary action of CTRL-S by rolling my hand from CTRL to S does not work anymore, I now have to be deliberate to keep CTRL held after I release S.
I feel like this is a product of another difference from the OS, where a modded key is emitted on press instead of on release like with kmonad.
Anyways, I hope this made sense, and that a fix is doable. Thanks!

For me this works fine, maybe you can say a little more.
Do you have those modifiers in both the src and base layer of your config? If not they won't be passed through. Also, are you using the refactor branch? It might be useful for you to include your config.

I'm not sure what you mean by both in the src and base layer, but I believe so. The modifiers do work as long as I release the key before the modifier.
I am using the refactor branch. Here is my config:
https://github.com/theol0403/kmonad-layout/blob/master/refactor.kbd
I actually realized some more information. I thought I had tested it on non-button keys but I actually didn't.
So, this behaviour only happens with keys that have some button assigned to them like tap-hold. I think the issue happens because tap-hold buttons only emit their tap keycode on tap-release, and so by that time the modifier is no longer pressed.
I know a solution would be to make a layer for each modifier that removes the tap-hold of the home row keys, but

would be a pain to do
would prevent the modifiers from being emitted to the OS on layer change
keeping tap-hold functionality on the home row keys even with a modifier is useful

So the required solution would be to emit the modifiers that existed when the tap-hold was pressed when the tap-hold is released, instead of combining modifiers only when the tap-hold is released.

I'm not sure what that would solve, but I tried it and I don't think it solved the issue. The issue remains that even though shift was pressed when the tap-hold key was pressed, if the tap-hold key is released after shift is released it won't be modified.

I think I see your problem, and your proposed solution, however, I am not sure if this is feasible, for a number of reasons:

All buttons basically work in complete isolation. They have no information available about anything but themselves. So adding this 'grab the environment' functionality would require a redesign of the core architecture.
This becomes even more complicated if you consider a 2nd tap-hold. Image a 'shift-esc' taphold being pushed to modify a 'ctrl-colon' taphold. Then the ctrl-colon taphold doesn't know whether it should log a shift or not. (Schroedinger's Keyboard :-)).
What environment should we capture? The entire keyboard state? I am currently working with a program that uses insert as a modifier key. This goes hand-in-hand with the fact that KMonad doesn't distinguish between modifiers and normal keys. In essence all KeyCodes are equal, we just deal with receiving and emitting them. We let the OS worry about semantics.

Let me think for a moment... Two solutions that fit well with the spirit/mechanisms of KMonad are:

A layer that adds shifted versions of the buttons. This is slightly different from what you propose. What you could do is this:

(defalias
  mysft (layer-toggle shifted)
  ;te (tap-hold 300 ; ralt)
  :te (tap-hold 300 : ralt))

(defsrc ; lsft)

(deflayer main @;te @mysft )

(deflayer shifted @:te _)

(NOTE: not in a position where I can actually try and run this code at the momen, so there might be some inconsistencies/syntax errors, but I hope the idea is clear: Shift becomes a layer where you manually shift all the taps, but leave the holds).
This should tick nearly all the boxes, no?

What I really enjoy when writing Haskell (which has loads of ->, >>=, <$> stuff) is my macro layers (check atreus.kbd in templates for a reference). So if you find yourself typin :: alot, why not just bind it to 1 button?

I'm not sure what that would solve

You're right, that doesn't make sense. around-next could make the next key shifted but I'm not sure about the held behavior.

Did my proposed fix (1.) sufficiently address your issue? If so, I'd like to close this issue. If not, I'd like to know how we can be of further assistance.

Hey, I've been pretty busy this week and haven't had much time to tinker with kmonad. I would not close this issue yet, I have some more things to say but don't have the time right now to articulate. Hopefully I'll have a chance to reply by next week.
If I understand correctly, your solution is what I described earlier, and these were my reasons I did not really want to do it:

I know a solution could be to make a layer for each modifier that removes the tap-hold of the home row keys, but

would be a pain to do (for each modifier ie shift & ctrl)
would prevent the modifiers from being emitted to the OS
chaining modifiers would not work (ctrl-shift)
keeping tap-hold functionality on the home row keys even with a modifier is useful

And briefly my idea is to have a special button that marks a modifier, (global-modifier), which then gives you a defined way of knowing which modifiers to capture during a tap-hold.

Hey there,
Thanks for giving me a headsup, we'll leave this open until we sort your issue, no need to rush whatsoever.

If I understand correctly, your solution is what I described earlier.

Actually, I don't think so. You didn't provide a code sample with your proposed idea, so perhaps I am not following your proposal correctly, but you speak about disabling the tap-hold buttons in a separate layer. My proposed solution would not be to disable the tap-hold buttons at all, but to have a second layer with different tap-hold buttons in a shifting layer.
Perhaps it is easier if I use 'a' as an example:
(defalias
    sfd   (layer-toggle shifted)
    cta   (tap-hold 150 a ctl)
    ctA   (tap-hold 150 A ctl)
)

(deflayer base
  @sft @cta)

(deflayer shifted
  _    @ctA)

So, this runs into some of the issues you mention:

would be a pain to do (for each modifier ie shift & ctrl)
But less so then changing the base architecture of kmonad.
would prevent the modifiers from being emitted to the OS
Not sure I follow, you mean when you hold the button over the timeout and send a raw 'sft' to the OS? True, but this could be solved by making the layer-toggling button into, for example, a tap-next-hold like this:
(tap-hold-next 150 lsft (layer-toggle shifted)). Then if you tap the button you do actually send a shift to the OS, and when you hold, you get your extended shift functionality.
chaining modifiers would not work (ctrl-shift)
True, although in your config you do still have raw modifiers away from homerow for such occurences, and if it happens often enough, you could make a special layer button just for ctrl-shifted buttons.
keeping tap-hold functionality on the home row keys even with a modifier is useful
I don't follow, I think this does that.

Perhaps we are talking past eachother. Anyways, take your time, have a look when you are less busy. I'm around to help you brainstorm ways of making your config work.
Cheers!
D

Hey, sorry for the long delay.
Yeah, I understand your solution, it should be enough to workaround everything I need if really put in the effort. Too bad that there is not an easy solution for either of us.
My issue still happens consistently btw, it is probably a product of a cheap keyboard and bad habits :grin:.
However, I've finally got myself a QMK powered keeb, so I'll probably be moving away from this project for the time being. Feel free to close the issue.
Thanks again for the super cool project and your help! I'll definitely be keeping an eye on this for the future =)

No worries :-) Closing.

Just wondering if there has been any progress made on this. This is the only tiny annoying thing at this point for me with the project. I have a bunch of the home row keys mapped to custom layers and using shift with any of them is as OP mentioned messes things up. I could probably create a custom layer for shift, but adding in all combinations in which shift can be presses would be quite a bit of work.
For example ctrl+shift+j would work but shift+ctrl+j might not.


Add generic typing's to some functions

Codecov Report

Merging #55 (f57815e) into main (2015b6d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage   97.81%   97.81%
=======================================
  Files          36       36
  Lines         596      596
  Branches      130      130
=======================================
  Hits          583      583
  Misses         13       13

Impacted Files
Coverage Δ

ts-utils/src/helpers/extend.ts
100.00% <ø> (ø)

ts-utils/src/helpers/array.ts
100.00% <100.00%> (ø)

ts-utils/src/helpers/base.ts
100.00% <100.00%> (ø)

ts-utils/src/object/for_each_key.ts
100.00% <100.00%> (ø)

ts-utils/src/object/has_own_prop.ts
100.00% <100.00%> (ø)


Can you provide the codes for the baseline model?

Hi!
I want to know how you implement the baselines. For example, I want to know if you use time_in_day only (w/o day_in_week) for GMAN and MRA-BGCN. Can you provide the codes for the baseline model?
Thanks!

Hi, for GMAN the codes are here: https://github.com/zhengchuanpan/GMAN. for MRA-BGCN, you can ask the authors for codes.
Thanks.

Ok, thanks for providing those info.


add builtctl prune to cloud provider job

Issue #, if available:
Description of changes:
We're running into space issues on this pre-submit; adding a buildctl prune to free up some megs of space
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Fixed Switching to a raining gold lane

lowTarget is always zero at that point, so the code will execute all the time. And besides, lowTarget would be the id of the enemy and not the type.

Looks fine to me


Investigate abnormal sessions on iOS

Description
There seems to be a disproportionate amount of abnormal sessions on iOS on certain users compared to Android
Read more about abnormal sessions here
Info
https://github.com/getsentry/sentry-cocoa/blob/e773cad622b86735f1673368414009475e4119fd/Sources/Sentry/SentryHub.m#L177
https://github.com/getsentry/sentry-cocoa/blob/main/Sources/Sentry/SentrySessionTracker.m#L119
This is the code path for setting abnormal sessions.
I can reproduce it by forcibly killing the app through the IDE but I'm struggling to reproduce it from a user's perspective purely through the simulator.
essentially if this is null:
    NSDate *_Nullable lastInForeground =
        [[[hub getClient] fileManager] readTimestampLastInForeground];

Then ios sets it as an abnormal session

@buenaflor Seems to work to me as intended. Was suspecting that willResignActive was not always called, but we are using it correctly with the notification. https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622950-applicationwillresignactive
How large is the gap between iOS/Android? Users on iOS tend to kill apps periodically in multitasking, maybe this could have a negative impact?

When is last in foreground written?
Tried again when the last in foreground timestamp is written.

Phone is locked
Entering multitasking
Going to the home screen

In all cases, the UIApplicationWillResignActiveNotification is received by the SDK and we set the timestamp. So this is correct.
Killing the app in multitasking
When going to multitasking willResignActive is called. After killing the app,  willTerminate is called. Which ends the current session and deletes the current timestamp.
/**
 * We always end the session when the app is terminated.
 */
- (void)willTerminate
{
    NSDate *sessionEnded = nil == self.lastInForeground
        ? [SentryDependencyContainer.sharedInstance.dateProvider date]
        : self.lastInForeground;
    SentryHub *hub = [SentrySDK currentHub];
    [hub endSessionWithTimestamp:sessionEnded];
    [[[hub getClient] fileManager] deleteTimestampLastInForeground];
    self.wasDidBecomeActiveCalled = NO;
}

So when restarting we do not have a timestamp, but also no session. This is correct.
Per Apples documentation, we have about 5 seconds to do some final cleanup here. Only issue I could see is we manage to delete the timestamp, but not the session, wich seems very unlikely, as we delete the timestamp after the session.

@buenaflor Tried again and checked apple docs, but i don't see a normal user path wehre this might happen. So I just put this in 'Needs More Information'. Do we have some instances with breadcrumbs so we could figure out if this is an issue?
If not, i'd suggest closing this and re-opening when this gets reported again. WDYT?

This might happen because of errors originating from platform-specific code, for example SocketException when using http libraries

haven't found much info whether it happens on http or dio but I don't think it would affect the result, best to check both

@buenaflor I tried both dio and http with our sample app an network link conditioner set to 100% loss, but could not provoke any abnormal sessions.

Works as expected when provoking a crash on the plugin side. The session is detected as crashed on the next start, the cached session deleted, crash reported.


implement @root (access root context)

It would be nice to support this
https://github.com/wycats/handlebars.js/blob/271106d43fae96fc1287898568d000b871f19084/spec/data.js#L223
http://stackoverflow.com/questions/17364897/access-to-root-context-in-handlebar-js-template

Go for it :)

NuGet 1.1.7

How can i add or edit root variable in an helper?


Finished task

https://workspace.google.com/business/signup/welcome@abirabirrr.22@TohaAbir

Hello,
I apologize, but this repository is being archived and replaced by google-pay/wallet-samples going forward. If you still have a question, please open a new issue in that repository.
Thank you!


ske: Generate emscripten data bundle without needing emscripten itself.

Original issue:
~mrms/tophat#14
Initial message:
I think it's possible to generate an emscripten .data file, without needing emscripten itself. The rationale is that emscripten is an incredibly cumbersome tool to setup, and most novice users, will not want to mess with it.
mrms
I generally agree, but in my experience on linux mint, emscripten was really easy to setup.

I think I've mentioned this, but there's a python script that does just that - https://github.com/emscripten-core/emscripten/blob/main/tools/file_packager.py


poedit: 1.5.7 -> 2.2.1

Motivation for this change
poedit was not updated since 2013.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@grahamcofborg build poedit

@GrahamcOfBorg build poedit

@bignaux built and tested locally. poedit complains loudly and advises against about missing language detection and crowdin integration features.
Is that something we can easily enable, without adding too much runtime dependencies?

Not really, need cdl2 (an old framework https://github.com/CLD2Owners/cld2/ )  and cpptest from microsoft, to get such a poedit "pro" ( https://poedit.net/purchase ) that is not cheap and not testable for me. Really i don't care about this warning, i've used it on gscrabble, that's worked at least better than our 2013 build. Perfect is the enemy of good .

Sure, just wanted to ask. Thanks for working on this, merged :-)


STAT table validation

We're starting to see a lot of incorrectly formed STAT tables. It would be great if Font Validator supported STAT tables.
One test case that's not entirely obvious from the spec: there can be only one AxisValueTable for a given coordinate on a given axis.

Do you have a collection of such broken files? Wouse be useful if you could share those (if necessary, privately).


Add securityContext to copy-responses init container

This PR adds the missing securityContext attribute on copy-responses similarly to how it is done on wiremock and copy-mappings containers
References
Closes #42
Submitter checklist

[x] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
[x] The PR request is well described and justified, including the body and the references
[x] The PR title represents the desired changelog entry
[x] The repository's code style is followed (see the contributing guide)
[x] Test coverage that demonstrates that the change works as expected
[x] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Just bumped the chart version that I forgot to do in the previous commit 😞
I wasn’t sure if I can also update the app version at the same time as WireMock version is 3.9.1 now, or if it is better to do it in a separate PR as it is not related to the initial scope?

Just bumped the chart version that I forgot to do in the previous commit 😞 I wasn’t sure if I can also update the app version at the same time as WireMock version is 3.9.1 now, or if it is better to do it in a separate PR as it is not related to the initial scope?

Leave app version as is.

Just bumped the chart version that I forgot to do in the previous commit 😞 I wasn’t sure if I can also update the app version at the same time as WireMock version is 3.9.1 now, or if it is better to do it in a separate PR as it is not related to the initial scope?

@subigre leave app version as is. For chart version can you please change to 1.1.0 as we want to follow semantic versioning with <breaking-change>.<feature>.<bugfix>
Adding a new fields in deployment is a feature. Thanks 😊

Hello @gitkent, to be honest, I didn’t understand why the charts are in the master branch.
I only used it with OCI registries so far, but isn’t automatically packaged and pushed by the use of helm/chart-releaser-action in your release workflow?

Done anyway

@gitkent index has not been updated with the new version 1.1.0

@gitkent index has not been updated with the new version 1.1.0

@DanielFran  thanks for pointing out. Please review this https://github.com/wiremock/helm-charts/pull/45

It is already up to date in the gh-pages branches
https://github.com/wiremock/helm-charts/blob/gh-pages/index.yaml#L4-L31
What is the purpose of adding the index.yaml in the main branch as well? the chart-releaser tool already handles it for us by default?

It is already up to date in the gh-pages branches https://github.com/wiremock/helm-charts/blob/gh-pages/index.yaml#L4-L31
Trying to understand, what is the purpose of adding the index.yaml in the main branch as well? the chart-releaser tool already handles it for us by default?

@subigre you are right, chart-releaser action already updated index.yaml gh-pages branch but Github Pages is still pointing at master branch. I have updated Pages to point to gh-pages branch now. Hence no index.yaml and tar ball need to be updated into master branch. We will need to clean this up to avoid confusion.
FYI @DanielFran


The website is down

Plzzzzzzzzzzzzzzzzz，fix it!!!!!!

I am running a mirror here
https://count.ayaya.beauty
Feel free to use. There are many issues about the main site going down so...
I will keep up this mirror up for as long as I want. I used it personally for several weeks already

Idk if you are a chinese, but this mirror seems outside that WALL(nam saying?). Hopefully that I can use count.getloli inside of the WALL.
55555555555555

No, i'am not chinese :p
Anyways this mirror is running in Chile and not USA (like the original count.getloli.com) if you care about that

Thanks for your reply. I can visit [count.getloli.com] but cant visit [count.ayaya.beauty] without VPN. Im using this counter on my own blog website in China, Its impossible that everyone who visit my website is running their VPN so that they can see those cute getlolis. Thus I realllllllllllllllllllly hope that you can fix count.getloli.com!

 Let me fix it

Niceeeeeeeeeeeeeeeeeeeeee! I can reach it now!!!!!!!!!!!!!!!yessssssssssssss! Thank you!!!!!!!!!!!!!

website down again QAQ~

Hi @Fijxu, the count.ayaya.beauty mirror's down. Can you help with that or are you still maintaining it?

@Marweey @Sadamingh Fixed, sorry for the trouble, i updated and restarted the server and something failed :p

Thanks a lot Fijxu

Hi Fijxu @Fijxu, it's down again. Thank you for your time.

@Fijxu China has been blocked in your firewall loll again?QAQ~~Thanks for your time!

Hi @Fijxu , China has been blocked in your firewall loll again? I can't reach count.ayaya.beauty.Thanks for your time!

@Fijxu It seems like count.ayaya.beauty down again. I check it and found "Connect time out" all over the world. Thanks for your time!

@Fijxu It seems like count.ayaya.beauty down again. I check it and found "Connection timed out" all over the world. Thanks for your time!

Yep, i know, I am migrating the OS from Ubuntu to NixOS. No data was lost so it will available in 2 days or more ;)


Discord invitation link broken

Hi, I think that the invitation link posted on the readme is either expired or was invalidated.

Thanks for letting us know!
Fixed by https://github.com/hansetag/iceberg-catalog/pull/246


PHP Notice:  Uninitialized string offset: 1

Version is 2.0.13-1-g0dd0ff3 (phar downloaded from releases page)
$ php phpcf.phar test.php
Max file size set to: 1.000 MiB
PHP Notice:  Undefined offset: 1 in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/TerminalInfo.php on line 108

Notice: Undefined offset: 1 in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/TerminalInfo.php on line 108
PHP Notice:  Undefined offset: 1 in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/TerminalInfo.php on line 108

Notice: Undefined offset: 1 in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/TerminalInfo.php on line 108
PHP Warning:  A non-numeric value encountered in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/Application.php on line 125

Warning: A non-numeric value encountered in phar://C:/dev/skyeng/skyeng/phpcf.phar/src/Application.php on line 125

File test.php

Analyzer has not detected any problems in your code.
Peak memory usage: 2.466 MB

Try phpcf-2.0.13-8-g98ea1f3.phar.
And one question: you run it from docker image or something similar?

Same with this phar. I'm running it with stock PHP 7.1.9 on Windows.

Can you give output of mode command from cmd? Seems like format is different

Here's what works well and battle-tested: https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseConsole.php#L622

It does. Thanks!


Detect when web fonts are blocked via browser extention

Steps to reproduce the problem:

Download browser extension that allows web font blocking, e.g. Ublock Origin. Chrome Firefox
Enable setting to block web fonts
Open demo page https://mozilla.github.io/pdf.js/web/viewer.html (v.2.0.571) and see that fonts are rendered poorly:

For the demo, window.PDFViewerApplication.supportsDocumentFonts returns true, I would expect it to be false in this case.

For the demo, window.PDFViewerApplication.supportsDocumentFonts returns true, I would expect it to be false in this case.

That property exists (solely) for supporting the PDF.js version that's shipping in Firefox (it's always true in other builds), please see https://searchfox.org/mozilla-central/rev/e6a0a192ea8691f7eb466506301da73fabe8fd23/browser/extensions/pdfjs/content/PdfStreamConverter.jsm#323-327

Open demo page https://mozilla.github.io/pdf.js/web/viewer.html (v.2.0.571) and see that fonts are rendered poorly:

Since this is essentially just a (regular) web-page, how would it detect that fonts aren't being loaded (and without using really ugly/non-performant hacks)?

As already mentioned in https://github.com/mozilla/pdf.js/issues/9798#issuecomment-396352900, attempting to in general detect that fonts are blocked might not always be feasible and even trying to would slow down loading of every document opened with the default viewer, which really does not seem acceptable in general.
Furthermore PR #10539 might be somewhat relevant here as well, since it implemented a fallback for fonts that fail to load when the Font Loading API is being used.
All in all, it seems like closing this issue as WONTFIX would be appropriate here.


A few issues with installation and few questions

Hello everyone.
I had 2 issues with installation:

"git clone https://github.com/sirensolutions/sentinl" not works with the latest version of Kibana (error version mismatch between 5.4.0 at the git and 5.4.1 of latest Kibana). Could be avoided by downloading file manually and editing json file at the archive (but people who is installing plugin by readme file don't know about it, so they couldn't install plugin).
Installation by "manual" method doesn't work too. Here is an error during the installation.

npm install --production
npm WARN deprecated<EMAIL_ADDRESS>Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt'
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130

><EMAIL_ADDRESS>install /tmp/sentinl/node_modules/phantomjs
> node install.js

PhantomJS not found on PATH
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/sentinl/node_modules/phantomjs/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
  [========================================] 100%
Received 22866K total.
Extracting tar contents (via spawned process)
Error extracting archive
Phantom installation failed { Error: Command failed: tar jxf /tmp/sentinl/node_modules/phantomjs/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

    at ChildProcess.exithandler (child_process.js:204:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:886:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
  killed: false,
  code: 2,
  signal: null,
  cmd: 'tar jxf /tmp/sentinl/node_modules/phantomjs/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2' } Error: Command failed: tar jxf /tmp/sentinl/node_modules/phantomjs/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

    at ChildProcess.exithandler (child_process.js:204:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:886:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm ERR! Linux 3.10.0-514.21.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/sentinl/npm-debug.log

I did try to create file manually and download it by myself. But the result is the same.
And my questions are:

How is it possible to create filter per device. For example I want to raise alert if there is more then X messages by device at the specific time range. I have more then 300 devices. If I want to make an alert fo 5 messages there will be a lot of false alarms...
Is it possible to acknowledge alerts as it made at the original watcher (https://www.elastic.co/guide/en/watcher/current/actions.html#actions-ack-throttle - acknowledge by API)?
And summary of both questions above: I want to use around 100 types of alerts per more than 300 devices. It would be a hell for creating alerts for each device. So does plugin support alerts per device with acknowledging per device?

Hi @Genluck
5.4.1 does not have an official release yet and we'll support it once we do, in the meantime you can download the 5.4.0 archive, change the version, repack and install it to try that out - I expect it should work but again, we won't support it until you see an official SENTINL release.
In terms of your questions:

Yes, you can create dynamic queries and return results dynamically only for the groups (devices) above threshold - check out the wiki examples they should get you started
We do also support Throttle and logging of all watcher decisions
See answer 1) you can make it as dynamic as your queries can return data

Hope this helps! Closing as this is not an issue rather questions.


image size not correct

#1
document issue
the correct command line to set image size is
python data.py --img_size=128
not
python data.py --image_size=128
#2
training issue
when data is generated with default size 192
I started train
and the training process got killed after log
"
lr: 0.100000
Epoch 1/250
"

@noguxun

document issue

I fixed it. Thanks

training issue

I can not reproduce it. For example, I tried it.
python train_full.py --img_file=data/images-192.npy --mask_file=data/masks-192.npy

It shows...
lr: 0.100000
Epoch 1/250
  2/146 [..............................] - ETA: 3293s - loss: -0.2054 - dice_coef: 0.2054 - recall: 0.3987 - precision: 0.1245 - b
inary_crossentropy: 0.6998

Do you have some more information?

About #2,
It might be just lacking of resource on my HW environment (old laptop, no GPU, 4G memory)
I am planning setting up a AWS instance to see if problem could go away.


When the user check the checkboxes that paticular row amount should be updated in database.

A grid consists of several columns,on that one  column consists of checkboxes.
my requirement is when the user checks the checkboxes(single or multiple) and clicks on ok button then that particular row amount should be updated to zero(0) in database.

Please use slack for private how-to questions.


ETCM-8596 query ogmios for network params instead of asking user for them

Description
This removes prompt for Cardano Network and optional query for custom parameters. It uses Ogmios and formulas to calculate values.
Cardano Network is now part of CaradanoParameters. Before it was only stored in the same place in JSON.
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages.
[x] New tests are added if needed and existing tests are updated.
[x] Relevant logging and metrics added
[x] CI passes. See note on CI.
[x] Any changes are noted in the changelog.md for affected crate
[x] Self-reviewed the diff

Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges.  Please contact IOG Partner Chains developers to do this
for you.

huge

Huge mistake. Mine.
What should have been done instead is reading network magic from Ogmios and removing other variables, because they are configuration of db-sync-follower. So, db-sync-follower should look into postgres to self-configure and then we have the proper solution.

Anyway, I'll merge it, because it still is UX improvement. Depending on investigation of node being able to figure our these parameters it will be properly simplified.


Stable version: removed many assets

Revised the structure of html code.
the add employee is ok.
removed many assets

Accept.


mwc-select shadow DOM width does not expand to fill element width

Describe the bug
The shadow DOM inside of an mwc-select element does not expand to fit the mwc-select width.
To Reproduce
Steps to reproduce the behavior:

Go to https://material-components.github.io/material-components-web-components/demos/select/
Inspect element on an mwc-select and make sure you have the mwc-select web component active.
Add the CSS rule width: 500px !important

Expected behavior
The children of mwc-select (the actual selector itself, and the menu) are 500px wide.
Screenshots

Browser Version (please complete the following information):

OS: macOS 10.15.4
Browser: Chrome 81.0.4044.138 and Safari 13.1 (156<IP_ADDRESS>.8)
MWC version: 0.15.0

Additional context
Setting mwc-select width worked at one point.
This can be resolved for me by adding the CSS rule width: 100% to <div class="mdc-select">.

Adding the "fullwidth" attribute fixes this behavior as a workaround.

Seems like we are missing some prop docs on this when this change was implemented, though, it's working as intended


A ?user= param for admin users to see and edit other users' agents

This is a first pass at implementing the feature described in #1387
From the user management index, a link to the agents view with ?user=bob to display bob's agents. The admin can then see/edit/create agents on that user's behalf.
Most updates are in agents_controller.rb to replace references to current_user with @agent_user which gets set in a before_action
Test coverage is not complete yet, but wanted to solicit feedback on this approach.

Thanks for taking this over @albertsun, I wonder if we could use a approach like this to avoid having so many changes? It might be an option to add a become button to the admin user interface and store the original user in the session to allow the admin to return to the real account.

Oh interesting that something like that is possible @dsander. It would definitely make this a smaller change.
One reason to make a larger change now might be a future feature where admins can get a view of all agents across all users. That could support this idea https://github.com/cantino/huginn/issues/1592#issuecomment-234097787 where some agents can be shared and propagate events to all users. Doing that would also require abstracting the selection of agents from current_user.agents

Sharing Events should already be possible with a DataOutputAgent, certainly not performance efficient but doable :)
I think getting a list of all Agents is a different issue, what would be the use case for it? I can understand that an admin would like to switch to a user account to debug or disable a misbehaving Agent.

Our install has some more-technical admin users (mostly me at the moment) who frequently assist other users who are less well versed in how APIs and JSON and etc work.
For instance, I might set up an agent that checks one API endpoint at a very regular interval. Then other users could create their own agents to choose to filter that endpoint and be notified of it in different ways (email/slack/sms whatever). More performant than having every user create an agent that checks the API at a short interval. A global view of all agents would let me see all users' agents that receive events from that one global agent.

It seems like become / impersonation would be a much smaller change to tackle now.  I guess that doesn't meet your need of Agents whose events are shared across users, though.

Hm, I could implement that first if it would be useful in the interim. To me, the larger goal is to have events flow more easily between users and this is one step towards that use case.

@albertsun I am not sure if current_user.agents would need to change when we allow to share Agents between users. To make that happen we would probably need add has_and_belongs_to_many :agents to the User model, for which the call would still be current_user.agents with some @agent.events_only? conditionals in the views to ensure the Agent options are kept private for shared Agents.

@dsander My initial idea would be to implement it by replacing current_user.agents and without using has_and_belongs_to_many. Could instead do @current_agents = current_user.agents + Agent.global_agents.
Each agent would still just belong to whichever user first created it. I think using has_and_belongs_to_many would create too many superfluous join rows that would all have to be frequently updated. And anytime a new user were created you'd have to update all the global agents.

It'd be a big change, but I could imagien doing something like:
def agents
  Agent.where('user_id = ? OR shared = ?', id, true)
end

ORs can be slow in SQL, though.

@albertsun I see, I thought the agent should be shareable with specific users only.
@cantino Yes that should work, we do the same for services. Do you think the performance impact would be noticeable with a index on user_id and shared?

I'm not sure that MySQL / Postgres can use a combined index on an OR.

Would it really be that slow? It could also be decomposed into two queries, since I think at some points it'll want more fine grained control. For example, in some cases we'll want just agents that the user can update, and in other cases the query will be for all agents the user can receive events from.

I'm honestly not sure how slow it'd be.  It might be fine.  I just know that at a previous job, we ran into places where large OR queries were not performant.

I don't think it would need to be joined against events - or I would prefer to implement it in a way that doesn't involve that and keep the queries simpler.
I guess I will take a pass at implementing some more of this in the next week or so to see how it all looks in code.

Sounds good.

Ok, so took me a bit longer to get to this than I would have liked, but here is a sketch of the concept. There still needs a bunch of UX work to make it so that all the different links and URL helpers point people to the right place in both admin and non-admin views.
Basically this is adding an indexed shared field on Agent.
Then in the edit form for agents where we pull out possible sources it does this:
(@current_agents + Agent.shared - [@agent]).uniq

With that the logic for agent links and event propagation all works with no changes to that code.
This also adds a /agents/all view that is restricted to only admins and a second "shared" agents table on the /agents screen that everyone can see.
Thoughts on this direction? I think it only adds some complexity to the UI and how we determine what a user can do at any given moment.

It feels like this PR is combining two distinct concepts: allowing Admins to access any agents, and adding a concept of shared agents.  Could this be two separate efforts?  Do you require both for your purposes?

Yes this does combine those two concepts. They could definitely be separated into two separate PRs. To me they are related though - in a system where users can have shared agents, it'll be very useful for admin users to be able to step in and fix things up in those agents if they are misconfigured.

Aren't there three concepts? An admin can access the agents of a specific user, view all agents (which I am not a huge fan of to be honest), and the ability to share agents?
I still think the "sudo" functionality would be simpler by using the become approach. When an admin is in the "sudo" mode we could display a warning in the navigation bar, offer a link to get back to their own account and maybe not even touch the views since an admin should be aware he sudo-ed into a user account.
For the shared Agents the use case is mainly about allowing other users to use the Events of that Agent, right? Maybe we could include them in the normal Agent table and only allow to view the Agent's Events and use it as a source to not expose the options which might include secrets.

I too am concerned that this adds a lot of complexity to Huginn, and would prefer the impersonation / becomes approach for managing the user. Does that not solve your issue @albertsun?
For the sharing, I think sharing of Agents is reasonable, as long as it doesn't spawn a lot of new complexity. I wonder if @TildeWill has any opinion on agent sharing in the context of a larger hosting environment?

I'll implement the "become" method. And separate this into multiple pull requests.
I understand the concern over adding additional complexity, but I think these are important features to have if Huginn is going to have installs with many users with related workflows.

Ok, this is now three separate PRs. They're all branched off master, but would probably work better if they were rebased off each other in sequence before merged.
The admin becoming users is I think ready to merge:
https://github.com/cantino/huginn/issues/1659
The ones for shared agents and a view of all agents need a bit more work, and tests to be written.
Shared agents: https://github.com/cantino/huginn/issues/1661
All agents admin view: https://github.com/cantino/huginn/issues/1660
Here's a use case that I think could be fairly common that motivates these changes. Let's say you want to monitor a site that has fairly complex markup and a large amount of different fields for a WebsiteAgent to pull information from. And lets say the markup of that page evolves over time. This will require someone relatively skilled to write the xpath or CSS selectors to parse data from it. And lets say there are many users who want to be notified of when that web page changes, but they may want to be notified of it in different ways and on different schedules. You'd also like to not be blacklisted by the site for sending too many requests. Then it'd be best for one person to write the website agent and set it to run frequently while making it shared. Other users could set up trigger and other agents to receive events from it. If someone is struggling with a regex for their trigger agent an admin could log-in and help them set it up.

Sounds like the impersonate/become part is largely settled, but I agree with @dsander 's comments above.
As for shared/global agents or shared events... I'm thinking about organizations instead of global sharing. I worry about global sharing where there's so many shared agents/events that it becomes noise.
Whereas if you said a specific group of people need to share access to agents and events, that's something I've heard my users ask for.

It's been a while, can we close this?

Yes, I think it's out of date at this point.


Publish Kuksa SDK Snapshot Builds to MavenLocal

Closes: #6

Had to force push due to failing commitlint task

LGTM
Some adaption will be made in #4 to also allow publications for Java modules.


fiona + shapely.speedups breaks LineString.interpolate()

I'm not sure if I should report this here or at Fiona but here goes. If I import fiona before shapely, LineString.interpolate() prints "IllegalArgumentException: LinearIterator only supports lineal geometry components" which is followed by a "ValueError: No Shapely geometry can be created from null value" error.
The error does not trigger if any of the following are true:

I dont import fiona
I import fiona AFTER shapely
I don't enable shapely.speedups

My environment is the following:

Shapely 1.5.13
Fiona 1.6.3
GEOS 3.5.0
Mac OS X 10.9.5
Python 2.7.10 (default, Jul 13 2015, 12:18:59)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
python installed through Homebrew

The following fails
"""
This fails with the following:

IllegalArgumentException: LinearIterator only supports lineal geometry components
Traceback (most recent call last):
  File "linear_referencing_bug.py", line 11, in <module>
    print test_shape.interpolate(1, normalized=False)
  File "/usr/local/lib/python2.7/site-packages/shapely/impl.py", line 37, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/shapely/geometry/base.py", line 709, in interpolate
    return geom_factory(op(self, distance))
  File "/usr/local/lib/python2.7/site-packages/shapely/geometry/base.py", line 65, in geom_factory
    raise ValueError("No Shapely geometry can be created from null value")
ValueError: No Shapely geometry can be created from null value

Shapely 1.5.13
Fiona 1.6.3
GEOS 3.5.0
Mac OS X 10.9.5
Python 2.7.10 (default, Jul 13 2015, 12:18:59)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Installed through Homebrew
"""
import fiona
import shapely.speedups
if shapely.speedups.available:
    shapely.speedups.enable()
import shapely
from shapely.geometry import shape, LineString

test_geom = {'type': 'LineString', 'coordinates': [(639201.0379574801, 1612088.5377595278),<PHONE_NUMBER>574801, 1611977.218462066),<PHONE_NUMBER>817731, 1611881.8019213844),<PHONE_NUMBER>817731, 1611791.6862996297),<PHONE_NUMBER>817731, 1611685.6679210947),<PHONE_NUMBER>574801, 1611595.5522993398)]}
test_shape = shape(test_geom)

print test_shape.interpolate(1, normalized=False)

This works as expected
It also works if I completely omit the fiona import.
import shapely.speedups
if shapely.speedups.available:
    shapely.speedups.enable()
import shapely
from shapely.geometry import shape, LineString
import fiona

test_geom = {'type': 'LineString', 'coordinates': [(639201.0379574801, 1612088.5377595278),<PHONE_NUMBER>574801, 1611977.218462066),<PHONE_NUMBER>817731, 1611881.8019213844),<PHONE_NUMBER>817731, 1611791.6862996297),<PHONE_NUMBER>817731, 1611685.6679210947),<PHONE_NUMBER>574801, 1611595.5522993398)]}
test_shape = shape(test_geom)

print test_shape.interpolate(1, normalized=False)

Thanks for the report, @lx-88, and apologies for the slow response. We've got a problem between Fiona and Shapely with double dlopen() calls on GEOS: #324.
I've solved this for the OS X wheels I'm uploading to PyPI, but it looks like the fix isn't helping you. Would you be willing to scan #324 and https://github.com/Toblerity/Shapely/pull/327#issuecomment-146634606 and let me know if the Fiona and Shapely wheels I have on PyPI work for you?

@sgillies, I still see the same behavior even after nuking my pip cache and a fresh virtualenv and the behavior is the same working with system python (i.e., no virtualenv). Maybe I'm missing where to find the specific wheels you're talking about or there is something odd about my system. If so, I have no idea what that might be.
test.py
import fiona
import shapely.speedups
if shapely.speedups.available:
    shapely.speedups.enable()
import shapely
from shapely.geometry import shape, LineString

test_geom = {'type': 'LineString', 'coordinates': [(639201.0379574801, 1612088.5377595278),<PHONE_NUMBER>574801, 1611977.218462066),<PHONE_NUMBER>817731, 1611881.8019213844),<PHONE_NUMBER>817731, 1611791.6862996297),<PHONE_NUMBER>817731, 1611685.6679210947),<PHONE_NUMBER>574801, 1611595.5522993398)]}
test_shape = shape(test_geom)

print test_shape.interpolate(1, normalized=False)

Running test.py
(venv)$ pip install --ignore-installed Shapely
Collecting Shapely
  Using cached Shapely-1.5.13-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing collected packages: Shapely
Successfully installed Shapely-1.5.13
(venv)$ pip install --ignore-installed Shapely
Collecting Shapely
  Downloading Shapely-1.5.13-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.2MB)
    100% |████████████████████████████████| 2.2MB 224kB/s
Installing collected packages: Shapely
Successfully installed Shapely-1.5.13
(venv)$ pip install --ignore-installed Fiona
Collecting Fiona
  Downloading Fiona-1.6.3-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (15.1MB)
    100% |████████████████████████████████| 15.1MB 31kB/s
Collecting six (from Fiona)
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting cligj (from Fiona)
  Downloading cligj-0.4.0-py2-none-any.whl
Collecting click-plugins (from Fiona)
  Downloading click-plugins-1.0.3.tar.gz
Collecting click>=4.0 (from cligj->Fiona)
  Downloading click-6.2-py2.py3-none-any.whl (70kB)
    100% |████████████████████████████████| 73kB 3.7MB/s
Building wheels for collected packages: click-plugins
  Running setup.py bdist_wheel for click-plugins ... done
  Stored in directory: <full user path>/Library/Caches/pip/wheels/fb/1b/1a/7d05eb78394e4b4994c34d39c23df392af15b5c1e34ae2c74a
Successfully built click-plugins
Installing collected packages: six, click, cligj, click-plugins, Fiona
Successfully installed Fiona-1.6.3 click-6.2 click-plugins-1.0.3 cligj-0.4.0 six-1.10.0
(venv)$ python test.py
IllegalArgumentException: LinearIterator only supports lineal geometry components
Traceback (most recent call last):
  File "test.py", line 35, in <module>
    print test_shape.interpolate(1, normalized=False)
  File "venv/lib/python2.7/site-packages/shapely/impl.py", line 37, in wrapper
    return func(*args, **kwargs)
  File "venv/lib/python2.7/site-packages/shapely/geometry/base.py", line 709, in interpolate
    return geom_factory(op(self, distance))
  File "venv/lib/python2.7/site-packages/shapely/geometry/base.py", line 65, in geom_factory
    raise ValueError("No Shapely geometry can be created from null value")
ValueError: No Shapely geometry can be created from null value

I can reproduce this with the wheels on PyPI. On OS X I created a new conda environment, then used pip to install shapely and fiona, and get the exception above.

I've tried to investigate this a little more. Here's what I've found.
It seems the problems start in the example above at the first call into the cython code. In this case, the creation of a LineString calls geos_linestring_from_py. The problem isn't related to interpolate, but actually occurs in shape. This can be seen if you try and print the geometry - the WKT is an empty string.
So, using the following code, with Fiona (installed using the wheel on pypi):
import fiona
import shapely.speedups
if shapely.speedups.available:
    shapely.speedups.enable()
import shapely
from shapely.geometry import shape, LineString
print(shapely.geos._lgeos.GEOSversion())
test_geom = {'type': 'LineString', 'coordinates': [(639201.0379574801, 1612088.5377595278),<PHONE_NUMBER>574801, 1611977.218462066),<PHONE_NUMBER>817731, 1611881.8019213844),<PHONE_NUMBER>817731, 1611791.6862996297),<PHONE_NUMBER>817731, 1611685.6679210947),<PHONE_NUMBER>574801, 1611595.5522993398)]}
print(shapely.__version__)
a = LineString(test_geom['coordinates'])
print(a.coords[:])

With Shapely 1.5.13 from the pypi wheel:
b'3.4.2-CAPI-1.8.2 r3921'
1.5.13
Geometry must be a Point or LineString
Geometry must be a Point or LineString
Segmentation fault: 11

With Shapely 1.5.13 built locally from maint-1.5:
b'3.4.2-CAPI-1.8.2 r3921'
1.5.13
Assertion failed: (0 != cs), function GEOSCoordSeq_setOrdinate_r, file geos_ts_c.cpp, line 3657.
Abort trap: 6

With Shapely 1.6 build locally from master:
b'3.4.2-CAPI-1.8.2 r3921'
1.6dev0
[(639201.0379574801, 1612088.5377595278),<PHONE_NUMBER>574801, 1611977.218462066),<PHONE_NUMBER>817731, 1611881.8019213844),<PHONE_NUMBER>817731, 1611791.6862996297),<PHONE_NUMBER>817731, 1611685.6679210947),<PHONE_NUMBER>574801, 1611595.5522993398)]

So has this been fixed in master? If so, what changed and can we backport to 1.5.x? Interestingly, maint-1.4 seems to be OK too.
Unfortunately I'm not able to test this full as I can't seem to build a wheel myself. The wheel builds, but I'm unable to relocate it as the extensions have @rpaths in them already:
(python34)snorfmac:Shapely snorf$ otool -L build/lib.macosx-10.5-x86_64-3.4/shapely/speedups/_speedups.so
build/lib.macosx-10.5-x86_64-3.4/shapely/speedups/_speedups.so:
	@rpath/./libgeos_c.1.dylib (compatibility version 10.0.0, current version 10.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

Ideally I'd like to work out why this is the case and fix it, but in the mean time, @sgillies could you build a wheel based on the master branch and see if this is still an issue?

@snorfalorpagus here's a difference between maint-1.5 and master: https://github.com/Toblerity/Shapely/blob/maint-1.5/shapely/geos.py#L72-L80. In 1.5 I'm trying to reuse a loaded DLL, but it appears to be breaking something in your case.

@snorfalorpagus Thanks for the test script. I can confirm that #374 (in conjunction with static GEOS in Rasterio/Fiona OS X wheels) fixes this.

See also #553.


grpc_proto.bzl out of date?

I cloned the repo/submodules and tried to build the examples.  It fails quickly with the following error.  I am building with bazel 0.3.1rc2, but the same error occurs with 0.3.0.  I have not tried earlier bazel versions.
bazel build examples/...:all
trunk/third_party/grpc/grpc_proto.bzl:116:12: Attribute 'attrs' either doesn't exist or uses a select() (i.e. could have multiple values)
Available attributes: $protoc, :action_listener, compatible_with, deprecation, deps, expect_failure, features, gen_cc, gen_java, generator_function, generator_location, generator_name, grpc_cpp_plugin, grpc_java_plugin, has_service, restricted_to, src, tags, testonly, visibility

Also see https://groups.google.com/d/msg/bazel-discuss/Crs4RNqHoCI/7Otj-W-6BgAJ

I was able to repro this locally as well.

Yeah i have been running into a slew of different issues building this with 0.3.1. However the examples are great and pretty easy to fix once you take a look over things. Not sure if this project aims to support 0.3.1 it looks like it's stuck at testing against 0.2.2 right now.

Yeah, I realize it's kind of out of date. We are slowly picking up 0.3.1 internally. So hopefully I will take a chance to fix this issue in a few days.

@mzhaom your boost stuff helped me out significantly. I have added a few more libraries in my repo here https://github.com/michaeljs1990/clog/tree/master/third_party/boost if of any use to you.

@michaeljs1990 likewise and nice work! I'm going to pull that over into my fork.


Style: Button UI

Title of the Pull Request
Changed the Square to rounded button with pastel theme UI
Issue #703
After

Before

Description
As I have seen the home page is made with light purple and blue theme so I decided to change the dark buttons to pastel colour so it looks good altogether
How Has This Been Tested? ⚙
I have tested in local host
Type of change
What sort of changes have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[X] My code follows the code style of this project.
[X] I have followed the contribution guidelines
[X] I have performed a self-review of my own code.
[X] I have ensured my changes don't generate any new warnings or errors.
[ ] I have updated the documentation (if necessary).
[ ] I have resolved all merge conflicts.

@somyadipghosh please merge the PR


Set provider versions and use location over region

Address failing builds due to provider version drift and variable changes.

CI/cd failed

test this please

test this please


Can the generated bar code be returned as a byte array?

Hi,
I have a requirement that the bar code be generated in memory and returned as a byte string.
Here is what I have... I don't know if "Content()" does what I think it does
		bytes := []byte("hello world")
		azCode, _ := aztec.Encode(bytes, aztec.DEFAULT_EC_PERCENT, aztec.DEFAULT_LAYERS)
		azCode, _ = barcode.Scale(azCode, 40, 100)
		retval := []byte(azCode.Content())

              return retval

Hi,
the returned barcode is an Image which you could save as png with "image/png" or similar...

Thank you for replying... but which one is correct?
A
retval := []byte(azCode.Content())

or
B
retval := []byte(azCode)


Release commit v2.5.0

Issue #, if available:
Description of changes:
PR for release v2.5.0
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #218 into master will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   84.55%   84.48%   -0.07%
==========================================
  Files          80       80
  Lines        3120     3120
==========================================
- Hits         2638     2636       -2
- Misses        482      484       +2

Impacted Files
Coverage Δ

aws_xray_sdk/version.py
100.00% <100.00%> (ø)

aws_xray_sdk/core/sampling/local/reservoir.py
88.88% <0.00%> (-11.12%)
:arrow_down:

Continue to review full report at Codecov.

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


Feature/unr 3090 spatial view components tests

Description
Added tests for SpatialView components
Primary reviewers
@samiwh @MatthewSandfordImprobable

These tests were eventually merged here: https://github.com/spatialos/UnrealGDK/pull/2063


vivaldi: 5.4.2753.47 -> 5.6.2867.36

Description of changes
Updated vivaldi and added a flag to force the dark mode (it solves some UI glitches with dark themes)

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1526

added a flag to force the dark mode

I'm curious of the rationale behind introducing an extra flag instead of using commandLineArgs to add the flag should it be necessary. Assuming forceDarkMode is commonly used, is it better to append it to commandLineArgs to make things consistent?

You are right, commandLineArgs is a better idea. I will post another MR


VS2017 RC - Project-wide analysis should not be enabled

VS2017 RC currently enabled project-wide analysis based on ParseAndCheckProject and shows red-squiggly errors based on the results
See vsintegration\src\FSharp.Editor\ProjectDiagnosticAnalyzer.fs
This is wrong, because this method checks using saved files on-disk, not the current contents of buffers.  This results in erratic, persistent red-squiggly errors being shown in half-edited unsaved files in the IDE.
We should just disable this feature for now

I'm trying to port virtual file system we use in VFPT https://github.com/vasily-kirichenko/visualfsharp/commit/5185d7668ede2cc4b968c3c47a98d84bb1a2d9bb
It tracks open documents and pass to file system dirty buffers content.
I'm stuck on fitting it to MEF as LanguageServer has FSharpChecker as static field.

OK, it seems to work, but ParseAndCheckProject does not call FileSystem :(

@vasily-kirichenko Can you share your branch?
We may have to delay looking at this until F# 4.2, though it would be great to get a prototype done

@dsyme what do you mean by sharing the branch? I've created a PR from it, do it whatever you want with it.

yes that's what I meant, thanks

Mistakenly auto-closed