« first day (369 days earlier)      last day (3946 days later) » 

00:04
@rolfl I'm almost going to bed and you say "Monking"?
it's always time somewhere in the world.
5
Apparently ;;0
I just realized, when I paste a share url, http://codereview.stackexchange.com/a/49183/23788, the last parameter is my user ID. which means everytime I chop it off to make a shorter url, I'm giving up a bunch of clicks for [badge:announcer], which was recently awarded for the first time
Oh, so I should be editing all those shared links to add my user-id?
00:22
@rolfl mod abuse! mod abuuuuse! ;-)
You have no idea of how much mod abuse goes on .... no idea ;-)
People think that mods are there to be punching bags, and that they can just be bad-mouthed, and insulted .....
But, we actually have feelings.....
@rolfl it has to be more complicated than that... I hope.
and, the abuse .... it hurts.
;-)
@Mat'sMug - I expect that the links only count if they come from remote sites (google, twitter, etc.) ... which are not places people can edit, anyway.
@Mat'sMug - also it has been awarded multiple times (58 times): codereview.stackexchange.com/help/badges/54/announ‌​cer
but only once, on Meta
(facepalm)
@rolfl that's [badge:analytical] - you mean [badge:announcer] :)
^^ that's [`[badge:announcer]`](http://codereview.stackexchange.com/help/badges/54/anno‌​uncer)
00:38
Jeff Atwood on September 09, 2010

We just rolled out three new badges to encourage sharing worthy questions:

Each badge can be earned only once, and each must be earned on a different question. Also, the tracked IPs must originate from outside our existing network.

So how do you share questions? I mentioned in an earlier post that we support a shorter URL form specifically for sharing:

http://diy.stackexchange.com/q/970/123

You can access the shorter URL form using the twitter and facebook sharing icons on public beta sites, or by right-clicking and copying the link conveniently provided under each question, on any site: …

Yes, it does not count clicks from internal pages. SO --> CR, Chat --> CR etc. So it's hard to earn that badge
Fixed link
And I will go to bed.
good night!
00:38
Night Night
Night (2:38 am)
01:07
@Mat'sMug that would be funny
I don't think I am going to get to work on it tonight though
Morning! (evening)!
01:22
Operation Improve Horrible Titles has already begun. I'm using Winston Ewert's answers to find (mostly old) questions with horrible titles that could use improvement.
02:11
0
Q: Updating a jquery progressbar via button clicks

ryanhagzI'm trying to get my progress bar animated. I'd like it to smoothly transition in between the starting and destination values, but only be initiated by clicking the continue button. The code I currently have works great, but when clicking forward or backward, it brings you directly to the values...

@CaptainObvious how aer you user # -263??
mod power
02:33
> More than once I deleted code that looked like this: foo.x = foo.x;
Only to break entire pages, because the side effects of that assignment were doing everything. Anyway, I hope you can all see where I was coming from now.
Context:
915
A: What is the best comment in source code you have ever encountered?

Tom Ritter //Code sanitized to protect the foolish. using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Web.UI; namespace Mobile.Web.Control { /// <summary> /// Class used to work around Richard being a fucking idiot /// </summary> /// <...

02:57
TTGTB
Goodnight
'night!
03:45
I've just posted C++11 answer #20, so I should be getting the tag badge tomorrow.
 
1 hour later…
05:05
0
Q: Algorithm to identify a shift and its type based on on and off times

ChathurangaFollowing code is supposed to identify a shift and then it should identify whether the shift is a night or a day shift. The method will take 'in time' and 'out time' as two parameters and these are the rules... Day shift - From 7AM to 7PM Night shift - From 7PM to 7AM(on next day) Employee shou...

0
Q: Using Class Array to determine Department Payroll in C#

proppagandaThis is for a class project. A company wants to see a printout of the gross payroll for each of its 7 departments. The output should be a list of the seven departments and the total gross payroll (rate times hours) for each department. I need to make sure to validate the input data. If a line of ...

05:44
morning
Morning
Good morning :D
welcome Nick, new here?
damn, -40 rep yesterday because setting a bounty :)
@jamal, when no answers are provided with a bounty you get rep back?
@chillworld: Yes, Is this the right place to ask about resources in learning programming?
@chillworld No, the rep goes away forever, unless it gets refunded beforehand.
05:50
@Nick in the chat you can ask explication.
@jamal refund it to me 1 hour before the deadline ;)
when no answers :)
@Nick On the main page, it's not allowed. You've already asked an on-topic question, so you get the idea.
0
Q: A UNION query returns no rows when one set returns no rows

Yousuf Ibn Akhtar SultanI have a set of SELECT statements which I am combining with a UNION, but I am not getting the expected result-set as an output. My first set of query returns certain no. of records but my second set returns no rows. And when I UNION the two queries, I should get those records that is returned by ...

@chillworld I should only do that if there's a good reason, such as if the question were off-topic. Bounties are for buying extra attention, not answers.
like that is off topic
@Jamal: i have no intention of littering the main with randomness like that. Rather, I'd ask here. Do you know of good resources for Javascript and C++
05:52
@Jamal I'm doing what I can, you are all nice voters here so at least I can do is sometimes setting a bountie on tags where we don't have much users in
@Nick I could provide some for C++, if you have some specifics in mind.
@chillworld That's still good. Just keep in mind that there are no guarantees with bounties. Heck, even if I were to raise a bounty, I would not refund it myself as that would be abusing my powers.
@jamal I know, th ebest thing we can do is trying to attract users :)
@Jamal: Just basics.
@Nick I have found this site to be pretty useful. If you're willing to look at books, this post is a great place to start:
4286
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

@Jamal: Thank you. You've given me a wonderful start :D
05:59
:-)
By the way, have you seen my answer to your one post on CR? It was sort of late (just last month).
2
A: java.util.concurrent bounded resuable resource implementation

chillworldWelcome to Code Review. You have posted an very good quality post and that's why it takes so long to get an answer. I have 2 minor remarks to make. First : if (maxUsageCount < 0) throw new IllegalArgumentException(); You do this check 3 times, I have no problem with that. But what if your m...

just made a edit, was thinking this morning I didn't check for AutoClosable
@jamal was that to me?
@chillworld No, it was to Nick.
k coffe time here now
@Jamal: Just did. (i==0)?cout<<"st":(i==1)?cout<<"nd":(i==2)?cout<<"rd":cout<<"th";was not meant to be read. You get the idea.
I see people squeeze little stuff like this in code all the time. It isn't that bad a practice is it?
Just because people do it, doesn't mean it's good practice. In general, code is meant to be read from top to bottom. In this line, you have to look very far towards the side. It can also look obfuscated, which is not a good sign.
06:07
@Jamal: lol, obfuscated. Ok, Ok, I think I'll make it switch case. Good Gos, i haven't touched this program in a long time.
You can start with that, and there may be a way to improve on that as well. I haven't been practicing too much C++ lately.
@Jamal: My computer's broke. It's always breaking and I don't get the time to do and learn stuff nowadays. I get the internet on my dad's laptop sometimes. I was wondering if there was anyway to code online.
There is Ideone.com
(C++ only)
@Jamal, @Yuushi: OMg, hug hug hug
06:14
Monking everyone.
@Jamal: Also, about using namespace std; ... What's the alternatine. Don't tell me I have to prefix std:: to every cin and cout O_O
@Nick That is still preferred, but you can also use using std::X for separate things. Just no namespace.
@Jamal: I was hoping I could do it in one line and get away with it.
For small programs, it's not too bad. It's just not good for larger ones, so you shouldn't make it a habit. I can tell you that I was the same way at first, but then I learned differently after spending time on this site.
Another option is to use namespace std but only in small scopes (like in a function). It's still not great from a pedantic point of view, but as long as you're mindful of potential name clashes, it's not the end of the world. I wouldn't do it myself though. You get used to using std:: much faster than you'd think.
06:19
True. :-) Now it just feels natural to use std::. I like knowing what is coming from that namespace.
Okay, I get you. :D
std:: ftw
@Jamal: Speaking of small programs. i have so many functions and modules. I have to seperate them and make it all clean. How do I like seperate the functions into different files like the pros do.
Yeah. :D There are some opposing views on this, but you'll get that with pretty much everything.
You typically have a number of head files (.h and .hpp) and source files (.cpp), and you #include header files in source files. It's usually discouraged to #include a .cpp file in another, but I believe templating is an exception (correct, @Corbin?)
If you're including it, it should be named as a header
@Vogel612 morning
06:24
Templates go in .h, .hpp, etc files
Right
(I've come to like hpp lately, but I still use .h sometimes)
.hpp all the way :P
I'm already switching to .hpp as I don't really bother with C code in C++.
@Nick The basic idea is to separate the declaration (void f();) from the definition (void f() { ... }). Headers contain the declarations, and then other pieces of code that need to know about the functions include the header. The actual function definition goes in its own .cpp file. Then you compile all of your .cpp files to object files and link them all together.
That way your pieces of code that know "there's a function f that has no args and returns void" can actually be matched up with the real version of f.
It's kind of hard to explain briefly, so hopefully that makes sense.
06:28
Isn't it just like interfaces?
Yeah, pretty much.
@Corbin: It pretty much makes sense. It doesn't seem like something I can do without a tutorial. do you know any? You seem to understand what I need to do.
I don't know of any, unfortunately. :(
Have you guys seen that Shift-Time question?
I really want to write a "Meet Alice" answer to that..
@Corbin: Can you atleast tell me what this process of fragmenting the code to make it cleaner is called?
06:32
@Nick you mean extracting methods?
I don't think it has a name. I'd probably call it separation of declaration and definition.
@Vogel612: I'm not sure, that's why I'm asking. Also, you sound cool.
thanks for that...
I am not good with C / C++, but I do some Java and C#...
the problem is, your "fragmenting" is a little unclear.
@Corbin: Ohk, I get you. So, I just define the functions in one file called file.h and then using the whole #include<file.h> I define the functions in my main file.
Yeah
06:35
Oh that sounds easy.
And all this time I thought there was some complicated mumbo jumbo that I had to do.
See, you make this all easier.
Thanks guys
I appreciate it
Big hugs for everyone
Migrate to codereview.stackexchange.com — Erwin Brandstetter 1 hour ago
Bye! :D
Another day, another misinformed SO user.
Bye!
@Nick If you're including your own header files, it should use quotes: #include "file.h"
@Jamal: Omg, If I would have exited a few seconds ago, I wouldn't have heard that. Thanks!
@Jamal They should really learn what is on topic here
wait a sec, SO meta I'm gonna post a topic
06:41
@Nick No problem!
0
Q: Migration to Code Review

chillworldCode review is coming known in SO. CR is happy about that. The only problem is that there are a lot of questions redirected to CR while they don't belong there. So I want to ask to the users who redirect questions to read our help center to know what is on topic. In a nutshell : Real code has...

Hope they will read it
Unfortunately, it will only be seen my the MSO community, most of whom are already aware. It's the main site-only users who are the culprit. They see something remotely about review (or not even about review at all), and they mention CR.
@jamal yes and no, some people there who doesn't knows it, do it now and they can warn other users for that, just lik eyour comment in the migrated question
always look on the bright side (of life)
and look it at the other side, commercial for CR :D
06:57
When it comes to SO, my tolerance is lower. :-/ Large site, and not everyone works together to follow the ways of the network.
07:13
@jamal I understand you but that comes only by those few idiots.
@chillworld Unfortunately, SO is large enough that even if the percentage of mis-/un-informed is small, it can still be enough to completely swamp a site our size.
Sometimes on SO I think it should require 2000 rep instead of 25 or whatever to comment :/
Then again, most of the people erroneously directing people to CR are high rep... lol
0
A: Dissallow users below some amount of reputation to post questions

chillworldI'll find this a terrific idea. By that you are shutting down a door for good users and also for bad users to improve themself. We can do review of first posts and late answers. The meaning of that is that we help new users to create good questions. It is up to them to learn from the review and...

@Corbin Didn't seem like it to me, but I guess definitions of "high rep" vary. I figure it starts around 100K... :-)
I consider anything under 2000 trivial, anything over 5000 actually beginning to accumulate rep, and I consider anyone with 10k or higher to actually at least vaguely be aware of the site's rules and way of working. In terms of actual statistics, the top 5% probably started at 50k these days lol.
07:26
@JerryCoffin indeed and if we don't do anything the swamp is just bigger
I guess it's just a matter of perspective since I only have 16k lol
0
Q: best practice in use of if statement followed by another

Janith Chinthanasuppose I need to use loop statement just after the if condition as bellow, if(true){ foreach ($arr as $value) { echo $value ; } } and also i can use if condition without brackets as bellow, if(true) foreach ($arr as $value) { echo $value ; } Both are execu...

And I always forget how insanely, ridiculously easy it is to accumulate rep on SO if you're willing to spew out shit rather than focus on community quality :/.
@corbin easy? I find it hard to get reputation over there or maybe I'm in the wrong tags
Well, it's not easy in that it definitely takes time. You can basically just go vulture on shit questions though and get guaranteed rep. Just find the crappiest question you can, and before you can close it, write out a quick answer. Works 85% of the time.
Like GIMME TEH CODEZ and LMGTFY type questions -- easy rep.
Just absolutely atrocious for the community... lol
07:30
@corbin well I just want to write substancial answers what can help other people.
look at this :
Ah well in that case you're going to have problems :)
That's good though. If only SO had more people who actually cared... :/
I am voting to close this question, as the code you provided is stub code. We only review real implementations. Also there is a lot of infomation on the internet and in other questions here. — Vogel612 8 secs ago
@CaptainObvious So much off-topicness.-..
1
A: Zk how to pass parameter from java code to zk page?

chillworldYou can do this : HashMap map = new HashMap<String, String>(); Boolean isManufacturing = true; args.put("isManufacturingKey", isManufacturing); map.put("isManufactringChecked",workflow.getEmergencyChange()); Executions.createComponents("/myZul.zul", null , map); create this controller : pu...

this is so frustrating
accepting his own answer of info provided by me
wat the heck..
Can we please close-nuke this question?
0
Q: best practice in use of if statement followed by another

Janith Chinthanasuppose I need to use loop statement just after the if condition as bellow, if(true){ foreach ($arr as $value) { echo $value ; } } and also i can use if condition without brackets as bellow, if(true) foreach ($arr as $value) { echo $value ; } Both are execu...

@Vogel612 It was already closed 3 minutes ago.
07:36
lo..
this should really also show up as a notification bar or somethign.-..
just like a new answer on that..
@Vogel612 It can be frustrating at times, but such is life I guess.
definitely..
what surprises me, is that there was actually an answer posted...
by a 3k user..
and fast ;)
oke Im going back to the coffe and do some sports
see you all in the afternoon
Seeing an answer isn't so terrible. Seeing it get two up-votes is depressing though. Especially when (for one example) my recent answer hasn't gotten any...
Anyway, almost 0100 -- I think I'd better go get some sleep. Later.
@JerryCoffin cough
Night!
07:50
@chillworld At least it's very, very heavily downvoted :/
Still net-positive rep though
@JerryCoffin I try to vote on all C++ stuff I see, but I don't trust my concurrency knowledge, so I tend to avoid anything multithreading :/. I suspect that's what happened with the usual C++ crew too.
I know no multithreading, either. :-/ I am hoping to learn about it in my upcoming parallel programming class.
0
Q: TCP connection not working properly when using iPhone as hotspot

WWJDI'm developing an application for iOS which is connecting through TCP sockets to a server aplication run on Android. In order to find the IP of the 2nd device I use a UDP request and receive the IP of the server. It's working well all the time when I'm connecting them to Wi-Fi network or when I ...

I feel like I stepped in the middle of a heated battle between two grampas, going on their entire life
chasing eachother across the internet
This might get funny..
What the hell is even going on there?
SO flamewars possibly incoming..
08:02
I predict a ban coming soon. :D
lol
the downvoters are coming, slowly..
They registered just to post that. Someone has a lot of built of frustration
aaand. It's gone ;)
08:19
@Jamal this should be a new Blue Cheesecake Monster Command.
08:44
Morning
Morning
09:23
0
Q: Is there a better way to code this

ccdaviesBelow are two functions. The first is to set a cookie. This function is called on any product page on my website. function setcookie() { $entry_id = $this->EE->TMPL->fetch_param('entry_id'); if (isset($_COOKIE['recently_viewed'])) { $currentSession = unserialize($_COOKIE['rece...

0
A: java.util.concurrent bounded resuable resource implementation

skiwiIn general it looks good, now going through the code to also see if it actually is good. 1. Exception messages Your exception messages should be made clearer, an example of them is at the constructor of ReusableResource. If maxUsageCount < 0 or factory == null, we get echoed the value of the va...

@skiwi nice one.
@Vogel612 My answers are sparse... But I tend to give ones with lots of points ;)
0
A: Algorithm to identify a shift and its type based on on and off times

Vogel612First Things first: Method Signature: public string IdentifyShift(DateTime inTime, DateTime OutTime) C# conventions state, that public methods should be PascalCased (check), and local variables, as well as private fields, should be camelCased (partly). Furthermore your calculations are not ...

q:a 2:40
Too bad I couldn't get more onto concurrency, but it is really low level
09:38
yea. I saw that one too and though. I have not the sligtest clue about what he does...
q:a 22:11
better hands off..
I wish to continue on my TCG soonish, busy times atm
well I restarted from scratch..
hoping to get my thoughs fixed...
well TTQtI
tI?
Those acronyms I don't get... to I...?
09:50
0
Q: Error when defining relation parent/child

user2350469I define the following class Node in order to get the relation parent/child class Node { public int Id { get; set; } public int? ParentId { get; set; } public string Operator { get; set; } public string Sign { get; set; } public Node Parent { get; set; } ...

@CaptainObvious offtopicvious
10:44
Monking @skiwi and @Vogel612
11:22
Monking all.
Monking @rolfl
Monking @SimonAndréForsberg and @rolfl
and everyone else
0
Q: Can people understand my code?

SalataI've just finished creating my java script but I want to make it public for beginner 'contact us forms'. I was wondering if I can have some peoples input if they can understand/ read my java script. Although I know my JS works it's better to be safe than have 20 people asking what this does, it's...

Perhaps in need for a better title?
0
Q: Can people understand my code?

SalataI've just finished creating my java script but I want to make it public for beginner 'contact us forms'. I was wondering if I can have some peoples input if they can understand/ read my java script. Although I know my JS works it's better to be safe than have 20 people asking what this does, it's...

@skiwi Of course it is .... fix it?
11:28
I don't know one though
That's why I put it here so it can get exposed to a creativity overflow.
@skiwi he doesn't know the isNumeric function in java script itself :)
I wonder if the OP understands the code him/herself
oh damn it isNaN
Time to Quit the Internetz @skiwi
time to get back in javascript :)
11:33
Currently in School
0
Q: Code for adjusting linelength

valenterryI wrote the following groovy function for taking a string of multiple lines (or any other character for splitting the code into parts), and bringing each line/part to a specified number of characters, cutting too long lines and filling up too short lines with a fill character: static final Strin...

@Vogel612 Ah, new acronym learned then
Good. Thanks for editing your question and providing a short description. Again, Welcome to Code Review! — Simon André Forsberg 6 secs ago
@SimonAndréForsberg about yesterday... you asked basically why I did things so complicated? What was your suggestion then
@skiwi When/Where did I ask that?
11:43
Somewhere yesterday late evening when I was gone
private Stream<EventHandler> getCopyOfEventHandlers(final Class<?> eventClass) {
    Class<?> clazz = Objects.requireNonNull(eventClass);
    Stream.Builder<Set<EventHandler>> builder = Stream.builder();
    while (clazz != null) {
        builder.add(eventMapping.getOrDefault(clazz, EMPTY_SET));
        clazz = clazz.getSuperclass();
    }
    return builder.build()
            .filter(handlers -> !handlers.isEmpty())
            .map(handlers -> handlers.toArray(EMPTY_ARRAY))
            .flatMap(copyArray -> Arrays.stream(copyArray));
'twasboutthis
I remember having asked you that before, but I can't remember I asked it yesterday
Well... I made the code yesterday and you didn't ask it today ^^
I think I understand why you do what you do better know.
I think I was wondering why you didn't use isAssignableFrom, but now I understand - it would be slower.
Today, I think your approach looks good.
Ah you meant looping through everything of the map, and then just testing on every key?
11:48
Ah yeah that would be inefficient unfortunately
yes, just realized that ^^
Any clue how I can debug JNI or JNA?
I would actually need to mirror some code in C++ to confirm it works there, but meh that was not really my intention
I've never used JNI/JNA
12:07
0
A: Can people understand my code?

chillworldHere I go, Take care that I can read javascript but its a whole time ago that I effectifly write in that. First : I see yo create your own isNumeric function. Maybe you can use the isNaN. Documentation over here. Second : You use twice this : ((k > 64 && k < 91) || (k > 96 && k < 123) || k ...

Now I'm off to home, got to get son off school.
see you later guys.
Here, we say: TTGTH.
And for the second part: GTGSOS
Later :p
@Morwenn LTR you must mean
0
Q: Readability of "Cookie Clicker Alpha" solution

abuzittin gillifircaI am trying to learn Clojure for some time. In my experience, it has been rather too easy to produce write-only code. Here is a solution to a simple problem with very little essential complexity. Input and output formats are extremely simple, too. Which means all complexity in it must be acciden...

12:36
0
Q: Generate html from json (most efficient way in jquery)

JohnI've to generate a lot of tables form different jsonfiles (up to 20 tables per page). Because it's a lot of data, i really want to keep loading speed in mind. I know it's better to use a non Jquery solution, but native is not in my skillset right now(not yet). $(document).ready(function(){ (f...

13:10
Hmm.... enum perhaps? thinking loudly
monking
Monking, Ben!
I hope the reviews are flowing with milk and honey this morning
I wonder if my model classes should support only one eventbus or multiple buses, I'm tending towards multiple
as long as you know that the wheels on the bus go round and round, and you don't want to get hit by the bus
pimping....SO answer
1
A: Using thread in loop

BenVlodgiIf we logically walk through your program we can figure out exactly what is going on. Create a place in memory to store a Thread object, we will call him newThread System.Threading.Thread newthread You create a new instance of a Thread object and place a refrence to it in the newThread variab...

13:13
@skiwi Why not let your eventbus support multiple classes?
I might also be able to add two eventbuses to eachother, but that might not be the best idea
@SimonAndréForsberg It does already
I wonder if there is even a benefit to supporting multiple eventbuses
@skiwi Would one eventbus be able to support both String events, and Integer and Hand events?
Yea
I'm in theory mode today...
Is setEventBus(EventBus) bad if it uses null to set exactly no bus?
I need to decipher a password that is stored like this 0x00... I don't even know what to search for, sad I know help????
@skiwi Doesn't sound so bad.
13:27
@Malachi Looks like hex
it's being stored in SQL table I was hoping there is a way that I can revert it to text, because for some reason it won't let me type that in....lol
@Malachi How is the rest of it stored? 0x00 doesn't say much. It is hexadecimal, but it's likely hashed/encrypted with MD5 or SHA1 or something.
@SimonAndréForsberg that is what is showing in the password field.... give me a second
0
Q: List with no sequential repeats (where possible)

Dave RookAssume I have the following list (List<string>) G G M T I'd like this to be in an order where the same letter will not occur twice, such as G M G T (I appreciate other variations would also suffice) Please note, if I had the following G G G G G M T Then of course some values will have to...

@SimonAndréForsberg it's a varbinary field
13:28
You can probably convert it to text, but it depends on how the rest of the hexadecimal is
CR google hexadecimal translator
@BlueCheeseMonster - you ready to be here?
no
CR unsummon
got it
well maybe
it has been running since yesterday sometime
Meh .... it's a tough one ... and I am providing resistance....
that's not because I don't like the concept....
but because I want it done right
13:31
I agree.
I want to try the ban user function, it could have two meanings. it is either ban a user from entering commands or ban a user from the room, but I don't see anyone in their right mind giving a bot room permissions.... I guess if you knew the bot well enough
There is no SE feature to ban a user...... but, you can kick a user......
A kicked user can re-join immediately.
it must be to ban a user from entering commands
there is only one owner at the moment (me) but I could add a couple when I get home.
I imagine that a person, with moderator permissions, or even room owner permissions, could automatically kick a user each time they join.
hence ban them.
right
is there another format that looks like that hex?
I decoded it and it didn't like it when I put it in for the password?
The 0x format password may well be an md5 hash.
13:36
@Malachi Was the decoded message readable? Can you provide any more hexdigits than 0x00?
I can give you the whole thing I guess, it's now an outward facing app.
Just a few example bytes, don't need the whole thing of course
wow I'm off for a bit, 32 messages
0x00862A then it goes ####{LEtter}####{Letter}
The point of an digested hex though is... that you can't (easily) reproduce it to get the password.
You know what passwords are supposed to do, right?
13:38
the password wasn't readable, but sometimes they do obscure passwords on purpose
@skiwi yeah but I didn't write the program or the user table
otherwise I would have the password written somewhere safe, in the case I fell into a coma
all #'s are digits I assume? And the letters are within the A-F range?
I don't see how you want to get it...
It could be almost any algorithm
Hi there...
@SimonAndréForsberg yes
maybe MD5 or SHA-1 or BCrypt have some charasterics...
Is there a salt stored with the password?
13:39
It's likely hashed somehow, the only question is how.
I assume it is a regulare SQL algo and there might be a way to undo.
@Malachi Exactly how many digits/letters are there, except for the 0x00 in the beginning?
It can also be hashed application-side
If it's MD5, then there can be a quite easy way to undo. I doubt it is as easy though.
The question whether there is a salt is also quite vital for trying to attack it
13:41
Indeed. I don't have much hopes of cracking it.
@SimonAndréForsberg let's run with this assumption
@Malachi How many numbers/letters is there?
14
after the 0x00
That's not much. And doesn't sound like MD5.
some of them are longer
13:49
How long?
I don't think the 0x00 has a meaning (unless there is a specific algorithmthat starts with that)
If you count the 00, then it's 16 in total
but they start out 0x1a or 0x9C or A7 or 70
The identifier for hex is just 0x
@kleinfreund - African Scops Owl (photo from Kgalagadi Transfrontier Park)
Anyone has ideas to keep classes seperated nicely? I have a package com.skiwi.tcg.events where the EventBus is located for example... But I also want to place my concrete events somewhere (like HandCardAdded)
I don't think it's a good idea to place both in the same package, as some classes only provide means, while others are the implementations
13:56
found some SQL to just change the password, think I am going to try creating a new user in the Table
@Malachi You can always generate a new password, but only if you know the algorithm which generated it... What you said earlier was more like you want to get the actual password, but you just want to be able to login and you have full database access
@skiwi Since your EventBus is flexible and not TCG-specific, why not locate that in com.skiwi.eventbus and then have your TCG events in com.skiwi.tcg.events ?
@SimonAndréForsberg How come I didn't think of that...
that helps a lot
No idea :)
That's more or less how I do it :)
@skiwi I need to figure out what this legacy app does, and the person that created it is deceased and hasn't worked here for years before that happened, I haven't been able to find the password for the administrator except in hex
13:58
(I don't feel much at the moment for completely seperating the eventbus out of the project)
but it looks like all the users have the same permissions, as there is no permission set here
@Malachi Do you have access to the source? Maybe some procedure in the database that is called like register_user?
@skiwi Why don't you want to completely separate the eventbus from the project?
@skiwi yeah, if it were only that easy...lol if this doesn't work that is where I will go. I am going to try the path of least resistance first though

« first day (369 days earlier)      last day (3946 days later) »