If you mistakenly try to access a website with an unrelated username/password, do they record your logon data?

I use KeePass with auto-type, and once in awhile (when tired, etc.) I’ll accidentally launch a similarly-named entry’s URL and try to logon with the wrong U/P. This question is unrelated to KeePass per se.

I’m just wondering if attempted logons are recorded and logged by the “wrong” site, allowing site admins to see an unrelated logon which they might abuse.

What is the correct way of grabbing a RANDOM record from a PostgreSQL table, which isn’t painfully slow or not-random?

I always used to do:

SELECT column FROM table ORDER BY random() LIMIT 1; 

For large tables, this was unbearably, impossibly slow, to the point of being useless in practice. That’s why I started hunting for more efficient methods. People recommended:

SELECT column FROM table TABLESAMPLE BERNOULLI(1) LIMIT 1; 

While fast, it also provides worthless randomness. It appears to always pick the same damn records, so this is also worthless.

I’ve also tried:

SELECT column FROM table TABLESAMPLE BERNOULLI(100) LIMIT 1; 

It gives even worse randomness. It picks the same few records every time. This is completely worthless. I need actual randomness.

Why is it apparently so difficult to just pick a random record? Why does it have to grab EVERY record and then sort them (in the first case)? And why do the “TABLESAMPLE” versions just grab the same stupid records all the time? Why aren’t they random whatsoever? Who would ever want to use this “BERNOULLI” stuff when it just picks the same few records over and over? I can’t believe I’m still, after all these years, asking about grabbing a random record… it’s one of the most basic possible queries.

What is the actual command to use for grabbing a random record from a table in PG which isn’t so slow that it takes several full seconds for a decent-sized table?

DNS A Record going back and forth, 48 hours after changing

I’m moving a website but keeping the email setting for now, so I changed the A Record on the current ISP to the new IP provided by the new ISP. And it has been more than 48 hours the domain is still flipping back and forth between the two IPs.

I’ve kept an eye on it on https://www.whatsmydns.net/ but there’s no real progress in the last 24 hours – sometimes I get only 4 servers showing the old IP sometimes I get 12.

Contacted both ISPs, both suggested just to wait longer, but this is very worrying.

Also did another check and found this result http://tinyurl.com/uk45xz9

The old IPS is TSOHost – previously Vidahost, so don’t know if that’s the problem.

Any advice would be much appreciated.

How can I insert a record into a table that depends on a foreign key linking to a previous table?

Following on from this question. I have a dictionary file written in XML. I’ve written a program in VB.NET to parse this file and store all the data in Class objects, and now I want to write a subroutine to insert all of this data into an Access database. What I’m struggling with is working out how to use SQL to INSERT all of the data.

There are 20 tables, and the main table is called Entry, which all the other tables link back to. To give a simplified example of the data structure, there is also a Keyword table, which links back to the Entry. And there is the Keyword_Priority table, which links back to Keyword. Both relationships are one-to-many, as below:

enter image description here

My question

I can use SQL INSERT for the Entry table to create one record. But how would I then create a record for the Keyword table, referring to the primary key of the Entry record I’ve just created? And how would I then create a record for Keyword_Priority, referring to the Keyword record? And so on.

This is all going to be done through VB.NET – I can’t use Forms because there are 180,000+ entries to input. Is there any way to store a variable in SQL that I can refer to later?

Should I Record our online D&D Sessions?

Context: My D&D group, this past year, has made the transition from AD&D to 5e. This has been helpful for a number of things, but particularly for taking full advantage of modern resources like Roll20. We switched to the virtual tabletop when meeting in person regularly become increasingly difficult. Now we are able to meet bi-weekly, despite living in a few different states across the US.

One of those modern resources I’ve personally been hung up on, however, is recording. I’m the resident DM of my group, and although we occasionally have other campaigns, mine is the go-to. We probably stayed with AD&D so long because it was what I knew, and I am admittedly a bit of a traditionalist. Change has been good thus far!

Still, I favour note-taking a great deal. I like the engagement it creates, and that it creates a way for my players to refer to things they should know in-character despite perhaps having forgotten details over the weeks. I have a pretty solid grip on what goes on in my sessions, but it also lets my players catch something that maybe I have missed that they deem important, and want to investigate, despite my forgetting it.

On the other hand, I have found a resource that would allow me to simply record everything that happened in our roughly 4-5 hour sessions, and play it back perfectly as it was. This is fantastic! I have toyed around with it (GeForce Experience is the overlay) and used it already to create instant replays of boss fights, or something funny that transpired.

There are a few reasons I see recording particualry helpful:

  • It gives a “frozen-in-amber” snapshot of a session, which can be great for memories

  • it makes it easy for us to go back and check exactly what happened

  • it provides a way to let others watch what they missed in a session if they have to leave, or can’t make it

  • It could be a substitute for note-taking, so players can focus on the now and worry about notes later

  • my players could record the sessions anyway without my knowing, if they wanted their own recordings, so even if I personally don’t record they may still happen (I trust my players, but feel this is a valid point for anyone having this debate)

  • even with a recording, you capture everything, not merely the points you deem important. This may require note-taking anyway, because you can’t look at an mp4 file and know at-a-glance what you feel the important things that happened were

  • importantly, many of my players do not favour taking notes anyway, and their opinion is as valid as mine here

I have my concerns:

  • it could discourage note-taking, something that shows a willful intention to be engaged. I worry having recordings of exactly what happened may create less of a drive for this engagement, and I shouldn’t be punishing the players who are trying harder to stay on top of what is going on in the campaign

  • this program shows exactly what is happening on my screen, so players would see my notes (there are workarounds such as ripping out the video, which isn’t ideal but possible. Having another player record, which is less consistent. Keeping my notes on another monitor, which only partly works with Roll20–some info kept from them is inevitably visible on my end of the tabletop)

  • I like the traditional feeling of D&D, where everyone gets together, has a fun time, and is free to act how they want. I worry that with a recording, there will be less authenticity to that spontaneity. This could be good or bad–players may consider their wording more, their actions may be more deliberated over–but that might take away from some of the freedom that comes with playing with a group of close friends, not worrying about whoever else would hear you in the recording. (I have some shy roleplayers)

This last point is probably trickiest. The simplest solution would be to ask my players, but while the player in my group who DMs second-most intends to record his next campaign, the rest haven’t shared a strong opinion. I am familiar with the research that says people perform better when their recorded, and that’s fine, but I don’t want anything to feel forced. Authenticity is important to me.

A disclaimer: I have not watched any D&D podcasts, so this has not influenced my opinion for better-or-worse. I also suspect that playing for an audience deliberately is its own matter, and should be addressed in its own breadth. I would consider it off-topic for my question, where we have no intention at present of sharing these recordings beyond our group. I merely mention people may be shy or conscientious because there is a “camera” at all.

For those of you who have tried recording either in-person meets, or sessions held over virtual tabletops with programs to record your sessions, how do you feel it has affected your campaign and your players? Are my concerns valid, or am I stuck in the past?

What is the lowest level at which a human can beat the 100m world record (or: the presumed human limit) without using magic?

Optimizing a character build for fast movement in order to break the sound barrier is a well-tried source of fun with numbers in DnD. Such speed optimizations usually incorporate lots of magic and possibly additional help by allies. But I’d like to learn more about what the human body is capable of within the rules of DnD, so I’m more interested in what can be achieved without magic.

A high level Monk with two levels in Fighter and the Mobile Feat can still become ridiculously fast. If I didn’t mess up the calculations, he can run 100m in about 7.52 seconds: Use Action Surge and Step of the Wind for triple dashing to run 84m in 6 seconds, then double dash in the next round for the remaining 16m. This is even almost 2 seconds faster than 9.4s, which scientists think is the human limit (in our world, that is). But hey, it’s a Level 20 character, so becoming somewhat superhuman does kind of make sense in the world of DnD, I guess.

This raises the question: At what point in the game can human adventurers become superhuman without using magic? This is of course a more vague and general question (one could ask the same e.g. in the context of lifting strength), but let’s stick to running speed for the moment. So, my question in precise terms is:

What is the minimum level at which a human character can run 100m in less than 9.58 (or: 9.4) seconds and thus break the current world record (or: become superhuman)?

Constraints:

  • No magic.
  • No epic boons.
  • No UA (but any official rule book).

Let’s use the same approach as above, i.e. Mobile Feat + k squares Unarmored Movement + Action Surge + Step of the Wind. Since a round is 6 seconds long and a square corresponds to 1,5m, this strategy lets you run 100m in

$ $ t(k)=6+\frac{100-(48+6k)}{6+\frac34 k}$ $

seconds. Plugging in the possible values of k yields

$ $ t(2)\approx 11.333, \quad t(3)\approx 10.121, \quad t(4)\approx 9.111, \quad t(5)\approx 8.256, \quad t(6)\approx 7.524.$ $

Hence, a Monk 9 / Figher 2 is still more than half a second away from beating the world record, while gaining another Monk Level already makes her superhuman at a total Character Level of 12. Did I miss something? Or can one even do better with an altogether different strategy?


PS: A quick comment on the tricky question about Ki being magic: Since Ki is only used for Step of the Wind, we could add two Rogue Levels and achieve the same by taking the Cunning Action instead. However, this would raise the current minimum level to 14.

Record Header as part of Handshake messages on TCP/IP stack

I knew that the format of the TLS handshake message is as below.

“Record header+Handshake layer header+ Handshake message”

Now i have confusion while analyzing the TLS handshake messages on TCP. How the structure would look like from server in response to client hello.

Note:- Since TCP can handle segmentation i believe server hello,server crt ,server key exchange,server hello done can be handled can be received in segments and provide to tls.

There fore how does the raw date look like at the end of the all frames received till TCP ?

will be it be as below ?

Record header+Handshake layer header+Server hello +Record header+Handshake layer header+Server crt+Record header+Handshake layer header+server key exchange+Record header+Handshake layer header+server hello done

  or will it be omitting the record header ?? 

Record header+Handshake layer header+Server hello +Handshake layer header+Server crt+Handshake layer header+server key exchange+Handshake layer header+server hello done