#dev-general
1 messages · Page 289 of 1
Using static variables and methods isn't a bad thing
lol
Abusing static is different
@tranquil crane do u know where I could go to see the api for such a thing?
you might have to use a custom entity for that but I'm honestly not sure, you can check the javadoc for a lead, somebody here can probably run the javadoc command for that, idk what the syntax for it is
ok, I'll try googling lol
I swear a Lead was an entity but I might be mistaken
leash_knot
Idk what lead is but i hate it
entity.minecraft.leash_knot
Omg it's been so long and Mojang still hasn't fixed the velocity issue that makes entities instantly die when they touch the ground
I have no idea where to go to find this stuff tbh
would it be something via spigot or bukkit?
Can we get 50k+ signatures on a petition saying we want multithreading, do you think they'd be willing to do it then?
Yes
lol
They won't do it
they're too lazy
Bedrock has far superior performance
Well yea no shit
In almost every way imaginable
There is a bedrock implementation using Aether Engine which is insane good
would be nice to see an MC client in rust
that would be good
yes
i would like that
@ocean quartz How close is chat to being finished
Hmm not too close, still need to refactor some stuff, do channels, do extensions, and a few other things
Hmm
the next thing closest to custom blocks without texture packs is maps on itemframes
and its actually not too bad
only thing though is just corners
which may look ugly
what are advantages/disadvantages of using '§' in codes?
^
if you use the thing you sent yougotta copy and paste every time
or
and im sure there are legitimate disadvantages too lol
alt + 2 + 1
Hmm
What I mean is, should I better use ChatColor in random messages?
there is
you get a weird A character
if you dont do it
and hello again
from the spigot discord
Hey
I actually never saw this
§bHello vs ChatColor.AQUA + "Hello"
I mean not even mojang uses it anymore lol
I see
Well they do, on bedrock 
i don't get it
d;spigot ChatColor#translateAlternateColorCodes
@NotNull
public static String translateAlternateColorCodes(char altColorChar, @NotNull String textToTranslate)```
Translates a string using an alternate color code character into a string that uses the internal ChatColor.COLOR_CODE color code character. The alternate color code character will only be replaced if it is immediately followed by 0-9, A-F, a-f, K-O, k-o, R or r.
textToTranslate - Text containing the alternate color code character.
altColorChar - The alternate color code character to replace. Ex: &
Text containing the ChatColor.COLOR_CODE color code character.
then you can use like &3Text
I know
If you use § directly you may get some weird ass encoding issues depending on a few factors
you mean, if a player sends something, to allow him to do '&cHello'
yeah the A weird symbol
format("&cstring")
So...
just make a string util for it, then wherever you need chat color use that util
Do you have any examples ?
public class StringUtil {
public static String colorize(String message) {
return ChatColor.translateAlternateColorCodes('&', message)
}
}``` or something
lol
then just StringUtil.colorize("blah")
I don't think we talk about the same thing
? What do you want then?
or
I don't really understand
do you know java
y
because its very easy to understand if you know any java

String s = "&bAqua";
Yeah
s.colorize();
no no you dont do it on the string
Oops yea
||?learn-java||
i personally use chatcolor cause im a chad
well in a way, I am learning
cap?
what is cap
?learn-java
Start with this -
https://docs.oracle.com/javase/tutorial/java/concepts/index.html
Breeze through this skipping stuff that doesn't seem relevant like bitwise operators-
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html
and then hit this
https://docs.oracle.com/javase/tutorial/java/javaOO/index.html
They're the first three from this larger thing - https://docs.oracle.com/javase/tutorial/java/index.html
Which you should definitely go through overall. But those three should be enough for slightly better understanding of wtf is happening here without feeling like a huge time sink
That one is a small part of this larger site - https://docs.oracle.com/javase/tutorial/index.html
wherein "Essential Java Classes" and "Collections" also have good useful stuff
If you want some online courses as well you should look at Coursera. They allow you to take courses for free. You won't get a certificate for them but at least you'll learn something. Some of the best courses for starter can be found here: https://www.coursera.org/specializations/java-programming
yes ok
?help
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
welp
wow what a great command list lol
=help
Various Commands for Barry.
• General Bot/Guild Commands
• Miscellaneous Commands
• XP and Level Commands
• ChatReaction Help
#bot-commands
#bot-commands
lol
damn
? is for faq = is for commands
lmao
.
lol were just looking around
translating color codes is just 1 line of code
wtf
I know
whats in the tutorial
but this
🤣
I don't care of his first code lol
I know I KNOW lol
Jesus fucking Christ my eyes hurt now
Author's response:
"The ting though is that for me, when I code custom abilities or items, the owner usually wants color codes that are not found within ChatColor. Also, using translateAlernateColorCodes means that when you send a player a message or whatever, you have to put that in for every message. Using this method, all you have to do is (colorize("string"))."

random stupid dude (||me|| but also ||!me||)
Isn't easier using ChatColor.translateAlternateColorCodes('&', STRING)?
- confused person
The ting though is that for me, when I code custom abilities or items, the owner usually wants color codes that are not found within ChatColor. Also, using translateAlernateColorCodes means that when you send a player a message or whatever, you have to put that in for every message. Using this method, all you have to do is (colorize("string")).
- author
omega kek
the owner usually wants color codes that are not found within ChatColor.
WHAT AHAHAHAH
WHAT
what the fuck
public static String translateAlternateColorCodes(char altColorChar, @NotNull String textToTranslate) {
Validate.notNull(textToTranslate, "Cannot translate null text");
char[] b = textToTranslate.toCharArray();
for(int i = 0; i < b.length - 1; ++i) {
if (b[i] == altColorChar && "0123456789AaBbCcDdEeFfKkLlMmNnOoRrXx".indexOf(b[i + 1]) > -1) {
b[i] = 167;
b[i + 1] = Character.toLowerCase(b[i + 1]);
}
}
return new String(b);
}
I'll use this code each time
?
instead of the method
||shhhh||
Curious though; what colors are you using if Bukkit doesn't support them? Bukkit supports all vanilla client chat colors.
I'm going to point out all of the "mistakes" that the code has; it's merely my point of view, so do not take it as an insult.
str +=str2 is horribly inefficient. Every time you run that statement, internelly, Java creates a new StringBuilder/Buffer and runs append("str2"). I suggest switching to a StringBuilder (StringBuffer if you're threading).
Why are you even going through all the characters if String already has a built-in replace()? It would be hypocritical to say this (since I do this sometimes without knowing it), but don't re-invent the wheel.
By using String.replace or your method, it automatically assumes that all characters are chat color characters.
- person
I like that idea as it is efficient, I might change the way in the thread, but still personally, I think that this way is a lot easier.
- author
lol
Hmm
lmao
WhAtAgreatRenAme
my name is perfection
you're wrong lol
Oh my god. Just use this.
public static String colorize(String message){ return ChatColor.translateAlternateColorCodes('&', message); } ```You are basically making life harder by using your method. It is not simpler.
- person
I know, I know
String s = (colorize("&bAqua&r&aButGreen&r&cText"));
why
wtf
do you have another ()
leaves server
Actually, I was imagining this
but
I kinda like here
stays here just to copy the discord
anyway
nevermind
if (copy)
{
}
else
{
help();
}
no
it would be
if (!copy)
if(!copy)
lol
DUDE
noiw
noiw
noiw
@forest pecan
yes quite hard to ping
@forest pecan very hard
shouldve pinged me james 🙂
well if you knew me you would know my actual username
true
@onyx loom
🌚
@forest pecan
not funny dkim
@pulse
@forest pecan
@@
=offtopic 🌚
Hehehehheheheheheh
lol
@burnt moth ping
;(
@forest pecan
@half harness
@burnt moth
@forest pecan
@forest pecan
@forest pecan
@forest pecan
@forest pecan
@forest pecan
&a@burnt moth_
hi
bruh you guys need to shut
no
hello
y
What is a loop ?
how is your day
what is java ?
a loop is what you find in cereal
A cup of coffee
yeah whats java
Java is a cup of coffee
Oh I get it
dkim explain to me how a loop can make your code better
tf is tha
java is a very good OOP programming language
no its not
yeah OOP i spilled my coffee!
its bad
and i oop
java bad
k
skskkssksksks
fun fact: java programmers drink coffee
loops are very good because it allows you to literate through something like a list or an array
fun fact: caffeine can actually kill you
Okay.
array?
Hey
i give up
@quiet depot gimme that boostah
@forest pecan Change your name please
😳
fuc
u know u gotta change it when a staff tells u to
🤣
not this again
I have to search for definition of documentation in the documentation to take a look at the documentation
what did fc say
hmmmmmmm
lol
nicknames have to be something relating to ur discord username
wait multi soon?
i pinged piggy to turn on my boost
@forest pecan
matttt
i think so
=decadely
pig aint coming on for atleast several hours 
something dumb
193 xp to go!
Damn what happened
lol
lmao
Spamming doesn't give xp
i live on the opposite side of him because i am in the united states of america. piggypiglet, also known as piggy or porky or bacon, lives in australia!
it wasn't my point
but I wanted to say too much things at the same time
ah thats a yummy 20xp
ur gonna get muted
BM v2
lol
Wait remember @obtuse gale
me?
BM got muted yesterday
nah
o

for saying no too many times in development

haha
If Barry mutes you I won't ask anyone to unmute you
lol when you say no too many times the bot mutes
lol
😳
🌚
are barry mutes perm
no
how long
5 inches
its like 10-30 mins
🥲
lmao
lol
oh thats chill
i imagine that increments if uve been muted before
this is #dev-general btw
its very developy
so 
=offtopic
we are talking about discord bots
yes
yeah
ah yea
we are
can someone share their token
They are muted until staff unmutes
Yeah
how much for my social security number
who unmuted efe when he got muted then 
ah ok
More relaxed area Hmm.
ill give ya $5
gotchu fam
lol
25565?
Hmmmmmmmmmmm
now dm me ur paypal and ip address
?
matt?
yea nvm
yeah?
what you need
@ocean quartz we need a #meme channel
u didn't send me ur papyal and ip yet
We really don't
we need music channel!|
wtf is happening here
lmao
That we do
yes 😭
crisis
but I can't send files
on topic development related things 🌚
hmm
is it me or on #805698757411995648 and #805698761442590730 half if you get paid 15$ for each bugfix
What?
nevermind
Okay.
dont u just love kotlin
yes
hey can anyone help me?
was using a filter then .count() on a list but just found out that count also accepts a predicate
with what @spark grove
installing a plugin
just put it in plugins folder?
i always do that with joinToString cause that takes a transform argument but I always map it first then joinToString lol
im using pebblehost and it is so complicated and i can't do it
built-into-website-that-is-included-in-the-web-interface ftp ™️
they also have a wiki
very cool
very cool indeed
a.k.a crapPanel
xD
for web hosting at least
crap-panel-web-hosting
cPanel bad
overpriced bloatware that gives people an excuse to not learn how to setup a web server or use the Linux command line
yeah I use a VPS
yea not you lol
imagine not using a VPS
☹️
people who pay for mc hosting
also, what's with do btw?
its like doing user.name = "james"
just makes u look cooler
oh nice
and yes it does make you cooler 
Makes it the current receiver type
YES
||pin it someone||
also, can you ever imagine having to make your own builtins to work with things
they're all like 3 lines
had to write sumBy to work with longs in this lol
ew
also, no one question the constant right under that btw please
lol
just map to Long and then sum
If you wanna have a good time https://youtu.be/YxOTU9F_YX4?t=847
In programming, as in writing, we can express similar ideas in a variety of different ways. Kotlin in particular often allows us to approach the same problem with several valid solutions. The ability to choose the best tool for your situation is powerful, but only if you have a way to identify which tool is indeed best for your situation.
In t...
you know I copied that straight out of the source for integer sumBy right?
whats the point
no conditionals necessary
blah.map(Int::toLong).sumBy or something
Just use an elvis
if expressions
since you check whether nickname is null
also, https://github.com/BomBardyGamer/bardybot/blob/master/src/main/kotlin/dev/bombardy/bardybot/BardyBotApplication.kt#L111 hacks.exe
nickname?.let { blah } ?: asTag
omfg
?
what
that's the same line you sent earlier
111
lemme get you the right one
https://github.com/BomBardyGamer/bardybot/blob/master/src/main/kotlin/dev/bombardy/bardybot/JDAFunction.kt now this is hackery
that only exists because of Lavalink's cyclic dependency problem
(which has now been fixed because of me)
lateinit 🥶
https://github.com/BomBardyGamer/bardybot/blob/master/src/main/kotlin/dev/bombardy/bardybot/components/JDAComponent.kt look here and it'll make sense
Lavalink depends on JDA, which depends on Lavalink
so Lavalink there uses the JDA function, and I can set it later when I initialise JDA
that was actually suggested by Frederikam btw, so blame him for that lol
oh, if you think that's bad btw
also, flame me for my obsession with runCatching .getOrElse instead of try catch please
might go back to this at some point
and just fix up shit like this
not sure i can
elara is using something very similar 😟
what does Elara use?
let result = try {
operationThatMayFail()
}
if result.isSuccess() {
blah
} else {
blahblah
}
ah
a try expression bundles the result into a Result
😟
yeah it's not bad
try/catch is pretty ugly
but the way I use it here just causes me more issues than it's worth
also, getOrElse on a List<String> is great lol

also also, https://github.com/bombardygamer/octo please flame me for this donkey coding
Executors.newSingleThreadExecutor().asCoroutineDispatcher() 🥶
how would u rate my code
oh you haven't even got to the CommandManager yet
wtf
2/5
i rate it a 1/5
Lol
not using build tools
because i got spoonfed the whole thing
why did you commit /bin
i am going to beat you to death
what is /bin
keep going btw
look at that commit date ;-;
like build
oh
im looking at that rn
why
idk why i committed that
wtf is this indentation dkim
Main
main class called Main
lol
because that definitely won't at all break if someone else has the same main class name
Main of what?
or at least, I think that's the issue
just leave
btw i was spoonfed the whole managers package 😛
dkim pro coder
dkim shit coder more like
this is back when I had 2 months of java experience
lol
what the actual fuck happened here
vim, vim addict
I mean, I've seen worse
one of my developers made a plugin that was dependency injecting BukkitScheduler through method parameters
yako fixed that luckily
die
get out
thrice
leave
this is hurting my eyes
lol
also, imagine having yako kindly volunteer for your team
u need to stop
hire me
prevarinite?
i will make plugins in clojure and go free of charge
no, I'm head dev on a Minecraft server
o
Prevarinite isn't what it used to be

idk how i was so bad at java back then
well, it never was anything
whatever happened to that
the horrid return false
I deleted the old Discord server
if you wanna keep going then go for it
(ns ezblocks.core)
im slowly chipping away at it
Clash?
https://github.com/Prevarinite/Chat this was back when Yugi didn't know what .gitignore was

🌝

you pushed .gradle, .idea and .iml xD
who jerry
Yea couldnt bother, was tired xD
jerrys the one who literally made half of "MagicItems"
never even tested it
he helped me a lot 🙂
Actually I think it kinda works
ah, uses Vault chat

I remember running it on a test server once
https://github.com/Prevarinite/Chat/blob/master/src/main/java/com/prevarinite/prevarinitechat/commands/CommandPChat.java#L10 okay yeah that's not gonna work lol
redis support?
xD
is this arrow code?
yes
yes
much of it
why do people do this
Because BM
dkim y do u hate urself
LOL
else if is a thing
yeah
because fuck plugin messaging amirite
how 😮
ah yes
That def works
Invisible code
😌
this plugin doesn't have Redis support
390 lines in Main.java
lmao
That plugin doesnt have any suppourt
I actually made one for the server I work on though that actually does
xD
Thats 1 day of work
Like what I did on the first day
...
WHAAAT
imagine the possibilities
😳
yeah, because contrary to popular opinion, a project like that doesn't take a day
https://github.com/dkim19375/MagicItems/blob/master/src/me/dkim19375/MagicItems/CMD/TabCompleter1.java is this a good tab completer?
monads in spigot 🥰
i still use it to this day
Wait, Haskell is jvm?
I'm tempted to do what my friend did one day and write a plugin fully in Python lol
Yea
@half harness thats fine
ok
HashMultimap<String, String> should be SetMultimap dkim
nope
but
it could be
with this power
and that means
you could write
How about
d;StringUtil.copyPartialMatches
That sounds cool tbh
public class Semaphore
extends Object
implements Serializable```
Semaphore has 1 all implementations, 13 methods, 1 implementations, and 1 extensions.
A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each acquire() blocks if necessary until a permit is available, and then takes it. Each release() adds a permit, potentially releasing a blocking acquirer. However, no actual permit objects are used; the Semaphore just keeps a count of the number available and acts accordingly.
Semaphores are often used to restrict the number of threads than can access some (physical or logical) resource. For example, here is a class that uses a semaphore to control access to a pool of items:...
This description has been shortened as it was too long.
Elara -> Haskell
spigot plugins in haskell!
qiufhqdiuqhdqiwuhdq
StringUtil.copyPartialMatches what does this do
Dkim come on
lol
🥲
d;StringUtil#copypartialmatches
streams 😐
#bot-commands
d;commons-text StringUtil#partialmatches
Smh
bruh
lol
lol
o
StringUtil
@NotNull
public static T copyPartialMatches(@NotNull String token, @NotNull Iterable originals, @NotNull T collection)
throws UnsupportedOperationException, IllegalArgumentException, IllegalArgumentException```
Copies all elements from the iterable collection of originals to the collection provided.
collection - The collection to add matches to
originals - An iterable collection of strings to filter.
token - String to search for
UnsupportedOperationException - if the collection is immutable and originals contains a string which starts with the specified search string.
IllegalArgumentException - if any parameter is is null
IllegalArgumentException - if originals contains a null element. Note: the collection may be modified before this is thrown
the collection provided that would have the elements copied into
Dude
bruh
d;spigot StringUtil#copyPartialMatches
@NotNull
public static T copyPartialMatches(@NotNull String token, @NotNull Iterable originals, @NotNull T collection)
throws UnsupportedOperationException, IllegalArgumentException, IllegalArgumentException```
Copies all elements from the iterable collection of originals to the collection provided.
collection - The collection to add matches to
originals - An iterable collection of strings to filter.
token - String to search for
UnsupportedOperationException - if the collection is immutable and originals contains a string which starts with the specified search string.
IllegalArgumentException - if any parameter is is null
IllegalArgumentException - if originals contains a null element. Note: the collection may be modified before this is thrown
the collection provided that would have the elements copied into
welp
y'all gotta chill with docdex
Test your commands in #bot-commands first, once you get the right one do it here smh
d;Spring
public abstract class Spring
extends Object```
Spring has 1 fields, 13 methods, and 1 extensions.
An instance of the Spring class holds three properties that characterize its behavior: the minimum , preferred , and maximum values. Each of these properties may be involved in defining its fourth, value , property based on a series of rules.
An instance of the Spring class can be visualized as a mechanical spring that provides a corrective force as the spring is compressed or stretched away from its preferred value. This force is modelled as linear function of the distance from the preferred value, but with two different constants -- one for the compressional force and one for the tensional one. Those constants are specified by the minimum and maximum values of the spring such that a spring at its minimum value produces an equal and opposite force to that which is created when it is at its maximum value. The difference between the preferred and minimum values, therefore, represents the ease with which the spring can be...
This description has been shortened as it was too long.
d;ok
It's supper spammy, it broke our lovely Haskell conversation 😭
wot
good
Haskell can eat ass
true 😭
haskell must not be discussed
^
where were we
#haskell
no
no bm
ew
halt
The disrespect
#cancelhaskell
onEnable :: () -> IO ()
I installed windows
di3e
its windows server tho
onEnable = .info getLogger "Hello World"
so less bloat
windows good
foolish fool spreading foolish thoughts from a fool
anyone who disrespects haskell is disrespecting me
:)
Haskell officially sucks
yeah ik haskell is gross
:]
void x() {
var runnable = new Runnable() {
Object o = new Null();
public void run() {
}
}
runnable.o;
}
this is cool
Writing obfuscated code?
lol
public class IIlllIIlII {
private lllIIIlIlllIllIlI IIllllIIIIlIlIIlI;
public lllIIIlIlllIllIlI IIIIllllIIIlI() {
return lllIIIlIlllIllIlI;
}
}
and maybe in the next 20 years enough systems will be running that version of java for it to be usable 
yeah indeed
lol
The button you don't have
do it
🤨
So close
🥲
thats much further than me lol
Seems it was because I forgot to import Data.List xD
putStrLn (intercalate " " res)
I had the output line
this seems hard lmfao
How does this look? (Logo is placeholder)
hot
hmm this is tough
YESS
xD
lazy lists tho
hmmm true
nah im not gonna get this
no time
i misunderstood the question for the first 10 minutes 🥲
wow

so simple 🥲
gn
Looks great imo! What are you using to make that?
i upgraded my mac to big sur and i saved up 60 gigabytes??
tf lol
what was taking so much space before
dkim
speak
lmao
you are unmuted
add the ram limits to vm options
program arguments
wait program arguments?
🤔
VM options
No space
spigot needs like a spooktober fest coding thing
like how mods have that every halloween
or something similar
No lmao
oh
@prisma wave can you explain to me what circular references are in java 
they are circular
this keeps throwing a stack overflow exception and idk why
Auction is a basic data class 
Im most likely gonna be removing the OfflinePlayer and switching it for UUID
Yeah, you can't really use most of bukkits objects in gson
You have to write your own adapters for them
Tbh it's mostly for learning React and some backend stuff, but I want to try turning it into something useful too
Something for handling messages and translations for plugins
Similar to Crowdin but free
Ah nice! Is that going to be a website?
Yeah
Sounds like a good idea c:
Also will make a gradle plugin to interact with its API, so when you build your plugin it'll dowload all the language files as json and add to your jar
That's pretty neat, will it be specifically for plugins or no?
Nah can be used for anything ;p
just seeing that image from afar you know it's a StackOverflowError lmao

Are you trying to just serialize an item?
I mean paper has ItemStack#serializeAsBytes() and ItemStack.deserializeBytes(byte[]) lol
another reason to use paper 
that includes all the nbt n stuff (I think it actually is the nbt)
Serializes this itemstack to raw bytes in NBT. NBT is safer for data migrations as it will use the built in data converter instead of bukkits dangerous serialization system.
lol
Does anyone know of any actual decent resources for learning JavaFX beginner -> expert? Preferably free
pretty much yeah, im deciding to take the most complicated root
Hotswapping always spams my console with errors :c
TriumphPets saving me with nms code as usual
No nms
eh whatever
So basically return new String(Base64.decodeBase64(itemStack.toString().getBytes()));?
Just for future cases, bentobox typically has a good implementation of the useful bukkit objects: https://github.com/BentoBoxWorld/BentoBox/tree/develop/src/main/java/world/bentobox/bentobox/database/json/adapters
might not need the getBytes but eh
if you use gson that is
Nay, you need to pass it through yaml configuration first

that doesn't actually save the whole NBT afaik
Tested with even the most complex nbt and it worked perfectly fine
even custom NBT? outside of namespaced PDC
Yeah
What would yamlConfiguration["item"] = itemStack be in java, my brain cant translate that
interesting
i felt like keeping a relatively small jar file so, java
yamlConfiguration.set("item", itemstack)
that makes logical sense
interesting
it converts others to base64 under "internal"
Yeah, seems to work with basically everything
Yeah it's creepy as fuck lol
So fucking unnatural
There was one that generated human faces and it was so fucking pitch perfect
lmao
'dependencies.dependency.systemPath' for org.spigotmc
jar should not point at files within the project directory, ${project.basedir}/../spigot-1_8_r1.jar will be unresolvable by dependent projects @ line 20, column 25
Some problems were encountered while building the effective model for com.github.pulsebeat02:v1_7_R4:jar:RELEASE-1.4.0
can maven fuck off?
and let me shade nms modules
that i reference the dependencies using jars to
just me or does it look like the bottom horse is giving the other horse's goodies a chomp
This one's pretty darn accurate https://thiscatdoesnotexist.com/
because literally half the internet is flooded with kitty pics lmao
lol
hmm. anyone using IJ + Git? I have a weird thing where it doesn't upload new made files. When I select which files to commit they don't show in the default changes list and I either don't see them or they're not in the Unversioned Files either. I'm assuming they're suppose to be in the unversioned files list?
oh nvm turns out they're there I'm just blind. well to be honest there's over 150 files there
yeah had to gitignore the .idea .gradle and build directories and now there's just the files I created. if only I could see sometimes 😦
"anyone using IJ + Git" no Blitz, just like 90% of the devs in here
Latest IJ has a default gitignore which get's created and it's useful af
fuck you
k?
I fucking posted a 2 page long question in the same line and all you see is that first thing. I understood if it were just that question but it wasn't.

Huh? Didn't you answer your own question or am I missreading it
would do something like that 
