Questions tagged [prefixes]
47 questions
0
votes
2 answers
Can't get multiple prefixes to work with discord.js. How can I rewrite this so that it recognizes both prefixes?
the title is pretty self-explanatory. Tried messing around with diff iterations of the below code. This version recognizes firstPrefix, but not secondPrefix. I just want my djs bot to be able to recognize both prefixes and run the Args split…
0
votes
1 answer
How to subset spark dataframe by prefixes of the column names?
The column names of my spark dataframe df are: A_x1, A_x2, B_x1, B_x2, C_x1, C_x2.
How do I create 3 new spark dataframes from df by using the prefixes? The output should look like this:
dataframe named A_ contains the columns A_x1, A_x2,
dataframe…

Nele
- 81
- 1
- 9
0
votes
2 answers
minimal cyclic sub string in a bigger cyclic string
I am trying to find an algorithm that culd return the length of the shortest cyclic sub string in a larger cyclic string.
A cyclic string would be defined as a concatenation of tow or more identicle strings, e.g. "abababab", or "aaaa"...
Now in a…

Mortalus
- 10,574
- 11
- 67
- 117
0
votes
1 answer
Generate CSS browser prefixes in separately file
I'm trying to generate in Webpack two separate css sheets: style.css and style-prefixes.css with prefixes only. For now, it generate one file with all styles and prefixes. My loader in webpack:
scss = {
test: /\.scss$/,
use: [
{
loader:…

Bartosz Mediger
- 11
- 1
0
votes
2 answers
jquery selector with prefixes
This is my HTML code:
Grupa:
0
votes
1 answer
how do i add prefixes from when the bot was offline. discord.py
Every time the bot goes offline, and someone adds the bot, the bot doesn't automatically add the prefix from when the bot was offline. I don't know how to build something to automatically add that, any idea?
i get this error:
Ignoring exception in…

mmatt
- 41
- 7
0
votes
1 answer
Object name contains more than the maximum prefixes allowed
I have seen a lot of questions about this but I couldn't find the correct answer for me which works.
The object which triggers the problem is like
test123.de.company.com.Database.dbo.Table
Test123.de.company.com
is the database Server.
Object…

Chris
- 3
- 1
0
votes
1 answer
How can I add the same prefix to all instances of a list of words in Notepad++?
I have a large block of text, containing one or more instances of each of a list of words. I need to add a prefix to all instances of each word on the list.
Here's an example of what I'm trying to do -
List of words:
foo
bar
Prefix:
xyz
Text…

aforest-ccc
- 85
- 1
- 11
0
votes
1 answer
regular/notepad++ expressions
Basically, I'm struggling with extracting data and importing into a new field. Can this be done:
namewithprefix="PS4 | Call of Duty" namewithoutprefix=""
I want it to look like this
namewithprefix="PS4 | Call of Duty" namewithoutprefix="Call of…

Robert Smith
- 45
- 1
- 1
- 6
0
votes
2 answers
List of prefixes in haskell
I am to write a function which returns a list of all prefixes of a given string.
This is where I'm at so far.
prefixess [x] [] = [x]
prefixess [] s = prefixess [s] s
prefixess [x] s = prefixess [x, (init s)] (init s)
prefixes s = prefixess []…

Dystr
- 43
- 1
- 5
0
votes
0 answers
How to make custom url prefix in django
Have a little problem, tried to google it, but get nothing.
What I need:
Configure a URL for app in Django, like this:
/myproject/myapp/models.py
class MyApp(models.Model):
name = models.CharField()
....
/myproject/myapp/views.py
def…

Nikolay Babych
- 9
- 1
0
votes
4 answers
Random Array of username prefixes
Modifying my chat website and I want to add a random assortment of prefixes when people join.
right not the php code is:
define("ANONYMOUS_PREFIX", "user");
which outputs as: user9367 joined.
Here's what I want done, but I have no hope with…

user3492643
- 1
- 1
0
votes
2 answers
Duplicate namespace (prefixes) in RDF resource
I've a RDF that has multiple resources in it that I'm generating from my data model. Because each resource is added (concatenated) separately, I've multiple prefixes (when in N3). It looks something like this:
@prefix dc:…

Narayanan Krishnan
- 13
- 4
0
votes
1 answer
Modernizr.load() confusion with Yepnope
I'm more than a little confused about Modernizr and it's relation to Yepnope.js. As I understand it, Modernizr comes with Yepnope.js (assuming you select the Modernizr.load() option). According to the Yepnope documentation, there are optional prefix…

skube
- 5,867
- 9
- 53
- 77
0
votes
4 answers
memory dump using Python
I have small program written for me in Python to help me generate all combinations of passwords from a different sets of numbers and words i know for me to recover a password i forgot, as i know all different words and sets of numbers i used i just…

shaun
- 1
- 1
- 1
- 2