Is it possiable to brute force the original message of SHA-256, given the size of original string?

Given the SHA-256 hash, size and encoding of original string. Is it possible to recover the string with brute force? How many string of a given size will result in the same hash?

dover ferry port will border force prevent four people travelling in one car

we are a group of 4 friends going by ferry France/ Dover, in mid august, will we be prevented from travelling by car by border force? we will have been self isolating before our trip.

Is the Belarus-Russia visa recognition into force yet, or do I still need a Belarus transit visa?

Since 2020-07-01

It should be in force as of 2020-07-01: From the Belarusian Telegraph Agency, reported on 2020-06-19:

INSK (sic), 19 June (BelTA) – Belarus and Russia have concluded an intergovernmental agreement on mutual recognition of visas and other issues related to the entry of foreign nationals and stateless persons to the territory of the states participating in the Union State Treaty, BelTA has learned.

However, another source (in Russian) claims that although it has been signed, it will still take several more months before it is actually in force.

Old situation (before 2020-07-01)

On 10 July 2019, the Belarusian Telegraph Agency wrote:

The agreement on mutual recognition of visas is technically ready, awaits a political decision, State Secretary of the Belarus-Russia Union State Grigory Rapota said in an interview with the Belarus 1 TV channel on 9 July, BelTA has learned.

On 18 November 2019, they quoted Belarusian foreign minister Vladimir Makei:

“The agreement is almost ready. I am convinced that the decision on it can be adopted in the near future,” Vladimir Makei said.

So, as of 18 November 2019, it is not yet in force, and no date has been publicly announced on which it will be, only the vague “near future”.

ubuntu – Kubernetes: How to force kube-proxy to listen on localhost only

In my configuration, very basic one (Only calico network, no apps yet)
I have nginx-ingress running as NodePort – binding on port 30080. This port should be accessible only from localhost, but k8s opened this port for everyone, and since it’s binding on it’s wide open now.

So I want to force kube-proxy to bind this port to only.

I’ve tried modifing configmap to nginx-ingress (bind-address) but no luck with that.

Since this port is attached to kube-proxy – i was looking for kube-proxy config, but no luck at all.
I’ve found yaml config file in /var/lib/kube-proxy but modifing it didn’t change this.

After restarting pods, they are still binded to

I’ve tried many ways from internet, but still no luck.

usability – Is it always bad to force users to click to show them your products?

Option 3 is the best, without discussion

Option 1 is a nightmare. Just thinking of a long unorganized page with extreme cognitive load is reason enough to ditch it.

Option 2 is even worse: you’re offering the user the same thing as in option 1, only that with an added step!

Also, besides messing your product’s list (reason enough but not the only one), keep in mind that in fact these first two options require more effort. Not nly cognitive, but physical: remember that in order to scroll… You have to click as well! So you’re not savng effort at all in your first two scenarios. Quite the contrary, you’re adding a lot of effort and friction with 0 benefit

web part – How to force a cache refresh in SharePoint 2010

I am currently developing a web-part that generates a mega-menu for SharePoint 2010. The issue I am having is that when the user generates the menu, I have the web-part generate an HTML file and store it in SharePoint’s style directory. The problem I am facing is how do I force SharePoint to refresh it’s page cache to read the updated HTML file? I have no idea how to do this and my Google searches haven’t turned up anything useful.

I know that I can save the file directly to disk and have SharePoint’s cache monitor any modifications to the file and automatically update itself. However the problem with this solution is that we have multiple WFEs so the WFE that actually has the file written to it is the only server showing the updated menu.

Since this solution didn’t work for us, I thought writing the HTML file to the style directory would allow all WFE’s to see it. But I am stuck at how to force the cache to refresh itself after the is file updated. I know this is possible because if I modify the style sheet in the same directory, that automatically updates the look of the page on refresh.

Any suggestions on how to accomplish this would be greatly appreciated.

dnd 5e – Is this revised homebrew Way of the Force monk subclass balanced compared to the official monk subclasses?

This is a monk to emulate be a force user, as from the Star Wars universe.
There is a spoiler from The Last Jedi film. I thought that the ability to telekinetically affect your environment is too cool a concept to be left to a couple of spells, so I wanted to create a martial class that could utilise these concepts.

The homebrew subclass in this question was finally playtested, so I can come back and try and refine it.

However, it was not an extensive playtest, so assessment from the community is appreciated. Prior to playing, I removed the multiple concentration feature of Force Prowess, leaving just the increased cost for more targets component.

The main issues seen were:

  • the contested checks resulted in both more rolling and more swinginess in whether the ability worked
  • using contested checks instead of saves meant that boss targets couldn’t circumvent the abilities
  • the ability to force something prone from range or to restrain something were both very powerful (especially against flying targets)

It was also unsatisfying to attempt to use an effect, just for it to fail, and my limited resource be wasted. As I was playtesting, I also found myself unwilling to use the Greater Telekinesis feature that lets you move creatures as an attack – maybe this was just due to the situations I was in, but it could just be a quirk of the combats I found myself in.

Additionally, I made some changes to Force Choke, but was unable to test it.

The changes I’ve made off the back of the above issues are changing all of the contested checks to Strength saving throws. This simplifies the text, and lets legendary creatures save from the effects, as well as reduce the amount of rolling. I also switched to using the player’s wisdom modifier instead of proficiency modifier for effects that I wanted to have a limited number of targets; I don’t think this should change too much, however.

I am still worried about the balance and feel of this subclass. It still has the issue that, quite often, a turn can be wasted trying to get a target to succumb to a force effect, and you fail consistently, wasting a lot of resources. Other subclasses get features they can use without resources; currently, this subclass only has Life Sense for that. Additionally, the ability to force something prone, or to restrain a target, from range gives a large incentive to just keep trying to get these powerful effects. The use of Strength saving throws instead of Dexterity saving throws is also a tad worrying; I’m not sure how unbalanced that is, though.

How balanced does this subclass seem in relation to officially published monk subclasses? What ways could it be improved to increase player satisfaction, with regards to resource expenditure, that official subclasses take into account?

Monks that follow the Way of the Force have learnt how to use their ki to manipulate their surroundings with their mind, tapping into the energy that inhabits all things.


Starting when you choose this tradition at 3rd level, you can use your ki to telekinetically manipulate the world around you. You gain the mage hand cantrip if you don’t already know it, and it is invisible.

Force Radius. A force radius of 30 ft that is centered on you defines where you can use ki specific force features. Your force radius increases to 60′ at level 11, and increases to 120 ft at level 17.

When you take the Attack action on your turn, you can forgo one of your attacks to spend 1 ki point to achieve one of the following effects against a Large or smaller creature, or an object, in your force radius.

  • Force Shove. The target must make a Strength saving throw. If they fail the save, you can do one of the following: knock the target prone, push the target up to half your Force Radius directly away from you, or pull the target up to half your Force Radius directly towards you. Unattended objects automatically fail this contested check, and if an object is held by a creature the creature makes the check.

  • Force Grab. The target must make a Strength saving throw. If the target fails the saving throw, it is grappled for one minute while you concentrate on the effect (as if concentrating on a spell). The target can use an action to try and break the grapple, repeating the saving throw.
    Unattended objects automatically fail this saving throw, and if an object is held by a creature the creature makes the save. An object held in this way can be moved to a location within your force radius up to half your force radius away from its origin point as an object interaction, and stay aloft in the air at the end of the move if you wish.

Greater Force Connection

Mind Powers. At level 6 your connection to the Force grows. You gain the ability to cast Charm Person (1 ki point) and Suggestion (2 ki points) using Wisdom as your spellcasting ability modifier. You can cast Charm Person at higher levels by spending one ki point for every level above first level you wish to cast it at, to a maximum total number of ki points equal to your wisdom modifier.

Life Sense. You can concentrate for a minute and learn the number of creatures within double your force radius, as well as their locations relative to your own. You do not learn any further information about these creatures, such as creature type or identity. You cannot detect either undead creatures or constructs with this feature.

Greater Telekinesis. Your Telekinesis abilities now work on Huge or smaller creatures and objects, and you can move creatures with Force Grab as well as objects. When moved in this way, you must use an attack to force the creature to make a Strength saving throw. If they fail, they are moved to a location of your choice within your force radius, following the same rules as moving objects with Force Grab. If they succeed, they are not moved.

Force Prowess

At 11th level you can apply the effects of Telekinesis to additional creatures and objects beyond the first by spending one ki point for each additional creature, up to a maximum of your wisdom modifier. When moving objects using Telekinesis, you can move any number of held objects using a single object interaction.
Your Telekinesis abilities now work on Gargantuan or smaller creatures and objects.
Finally, when you attempt to Force Grab a creature, you can increase the number of ki points you spend to 3 ki points and try to hold a creature more fully. Instead of being grappled when you succeed on the contested Force Grab check, a target is restrained, and repeats the contested check at the end of each of their turns. When you target additional creatures with this effect you must spend 3 additional ki points for each additional creature.

Force Mastery

At 17th level your mastery over your ki and the ki of others is legendary.

  • The radius of your life sense increases to 1 mile, and you can tell the creature type of each detected creature.
  • Creatures remain unaware of the effect you have had on their mind when you use Greater Force Connection abilities on them.

In addition to the features above, you can choose to gain one of the following features:

  • Force Choke. When a creature is held and restrained by your Force Grab, you can choose to start choking them if they are within half of your force radius. As an action on your turn, you can choose one creature that is under the effects of your Force Grab, and start choking them. They begin choking, and they become paralyzed for a minute. If they take any damage while paralyzed in this way, this effect ends on them. Additionally, you can use an action on following turns to crush the windpipe of any creature that has started choking in this way. They have to make a Constitution saving throw, or be reduced to 0 hit points. Creatures that don’t need to breathe cannot be reduced to 0 hit points in this way, but can still be paralyzed by this feature. If a creature manages to escape your Force Grab, they are no longer under any of the effects from this feature.

  • Force Lightning. As an action on your turn, you can spend 5 ki points to start spewing lightning at your foes, concentrating on this effect for up to one minute. A beam of lightning flashes out from your hand in a 5-foot-wide, 120-foot-long line. Each creature in the line must make a Dexterity saving throw. On a failed save, a creature takes 10d6 lightning damage. On a successful save, it takes half as much damage. You can create a new line of lightning as your bonus action on any subsequent turn until your concentration ends, without having to spend further ki points. These lines of lightning vanish at the end of your turn.

  • Force Projection. As an action on your turn, you can cast Mislead by spending 5 ki points. Instead of the duplicate appearing where you are, however, you can choose to make the duplicate appear within 30ft of an ally you are aware of on the same plane of existence as yourself.

co.combinatorics – Can a generic rope exert the same force as a rope with loops?

This is a spin-off of my previous question. I will take a moment to reintroduce the notation. The problem concerns elastic “ropes” in $mathbb{R}^3$, which are modeled as sequences of points $gamma=(x_1,x_2,dots,x_m)$. A rope is supported on the union of line segments
S(gamma) := bigcup_{j=1}^{m-1} overline{x_jx_{j+1}} subsetmathbb{R}^3.

The $j$-th segment of the rope has direction
tau_j := frac{x_{j+1} – x_j}{|x_{j+1}-x_j|},

and the force $F_gamma$ associated to the rope $gamma$ is described by the vector-valued measure
F_gamma := sum_{j=1}^{m-1} tau_j (delta_{x_{j+1}} – delta_{x_j}).

This time I am curious about “generic” ropes $gamma$. We say that $gamma$ is generic if the points ${x_1,x_2,dots,x_m}$ are in general position. That is, the points are all distinct, no three are collinear, and no four are coplanar. In particular, no two of the line segments $overline{x_jx_{j+1}}$ and $overline{x_kx_{k+1}}$ intersect except when $j=k+1$ or vice versa (so there are no loops in $S_gamma$).

Question: Suppose that $gamma$ and $gamma’$ are two ropes with the same force, so
that $F_gamma = F_{gamma’}$. If $gamma$ is generic, does it follow that
$gamma’$ is also generic?

What I believe I can show is that, if $gamma’$ is not generic, it must have at least three loops. I would also be curious if there was a reasonable strengthening of the “generic rope” condition that satisfied this conjecture.

unity – How do I calculate the required force to launch an object?

I want to use a rigidbody AddForce() method on an object to launch it over from the enemy to the player, like throwing a ball at a target.

The problem is, I’m not sure how much force is required to use in the AddForce() method and it is taking too long to figure it out, and adding to that, the force would be different if I was farther away.

I found this helpful guide but it is not in 3D:

Could someone explain step by step in an easy to understand manner how to calculate the force required to get an object launched perfectly onto a target? (I’m not very good at math, haha…) Here’s some images from that thread that will help illustrate the desired result:

enter image description here

enter image description here

brute force – Why can’t Hash Suite list the username/hash pairs in my SAM file?

I recently started experimenting with Hash Suite Pro (v3.5.1). This is a Windows program that tests the security of password hashes.

A problem that I’m already running into is that Hash Suite is unable to list the username/password hash pairs in any SAM file I test it on. I’ve not even got as far as testing its cracking performance – it can’t even see the password hashes!

!(enter image description here

Does anyone have any ideas why my attempted offline attacks against a SAM file cannot even reveal the username/hash pairs? This is my first time using Hash Suite, so maybe I’m missing something basic here.

Any advice would be much appreciated!