in web apps (IMHO).
--
Stefan Kanev ¦ @skanev ¦ http://skanev.com/
You can measure a programmer's perspective by noting his attitude on the
continuing vitality of FORTRAN.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
naming individual keys.
Of course, I'm just guessing.
--
Stefan Kanev ¦ @skanev ¦ http://skanev.com/
Beware of the Turing tar-pit in which everything is possible but nothing of
interest is easy.
--
--
You received this message because you are subscribed to the Google
Groups Clojure group
/2013/03/29/perils-of-dynamic-scope
Fair enough. Thanks for the elaboration.
--
Stefan Kanev ¦ @skanev ¦ http://skanev.com/
Bringing computers into the home won't change either one, but may revitalize
the corner saloon.
--
--
You received this message because you are subscribed to the Google
-safe, at least to some extend. I assume you mean something
specific?
--
Stefan Kanev ¦ @skanev ¦ http://skanev.com/
If a program manipulates a large amount of data, it does so in a small number
of ways.
--
--
You received this message because you are subscribed to the Google
Groups Clojure
of Clojure. The first edition covered an oldered
version and I have no idea about the second.
--
Stefan Kanev Ś @skanev Ś http://skanev.com/
Often it is the means that justify the ends: Goals advance technique and
technique survives even when goal structures crumble.
--
--
You received this message
love, but I don't have the
time for it now.
If you want a lazy version, some modification is needed.
--
Stefan Kanev Ś @skanev Ś http://skanev.com/
Giving up on assembly language was the apple in our Garden of Eden: Languages
whose use squanders machine cycles are sinful. The LISP machine now
)
modified (if occurences
(str word _ occurences)
word)]
(recur (update-in encountered [word] (fnil inc 0))
(conj result modified)
remaining))
result)))
--
Stefan Kanev ¦ @skanev
of
`uniquify`.
--
Stefan Kanev ¦ @skanev ¦ http://skanev.com/
Think of all the psychic energy expended in seeking a fundamental distinction
between algorithm and program.
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Здравейте,
Тази година отново ще правим OpenFest (11 години от първия). Ще бъде на 2-3
ноември, отново в Интерпред, София. Тази година ще бъдем в три зали и както
обикновено, входът е свободен. От името на екипа, каня всички ви да
заповядате :)
Също така, време е и да поканим желаещите да
RSpec is built around the premise that each example is run in its own
environment, and that one should not depend on the outcome of another. This
is not unique to RSpec, btw. It's how all of the unit testing frameworks of
which I am aware work.
I know I'm going off-topic, but TestNG
On Wed, Aug 10, 2011 at 2:23 AM, Mike Jr n00s...@comcast.net wrote:
But a sophisticated test will make decisions in mid test. If a
certain test condition occurs, set a singleton hash and then have
later tests condition their processing on that hash. In my tests,
these if statements are
I agree with Lenny. I can give an example.
Lets say that parts of the application are restricted. Whenever they are
accessed by an unauthorized user, they trigger UnauthorizedAccessError.
Depending on the role the user has in the system, different actions should
be performed, e.g. unauthenticated
Hi all.
Occasionally, I write specs that verify the order in which some ActiveRecord
objects are returned. For example, in a toy project I do:
Reply.stub :per_page = 2
topic.replies_on_page(1).should == [second, first]
The spec out quickly get unwieldy when it fails:
1) Topic paginates its
Ah, that's clever. Thanks.
On Fri, Apr 8, 2011 at 3:43 PM, David Chelimsky dchelim...@gmail.comwrote:
On Fri, Apr 8, 2011 at 1:52 AM, Stefan Kanev stefan.ka...@gmail.com
wrote:
Hi all.
Occasionally, I write specs that verify the order in which some
ActiveRecord
objects are returned
Thank you for your answers!
In The Rspec Book, section 24.6 (chapter 24), When I write view specs
offers some tips for determining when to write view specs. Have you read
this section?
I though I did, but I revisited it and I learned some new things. Thanks!
I did some thinking on my own and
Hey guys.
I've been doing RSpec for more than a year by now, yet I cannot help but
feel that I've never got a single view spec right. I can see that I have
very few view specs and that my views tend be a lot messier than everything
else. I've read the chapter in the RSpec book about spec'ing
It took a while, but now I an totally convinced that controller specs should
not access the database and stub as much as possible. I'm committed to that
style of writing, yet from time to time I incidentally allow it to happen.
Is there a way to err on the safe side and have RSpec throw an error
Hey guys.
I switched completely to RSpec and Cucumber this spring and I am really
happy with. While I think I've gotten quite good with it, I'm not sure I
understand the value of spec'ing controllers (in Rails). I would appreciate
if you can give me some suggestions. Let me elaborate:
The RSpec
On Mon, Jun 22, 2009 at 7:37 PM, David Chelimsky dchelim...@gmail.comwrote:
On Mon, Jun 22, 2009 at 11:28 AM, Andrew Premdasaprem...@gmail.com
wrote:What would folks think if that was included in the generated
spec_helper in spec-rails?
I, while not a regular patron in this mailing list, +1
Hi.
I'm doubting that my wicket application is using to much memory because of
serializing too much unnecessary stuff in the session (programmers'
mistakes). Can you help me find a way to see what objects get serialized, so
I can see what I'm doing wrong and correct my mistakes?
Thanks in
[
https://issues.apache.org/jira/browse/WICKET-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510137
]
Stefan Kanev commented on WICKET-695:
-
Where does the following method come from:
Border border = findBorder
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-beta1, 1.3.0-beta2, 1.3.0-beta3
Reporter: Stefan Kanev
Priority: Minor
Border.resolve() should not attempt to render its nested components if
setBorderBodyVisible(false) has been called. This way
Hello.
I'm trying to create a foldable box component - not unlike the quick
contacts and labels boxes in gmail. I want to render some markup around a
border's contents - particulary, an open/close link. So far, I've made it
toggle the value of Border.setBorderBodyVisible() and it works fine.
Hello. I'm trying to achieve the following effect using Wicket 1.3. I want
to have a component (let's dub it widget), that draws a thin border around
its contents and makes it possible to fold and unfold it (pretty much like
the Quick Contacts and Labels in GMail. In the perfect scenario, I would
[
https://issues.apache.org/jira/browse/WICKET-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Kanev updated WICKET-338:
Attachment: DateTextField.java
The DateTextField itself.
DateTextField
I'm not really sure why you're giving me that JPA hype, as I already said I'm a big fond of using it and my motivations for evading it are different. But since Justin Lee gave me that repository, I think I can pull it out greatly.
I'm a big fan of JPA myself, but a JPA application is not easy to distribute since the akward policy Sun has for their enterprise jars. Thus I cannot create an application that is as easily runned localy as mvn jetty:run - I'm having the same problem with the commercial projects I'm doing and with
Does the same go for Hibernate? Maybe create an in-memory domain model, that doesn't persist in any kind and use it instead? This would simplify the sample application and put the focus to Wicket instead. It might be especially useful to people, who are not familiar with Spring and Hibernate.
I found out that AjaxSubmitButton is not working with button html
tags. I didn't see a reason why not to allow that, so I tried to
create a patch, but I failed miserably. Can anyone please look into
it, or at least give me a hint what I'm doing wrong with my patch. I'm
trying to put this chunk of
I'm thinking with starting from a user guide to a sample app and then continuing with a reference guide. I would like to start simple, and if I see I can handle it, I'll start writing a reference manual
-
Take Surveys. Earn
Sorry, was very sleepy - a stupid mistake. I will send my bugfix
within few hours.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on
Maybe I didn't express myself cleary, sorry. JPA is very cool and all,
but it requires jars that you have to download from Sun, because they
aren't distributed freely (thus ibiblio.org). This is a major problem
with Maven, since this is what Maven does - gets the publicly
available jars for you,
Oh, cool. So I might use JPA after all. Is it freely available and is
there a change that you might suddenly stop supporting it (I have
another projects that would be good to dedirect here).
-
Take Surveys. Earn Cash.
I'm not sure it is a good solution, but I've made AjaxSubmitButton
inherit from WebMarkupComoponent to allow buttonFoo/button. I've
also expanded the tag name check to allow button. Works for me now.
Submitting the change as a patch.
Index: .
No, I don't depend on any external libs, but some polishing is definatelly needed. The .js is well done (not tested in Safari yet, would be grateful if someone can try it), but I think the wicket code can be done better (although I don't have an idea how). I was hoping that any of you guys can
Hey to all.I just finished a draft version of a small ajax component that allows the user to change the order of elements in a list. I'm doing an application that requires such functionality in a number of places and so I decided to pack it out as a seperate component and send it to the mailing
Hi. Is there a quick way to implement the sorting of the DataTable with AJAX, or should I go rewriting everything from the OrderByLink to the HeadersToolbar?
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
I don't see an AJAX sortable example with the DataTable component (Wicket extensions). Can you point me to it, if I have missed it, please?
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
Hi all.
Setting aggregate to true for the javadoc plugin doesn't seem to work for
me, in a multiple-module build. I won't paste error message, because they
are just too large, but it tells me that it can't find some classes (from
external dependencies) that it succesfully finds when I'm building
Hi.
I want to be able to display easily a ListView with no items. There
are two things that bother me, thought. First, I would like to dipslay
a message You have no foo's in the place of the list. And second,
how do I drop the ul, given that my code is like this:
ul
li wicket:id=foos
span
I sketched a small diagram of the components hierarchy of Wicket. Grayed classes are final. It is compact enough to be printable (and readable) on A4. Here it is:
http://spider.bg/~aquarius/dl/Wicket%20Components%200.1.png
Actually, I meant which classes should I put there? I cannot put everything, since (1) it is too much and (2) won't be that helpful if it has a lot of stuff. :DStefan
HiDon't you think that an UML diagram for the basic objects in wicket would be useful for newbies to the frameworks (shows the complete) picture and for all users, where it can serve as a quick reference. Since such a diagram is not present, I'm willing to put up one. What do you think should be
This is a translation in Bulgarian, I hope that GMail sends as UTF-8. And I do hope it will be useful to somebody.Application_bg.propertiesRequiredValidator=Полето '${label}' е задължително.TypeValidator='${input}' не е валиден ${type}.
NumberValidator.range=${input} трябва да бъде между
44 matches
Mail list logo