« first day (1116 days earlier)      last day (3199 days later) » 

14:00
Interesting
possible answer invalidation by Sam Buford on question by Sam Buford: codereview.stackexchange.com/posts/129187/revisions
Zak
Zak
> Currently working with this code to be a quick automation of some tasks for senior staff members that are not very adept in Excel.
Boy, that sounds familiar ^^
Can we give give him some upvotes: codereview.stackexchange.com/q/129187/81541
Your twin?
Zak
Zak
More like past me.
That answer of yours, is that advisable on all macros or should it only be used under certain circumstances?
Zak
Zak
14:07
@Mast As long as you make sure the application settings get reset, it should be applied every time code runs (though generally only once at the very beginning, and once at the very end, as opposed to for every single sub-Method).
-1
Q: How to get 1st working day to 22nd working days in two dates in start ,end dates array using c# looping

rajanramachaHow to get 1st working day to 22nd working days in array using c#

0
Q: How can I refactor this method to reduce the number of required parameters?

SylveracI posted the following question on Stack Overflow but it was suggested that I post it here instead. I'm writing a console application that will look through a directory and move any log files that have a date modified older than X days (configurable in the app.config file). The problem I'm havi...

0
Q: Refactor usage in method of two functionally 'equivalent' classes without matching implemented interface

Kevin CruijssenI think I'm on the correct stackexchange for this. We have working code, but we want to refactor it. We have two of the exact same methods, except for one difference: one uses the org.hibernate.Criteria and the other org.hibernate.criterion.DetachedCriteria. These two do implement a mutual interf...

@CaptainObvious HAMMERTIME!
As in, really, get out.
Zak
Zak
> Just make sure to restore them at the end of your sub, and/or if your method encounters an error and stops, else your senior people won't be able to use Excel afterwards and will blame you for breaking it.
Spoken from experience
> else your senior people won't be able to use Excel afterwards
> else your senior people won't be able to use Excel afterwards (they couldn't before, but now they can blame you)
FTFY
Zak
Zak
14:16
There's a difference between (can't do advanced stuff in Excel) and (you turned screen updating off, so Excel literally won't work until you turn it back on, in the VBE).
@DanPantry lol
for a moment then i thought you meant that you literally turned the senior's screen off
that would be quite interesting
it'd be like some kind of impromptu Excel nap-time
Zak
Zak
Nah, Excel just stops re-drawing the screen, so it looks and acts pretty broken if you've never encountered it before.
i prefer rooks
14:19
@CaptainObvious this could actually possibly be okay for SO
as is it's maybe a little clumsy to be asked here
@DanPantry bishops
@N3buchadnezzar After playing some games with friends I didn't want to go to bed, hope you like a 2AM review ;P I wanted to make it stupidly iterator based, but then I remembered Python's not functional, ): Should be helpful with the imperative way)
@Vogel612 a great place for the lgbt community. Oh, you said bishops and not bi shops. /lame joke
Zak
Zak
@DanPantry That's lame. Even by your standards.
2
@JoeWallis It really was =) Not sure about your last suggestion about putting the is_product_of_two... into the other function though
@Zak it was even lame by Jeroen standards
3
14:21
@Zak I hope there isn't a keyboard shortcut where you can accidentally trigger this.
Eg I have always heard it is good to split the logic.
¯\_(ツ)_/¯
@N3buchadnezzar As I said IMO you duplicated your logic. I probably didn't explain it well, :/ I'll have to add that when I get the chance
The pun, it's killing.
@JoeWallis Yeah, I saw that. The name was always idiotic :p
14:23
@N3buchadnezzar Splitting is good. Duplicating is bad.
Zak
Zak
@Mast There isn't. It's a setting that only makes sense in (and hence can only be accessed via) VBA.
always = also
Good. Very good.
You never know with Windows products...
Zak
Zak
@Mast Windows are pretty good about preventing typical users from breaking things.
Whenever I'm using Windows, it always feels like there is a pane of glass between me and my code.
14:25
s/pane/pain/
@Mat'sMug a pane of glass is a window
> tfw the pun is so bad someone corrects your spelling
I was referring to the pain I felt reading it
3
you know what cures pain? well, you know, they say an Apple a day keeps the dr away
<:
14:27
it also keeps the wallet empty they say
@DanPantry urk... Make that a Linux. You don't want to imprison yourself
shhhh you're American you should be used to paying out the ass for medical care
@N3buchadnezzar I think get_greatest_divisors would work. But if you wanted to keep it it's own function I'd remove the optimisations, and make a generator for all divisors. And take one. So I just left it the review was long enough and is roughly everything I'd change.
I'm done with puns.. for now....
@DanPantry I'm in North America, but I'm not "muhrican". Made with pride in Quebec, and frenchie since 1982. We have state-provided medical care, free costs me half my paycheck
4
14:29
@JoeWallis Yeah. I loved it. Gave me lot of food for thought for future code =)
I guess one could squeek out some better optimization... But then as someone told me: if you are looking for speed, why use python?
@N3buchadnezzar idk man, i don't think you've ever seen how fast a snake can move
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.com and should be migrated — vp_arth 57 secs ago
they can move pretty fasssssssssssssssssssssst
@DanPantry I do not C what you mean
So you do not C#?
14:33
I do not even..
So you like the D?
.....
Are you a Java developer by chance?
@DanPantry Python. Is. Not. About. SNAKES!
Zak
Zak
@CaptainObvious New guy's gone HNQ
well... pimping sometimes does that
14:35
Even though it already has an accepted answer.
The D programming language is an object-oriented, imperative, multi-paradigm system programming language created by Walter Bright of Digital Mars and released in 2001. Bright was joined in the design and development effort in 2007 by Andrei Alexandrescu. Though it originated as a re-engineering of C++, D is a distinct language, having redesigned some core C++ features while also taking inspiration from other languages, notably Java, Python, Ruby, C#, and Eiffel. D's design goals attempt to combine the performance and safety of compiled languages with the expressive power of modern dynamic languages...
take look on this source exempleYazid CHERIF 6 secs ago
Finally, back online
Monking everyone
Monking
recursiveprogramming has it's pitfalls
14:47
You really shouldn't use your own salts on password hashes and you really should use PHP's built-in functions to handle password security. Make sure that you don't escape passwords or use any other cleansing mechanism on them before hashing. Doing so changes the password and causes unnecessary additional coding. — Jay Blanchard 20 secs ago
The pitfalls of recursive programming are the pitfalls of recursive programming.
4
0
Q: Parallel integer tree sort algorithm in Java

coderoddeIntroduction In this post, I will present a parallel sorting algorithm for sorting primitive integer arrays. Treesort Treesort is an algorithm which iterates over the input array and constructs a binary search tree from the array components. As soon as the input range is processed, it traverse...

@Mast it is about sparrows and the Knights of Ni
There are only 3 hard things in programming: cache invalidation and off by one errors
14:52
@Mast It's better pitfalls of parallthan the el programming
Mar 11 at 15:21, by Mast
such conditions, Race PITA. to debug a
0
Q: Simple Hangman game in Python (Begginer)

deathgeo888I'm a noobie in programming so I've made a simple hangman game in python and I'd like someone to tell me how I could improve the code. Thanks! edit: How could I do it using classes? from sys import exit def makeGallow(gallow): for i in range(8): gallow.append([]) ga...

0
Q: `new Function` for json reference

randyI have JSON with references to other parts in that JSON file. json: { "target": "['first']['second']", "first": { second: 'hi' } } I want to access that reference from JS. Right now, I execute the following: referenceToObject(json, reference){ return (new Function( ...

We keep saying there are only a couple of things hard in programming, but let's be honest.
There's a lot of hard things in programming.
Zak
Zak
15:09
@Mast Also, the first rule of tautology club is the first rule of tautology club.
Brick jokes
0
Q: Rock-Paper-Scissors (etc) with encapsulated business logic

Roddy of the Frozen PeasOverview The following is an attempt at a Rock-Paper-Scissors (etc) game that has its business logic encapsulated in a rules engine. For the purposes of this exercise, I kept all of the business logic (eg what-beats-what and the "verbs") in a JBoss Drools engine. This application doesn't have ...

15:27
@Vogel612 I used to be an adventurer like you, but then I took a brick to the knee.
gets lost
Zak
Zak
Wow! Amazing how such a simple thing like stopping excel from making itself its own worst nightmare of constantly updating makes this code run infinitely faster! Fantastically simple answer to what I presume is also a fairly simple question. Many thanks to you and everyone else that stopped by! — Sam Buford 39 mins ago
^^
Easiest 65 rep I ever earned
Zak
Zak
@DanPantry 85 *
David Haney on May 24, 2016
At Stack Overflow, we're committed to making the internet a better place, and our products aim to enrich the lives of developers as they grow and mature in their careers. This week we have been given the opportunity to expand our reach beyond developers into another worthy demographic: foster youth.
15:39
@StackExchange u wot
Hi @sam Buford. I'm you in about a year's time. If you'd like some general VBA advice, please feel free to drop by chatZak 2 hours ago
@Zak your chat link is broken?
it's a recursive link
Zak
Zak
@Mat'sMug Aw, crap.
was that supposed to point to VBA Rubberducking?
or the 2nd?
15:41
I recommend you put your new code up for review. There's a lot of other things that you should get into the habit of doing. — Zak 14 mins ago
I like how your intro to the new user is, essentially
"Welcome to Code Review. You've been doing it wrong."
15
@DanPantry This is basically our motto
:D
I should have submitted that for the swag tagline
2
0
Q: My code writes a hiveserver2 query result to CSV with python using pyhs2

anshannoI am trying to create a small application that will help me extract data from Hadoop via hiveserver2 by simply writing it to CSV. At the moment, it takes about 40 seconds to pull 10,000 records from a hs2 table consisting of 500k rows with 203 columns. I would like to think that there is a faster...

Zak
Zak
@Mat'sMug I figure always best to point to the 2nd first, so they know where it is.
yep. or to your own answer, so they know where to vote ;-)
5
15:45
Good heavens will you just look at the time
@DanPantry It's hungry:hungryhungry
@syb0rg now all we need is some hippos
@DanPantry I was thinking monkeys
@StackExchange How's that relevant for anything SE? Are they lacking promotion or something?
@Mast the SO blog is not solely for SE stuff
@DanPantry I should put that on a mug.
(They're tooting their own horn)
Though, as @Vogel612 said, it's not just for SE-related stuff
(Remember: They also posted about gay marriage on there IIRC)
@DanPantry Really?
@DanPantry nope, that was Meta
@syb0rg I may not RC but IIRC.
15:55
@Vogel612 Why the heck not?
@Vogel612 Link? I'm curious what they'd even say
@Vogel612 oh, even better.
They changed the Stack logo to a rainbow site-wide, @syb0rg
@DanPantry Yea, they even painted the SO logo rainbow.
So I imagine the meta psot was about that
Caused a bit of commotion.
15:56
I must have been busy and not very active at the time
It had quite a bit of fallout because some people who were totally not against gay marriage disliked SO being used as a political platform
Which is fair enough, I suppose
In fairness, SO shouldn't be used as any platform except for that what it got founded for: helping developers do developey things.
SO, I agree with (if you said SE I would have disagreed)
1584
A: Can Stack Overflow and Meta's logos be changed temporarily to the "#LoveOverflows" logo?

Joel SpolskyI am in favor of this. We wouldn't be doing it to promote social causes, nor would we be doing it to hitch our brand-wagon onto a popular cause. We're just doing it to celebrate how fast the world is moving towards acceptance of gay people. I'm the CEO, co-founder, and inventor of Stack Overflo...

At the same time, it's their company, their logo, they get to do what they want
Some people actually tried to argue that by having the rainbow stack logo, that Stack was implying that users endorsed those political beliefs and made a very lengthy disclaimer about it
The amount of mental gymnastics that took.. shudder
15:59
Ah, yes, Ben.
I'm glad I didn't have to name-drop..
Ah well, I'm glad CR tries to be politically ambiguous.
CR on politics: "We don't care. Take it to The Nth."
6
TTGH.
Pretty much
@Mast meh. While we're CR we understand that political discussions can be threatening the health of interpersonal relationships on site, so we discourage them. Same goes for all other holy wars, because that's what politics basically is
@Vogel612 "What? CR can't tell me what bathroom to use?!"
16:06
right.... nth, if you please :D
jrh
jrh
hi RubberDuck (if you're here): so you're saying it would be easier to read/maintain if I just implemented the class hierarchy of the game and then reflected properties?
@jrh Ping him for a faster response, just like I'm doing to you with this message
@jrh use @ to ping someone. if you don't ping they're not going to get the message :)
jrh
jrh
@RubberDuck (if you're here): so you're saying it would be easier to read/maintain if I just implemented the class hierarchy of the game and then reflected properties?
don't hold your breath, he usually pops in for a minute or two during lunch or after work, just to say hi
jrh
jrh
16:17
no problem, I've only got a few minutes during lunch too
0
Q: Given a holiday object, how can I use it's start and end dates and location to find all holidays that can be merged together?

RickI have a SQLite database that only contains the holidays for 1 user. I have a new Trip object (newTrip) that has a StartDate(long unix time) and an EndDate(long unix time) and the trip Iso3Code(string) for the location. I need to retrieve from the database all existing Trips that can be merged ...

he'll see the notification though, and will probably respond
@CaptainObvious merging holidays? do it wrong and you end up with Christmas vacation lasting all the way to Easter Monday
@Mat'sMug I assume that the actually intended meaning is Vacation
probably
Greetings, Programs.
16:33
@jrh I'm saying you re-invented the Object without any of the benefits.
So, yeah. I guess I am.
hi @RubberDuck!
@Donald.McLean Being watched?
Better to post code review on codereview.stackexchange.comchux 48 secs ago
16:52
0
Q: vba code to show text in text box from a given range

AmitI am new to VBA world, i have assignment to short text according to alphabet, like if i type a then it will populate all words starting from letter A. It will pick these items from Range(A1). Can be use text box or can we use Drop down. Please suggest and help me to write a code. Thanks

0
Q: Allocate a contiguous block of memory

MichiI try to work with a contiguous block of memory, more over I try to create an array who's dimensions are not known at compile time (before C99) so no variable-length arrays are involved here. I came with the following: #include <stdio.h> #include <stdlib.h> int main(void){ size_t row, col;...

@SimonForsberg I was watched last night.
Off to lunch
0
Q: Copy, Paste and Format 2.0

Sam BufordThis is a follow up with revised code, see the original question and subsequent answer in the following link (Copy, Paste And Format) This is a full version of all three "Macros" or subs within the workbook that I'm currently working with. I hope to use much of this as a reference in future auto...

17:13
0
Q: Excel VBA - Copy multiple worksheets to other existing worksheets

charlie_bI have 10 subsidiary company P&Ls that I report on a weekly basis. At the end of each week I want to rollover the file into a new week by copy-pasting each of the P&Ls into already existing separate sheets (i.e. I copy the sheet named "company1" to an existing sheet named "company1-prior week", ...

@syb0rg That's an outstanding question on the Nth that never got fully answered to my satisfaction.
2
in The Nth Monitor, May 4 at 17:00, by 200_success
Five hours later and still no update?
This would be a good candidate for codereview. — Cory Shay 17 secs ago
@Mat'sMug Hi!
HE'S ALIVE!!
Have I publicly cursed Matlab yet today?
17:24
lol
grumbles
jrh
jrh
@RubberDuck hypothetically would reflection still be the best practice if some property names were not valid C# property names (i.e., they contained spaces, etc.)?
also this is not relevant for this case, but for another program the property names might need to be translated
not saying what I wrote would be easily translated either btw
0
Q: Beginner: Euler 3 With User Input and Full List -- Refactor

Joebot777Just started teaching myself to code a few days ago using the Euler problems. Finished 3 using user input. Just want feedback and code cleaning from someone who knows better than I do to help me progress. import math #What is the largest prime factor of the number 600851475143? n=raw_input('En...

jrh
jrh
I just noticed this stackoverflow.com/questions/14268390/… , this is cool and helps close the loop somewhat but I'm not sure how to implement that if I had to translate the user friendly names.
17:52
http://www.commitstrip.com/en/2016/05/24/training-the-newbie/
CommitStrip
Training the Newbie
CommitStrip
1464111752
fatal: unable to access 'https://github.com/ShipsWithCannons/Rosalind.git/': Couldn't resolve host 'github.com'
Uhh....
Internet is having the craps.
0
Q: Creating archive from over 2GB of files in less then 1 minute

13aalThis is a follow up to this question. I got some very good answers for my process speed, and wanted to go ahead and share what I've done with the program. The new updates of the program consist of the following: Put all the information handling into it's own class Changed the way the filename i...

jrh
jrh
so yeah it looks like the property grid more or less does everything I wanted to do, including translation; it sounds silly now but I thought that was MFC only for a long time
in response to the first code block with many activates and selects, that was indeed macro generated, and i have made an edit to simply inform people that this is the case, currently that sub deletes 11 columns in a nastily formated raw data sheet — Sam Buford 2 mins ago
> @SamBuford cough this is the CR community ;-)
@jrh if you're concerned with how it's displayed to the end user, that's what data annotations are for.
18:05
possible answer invalidation by Sam Buford on question by Sam Buford: codereview.stackexchange.com/posts/129211/revisions
jrh
jrh
@RubberDuck yeah, I found out about those a little earlier, then the property grid / resx implementation showed by this codeproject.com/Articles/4341/… pretty much made my string lists unnecessary -- good, I never liked having to maintain those string lists
I didn't know you could sync data annotations with a resx file
getting close =)
@200_success This guy seems to have some sass: codereview.stackexchange.com/questions/129207/…
Or maybe I'm just reading it wrong due to poor sentence construction
that is that hard that to that read that with that all that these that that in that
to create an array (2D) whose dimensions are not known at compile time Either it's 2D, or it's unknown. How many dimensions are we talking about and do you know so by compile time? — Mast 9 secs ago
I think he means size.
Ah, ambiguity, drives me crazy.
18:17
> Say what you mean, mean what you say
Technically size is a dimension.
@Mast s/size/length/
Language barrier!
at least that's how it's called in C#. the length of an array.
In C it's a bit odd.
There's sizeof(), but you usually call it length.
18:22
ooh nasty
I cleaned up the comments btw, OP edited
len is a common variable name for the size of the array.
@Mat'sMug Shoot I don't even have time to reach 6K yet, much less 50.
@Mast sizeof(array) != length(array)
Drink some ginger ale: "A wild sneeze appears!"
@syb0rg Right, they both exist.
For bonus sh*ts and giggles.
18:26
@syb0rg Is it length = amount of items in array, size = memory usage of object? That's what I thought it always was...
@Mast Length(array) == (sizeof(array)/sizeof(array[0]))
@JoeWallis Correct
Is length a c99 feature by chance?
A method? No
There's strlen() for char arrays I suppose...
Damn I remember one thing from C at least, :)
@syb0rg What if array[1] is a different size than array[0]? ;)
18:28
@EBrown Not possible in C
Unless maybe with a void*?
But I doubt you could manage that
@syb0rg Hence the ;).
@EBrown Well other languages do allow that haha
IIRC (and it's been a while), in C an array is just a root pointer, and accessing element n simply advances the lookup position on memory by n * sizeof(array[0]), correct?
@syb0rg We could ask the PPCG guys.
Actually, that's not true.
It doesn't use sizeof at all, it uses the compiler assumption of the type, and whatever size that type is.
18:32
@EBrown Yep, that's right
@Mast They'd probably find an obscure way
Maybe it's possible with unions?
18:46
If you have correct code you could ask on the codereview pages of StackOverflow. Even there I would ask specific questions, format your code to the best of your abilities and - of course - do away with the " bla bla bla bla bla bla bla bla". If you don't take things seriously... — Maarten Bodewes 38 secs ago
@syb0rg Perhaps by modifying the array after initialisation by cheating in asm.
This answer deserves more votes, I think: codereview.stackexchange.com/a/128949/42632
monking!
I don't suppose there's anyone who knows Matlab in here is there?
@RubberDuck Hm?
It's been a while but I may be able to help
0
Q: How to catch TargetInvocationException raised from .Net BackgroundWorker in Matlab?

RubberDuckI am writing a small application in Matlab using GUIDE. This application calls on a .Net library. The library connects to a serial device. Using a BackgroundWorker, the library polls the port for new data, and raises an IncomingData event whenever a new packet is received. (I know this because I ...

I'm rather desperate. Don't know what else I can do.
19:02
you could set the server room on fire and run away screaming
...but don't do that
Wouldn't help. Code's cloud hosted.
Set the cloud on fire?
Not a bad idea.
@RubberDuck Why aren't you using getReport() in the catch of the exception?
Also, maybe you would want to use the MException class? idk
And are both your architectures for C# and Matlab set to 64 bits?
@syb0rg because I never heard of it?
19:17
@RubberDuck Ah
I don't know about the bitness. I know Matlab is 32 bit. Not sure what the library was compiled with.
Make sure they match, I don't think it's the issue but it's good to rule stuff out
I'm set to Any CPU at the moment. I'll try compiling as x86
@syb0rg that's awesome, and I'm going to switch to it, but my catch never catches anything atm.
Hey @MartinR
@RubberDuck We may have to fiddle with some settings within the function, but I want to see how it works for you right out of the box
You might want to add the 'extended' parameter
No dice. Matlab just crashes.
19:26
@RubberDuck The entire application?
Yes. The entire application.
I was just joking here at the office that I can crash matlab on demand.
Hm, maybe try to write the exception to a file and flush it... see if we can beat the crash
Probably not but worth a shot
I can't. It's totally bypassing my code and going straight up the call stack to the .Net framework.
Cross-posted on Code Review codereview.stackexchange.com/questions/129155/…. (at least for the Java part). You should declare that up-front. — Tunaki 50 secs ago
0
Q: Improvements in user leveling system in PHP?

vitozevI'm working on interactive project where we will have predefined levels (let's say 5), and each level up will unclock different features throughout the site. This is how levels will be gained: Level 0 - When user registers. Level 1 - When user confir his/her account. Level 2 - When user watc...

19:30
@RubberDuck This seems odd to me, maybe try and contact a Matlab dev?
@RubberDuck can you handle the exception in the .net code?
Sure can @Mat'sMug.
try
{
    Application.Run(new Form1());
}
catch (TargetInvocationException exception)
{
    System.Windows.Forms.MessageBox.Show(exception.InnerException.ToString());
}
In static void Main().
I'm reaching out to my network @syb0rg. Thanks for trying mate.
and that still crashes?
@Mat'sMug absolutely does.
@RubberDuck Sorry I couldn't help more, but despite all the mistakes I made in Matlab I never managed to crash the thing
2
19:32
try
    Figure1
catch ex
    % never gets here
    warning(ex.message)
end
Could you include your complete code related to this? As it stands, with parts of the code missing, it's possible your question could get closed as "stub code" — Phrancis 44 secs ago
@syb0rg no worries.
Any opinions on this?^
@Phrancis I agree, the code seems quite ambiguous right now.
@Phrancis what syb0rg said.
> // and so on...
19:34
Okay, I went ahead and applied VTC
Looks like a fairly interesting question, if they include the whole code
(to the extent PHP can be interesting, I suppose)
This made me lol
in The Heap™ - Consultancy ©®, 25 mins ago, by Paul White
Try pivoting your anger.
5
DBAs have a strange sense of humor
5
If you have code that runs correctly you can ask on the codereview pages of StackExchange. Even there I would ask specific questions, format your code to the best of your abilities and - of course - do away with the " bla bla bla bla bla bla bla bla". — Maarten Bodewes 38 secs ago
Sorry, but SO is for specific questions, not code reviews. But OK, one hint. In general you can use byte values, but you might want to go for ASCII instead: { '1', '2', '3', '4' }. Humans are not that good at typing in byte values instead of characters. — Maarten Bodewes 12 secs ago
19:57
@MaartenBodewes Yes, but we need you to have tested your code "to the best of your ability" before submitting it to CodeReview, the OP seems a bit too unsure here — Caridorc 8 secs ago
Naruto answer; accepted non-selfie answer with 0 score: Currency converter using angular.js
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: A z-shell function to quickly cd into projects
This question is really better suited for code review - cool app though — wahwahwah 5 secs ago
@wahwahwah this may be suited for Code Review as the code works, however reading the question it really seems to ask "why is it slower on CodePen than on my computer?" which is not really a good question for Code Review. — Phrancis 15 secs ago
20:14
"runs good locally" uh, isn't JavaScript local anyway?
@Mat'sMug #ItDepends
because js ...
Just like any online REPL or whatever, it's always slower than running the code straight on your PC
0
Q: BS4 Help Finding Classes

Nardcore ElectronicsI cant find the class I am looking for in the html. New and self taught so need an answer that is also easy to undrstand haha thanks import requests import bs4 class SearchQuery: def Staples(query): urlA=query.replace(" ", "-") url2=query.replace(" ", "%20") url="http:...

0
Q: I ask for help in the verification code(java card)

Bush_kapepackage online; import javacard.framework.*; public class online extends Applet { final static byte WALLET_CLA = (byte)0xA0; final static byte VERIFY = (byte) 0x20; final static byte CREDIT = (byte) 0x30; final static byte DEBIT = (byte) 0x40; final static byte GET_BALANCE = (byte) 0x50; final st...

@CaptainObvious GO AWAY!!!!
so much nope there
20:27
@Vogel612 3 days ago...
-2
Q: many errors in the installation, the applet does not wish to be default

Bush_kapeinstallation with all the privileges: c:\work>gp --install online.cap --default --terminate -sdomain [main] WARN pro.javacard.gp.GlobalPlatform - Unknown/unhandled tag in FCI propri etary data: 9F6E06479100783300 Exception in thread "main" java.lang.IllegalArgumentException: apdu must be at l ea...

today...
-3
Q: applet java card for verification

Bush_kapepackage online; import javacard.framework.*; public class online extends Applet { final static byte WALLET_CLA = (byte)0xA0; final static byte VERIFY = (byte) 0x20; final static byte CREDIT = (byte) 0x30; final static byte DEBIT = (byte) 0x40; final static byte GET_BALANCE = (byte) 0x50; final st...

Oh you actually VTC'd that last one on SO
yeap
@Vogel612 I thought they had trouble with formatting the code in the post, but then I looked at the source and it's actually that bad
0
Q: Resort $_POST array

AdamI use this form: <?php if($_SERVER['REQUEST_METHOD'] == 'POST' ) { print_r($_POST); } ?> <form action="test.php" method="POST"> <input text name="name[67]"><input text name="tel[67]"><br> <input text name="name[5]"><input text name="tel[5]"><br> <input...

FWIW
Does it work as intended? That should already answer your first question. Did you test it in any way? That should answer your second and third questions. The last sentence is what this site is about, assuming your code is ready to be peer reviewed (i.e. that you can answer the first 3 questions you asked). — Mat's Mug ♦ 6 mins ago
Anyone else having troubles with chat search? I'm getting 0 results for all queries
20:34
@CaptainObvious Eh, you sound like you ask for a review, but the code is not implemented yet?
@Phrancis huh weird
Someone on DBA mentioned that, and I tested it here and on Programmers and getting no results
@skiwi nope it works just fine
it's incredibly ugly though
Looks example-ish, or maybe stub-ish?
stub-ish yea...
20:40
Wow, their form is using <br> :\
they're using PHP... what did you expect?
PHP is no excuse for writing crappy HTML...
true, but I think it coincides..
Yeah, that's a fair point
Surely, somewhere, there's a golden programmer who writes good PHP and related code.
5
FYI, bluefeet has poked a dev about the chat search issues
in The Heap™ - Consultancy ©®, 7 mins ago, by bluefeet
the devs are on it
unrelated: emacs graduated
or rather they got a design
20:48
Nice!
You should probably post this to the codereview.stackexchange.comjehna1 52 secs ago
@jehna1 this would be off-topic on Code Review as the code posted in the question clearly doesn't compile/work as it is stub code. See A guide to Code Review for Stack Overflow usersPhrancis 52 secs ago

« first day (1116 days earlier)      last day (3199 days later) »