Displaying 20 results from an estimated 1243 matches for "gists".
Did you mean:
lists
2010 Apr 15
11
Rails 3, Rspec 2, Autotest
Trying to set up a Rails 3 project with RSpec and Autotest. I followed
these steps exactly:
http://gist.github.com/365816
But when I start up autotest, I get:
$ autotest
loading autotest/rails
style: Rails
instead of:
$ autotest
loading autotest/rails_rspec2
style: RailsRspec2
And autotest doesn''t seem to do anything. Any idea what''s happening?
I''m using Ruby
2016 Jul 25
3
Weighting Schemes: Evaluation results
..., I should have also uploaded the
config which has the parameter details.
For Dir+ I used following parameters:
lmparam_log 0.0
lmparam_select_smoothing DIRICHLET_SMOOTHING
lmparam_smoothing1 0.9
lmparam_smoothing2 2000.0
lmparam_delta 0.05
lmparam_enable_dirplus 1
I've added config files in gists as well.
> Sorry you've been sick; make sure you're fully recovered before diving
> back in full throttle!
Thanks, I've gotten better. Should be no more hindrance in the days to come
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://li...
2013 Jul 21
2
Fwd: Re: Asterisk T.38 Pass-Through doesn't work
Hi!
I have exactly the same problem on asterisk 1.8.22.0 and also on separate
11.2.1 when sending fax to PSTN.
Tryed with spa-3102, spa-2102, Patton Smartnode 4634, and Zoiper softphone.
SpanDsp also works without any problem on my box.
As I remember it was a bug in 1.8.1.x that the a=T38MaxBitRate paramater
was sent as "maxBitRate". Without capital "M".
Are you closer to
2012 Oct 09
8
unexpected should_receive behaviour
Hi,
surely I''m missing something... but what!?
in my spec I''ve
User.should_receive(:find).with("1").and_return(@user)
and in my controller
User.find(params[:id])
green light... correct...
but if I change my controller using another method, for example first:
User.first
or even
User.all
I get green light too... I was expecting an error like
expected: 1 time
2011 Aug 05
5
named context or calling include_context with block?
Hello,
I''m playing around with Rspec again after going from test/unit to
rspec then back to test/unit... :) Right off the bat, I find myself
wanting to do something like this: https://gist.github.com/1128091
Basically, I want to name a context, then call it later by name,
passing a block to it.
Or in other words... what is the best way to DRY this code?
2017 Dec 25
1
Crash in sieve_extprogram_create() after dovecot/pigeonhole update
Hi all.
My dovecot setup:
pf at vulcan:~ ? dovecot --version
2.3.0 (c8b89eb)
on Arch Linux, x86_64 (full config here: [0])
uses sieve plugin to train rspamd system as described in the wiki [1]. It used
to work fine prior to 2.3.0/0.5.0 update, but now "imap" process crashes when
I move spam letters from the inbox to the junk folder.
I've recompiled both dovecot and pigeonhole
2012 May 18
7
Dir.create_junction with FFI
Hi,
Try as I might, I just cannot get Dir.create_junction to work with FFI
in the ffi branch of the win32-dir project. The problem is the
REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those
members, specifically, the PathBuffer member. The target looks good,
it''s UTF-16LE encoded, but I can''t make it work, despite trying
several ways of defining the struct,
2015 Sep 22
2
[compiler-rt] Add iOS simulator link flag
Sadly I really can’t help you debug the home-brew build, it is a good ways outside my expertise.
If you want to try building from source using the guide here: http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary <http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary>
I’d be more helpful. As it is, the patch you proposed doesn’t seem to make it
2014 Aug 09
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
Hi all,
I am trying to create an out-of-tree LLVM project.
I have written a Test project following the guide in [1] that triggers the
problem.
Pass body is in [2].
The CMakeLists.txt file for the "root" directory is in [3]
The CMakeLists.txt file for the "pass" directory is in [4]
When I run opt --load=libTest.so
I trigger the following assertion:
opt: CommandLine.cpp:134:
2008 Jul 25
21
Problems with mock assigned to a constant
Hi all,
Initially I thought this was a bug in the built-in mocking framework(and it
still may be), but I better hash it out on the mailing list before I
file/reopen the ticket:
http://rspec.lighthouseapp.com/projects/5645/tickets/478-mocks-on-constants#ticket-478-6
I thought my example illustrated my problem, but obviously I was passing the
wrong arguments to the mock. I revised my example to
2020 Feb 26
2
Why is lldb telling me "variable not available"?
I haven't fully parsed this thread (sorry!), but I wanted to briefly mention that the SafeStack & ASan passes both do something similar (I think): move local variables backed by allocas onto a separate stack. These passes use replaceDbgDeclare to rewrite dbg.declares s.t. they point into the new stack. After that, llvm presumably runs LowerDbgDeclare (usually via InstCombine), but all the
2017 Oct 15
2
(no subject)
Hello everyone,
I installed R and trying to install additional package: `rgl`. The problem
is, I keep getting this error:
installation of package ?rgl? had non-zero exit status
All warnings, installation log and R version info in available in my gist:
https://gist.github.com/mateuszcisek/2337bd92695b7ddf10bca10ea403c712 (it
was too long to use it all in the message).
I use Linux Mint 18.2.
2014 Apr 17
1
Re: LXC + USB passthrough = Operation not permitted
Me again!
Think we've found it.
By diving into the LXC logs for the specific container, we found this:
2014-04-17 21:07:06.066+0000: 2861: debug : virCgroupSetValueStr:678 : Set
value '/sys/fs/cgroup/devices/machine/oshi32134.libvirt-lxc/devices.allow'
to 'c 189:130 rw'
Looks like libvirt the permission to 'rw', not 'rmw' [1], so no surprise
that when it
2012 Aug 29
1
Wierd encoding problem
I put the complete error description into a gist (https://gist.github.com/5d2cef1414f1643fca5a) for better readability.
The basic problem is that a properly encoded Json post request gets decoded an a very weird way. For example a "ü" which is encoded as "\u00fc" in uft-8 becomes ">\x93" or "~\xD4". I get different results ever time I run the decoder.
2013 Nov 05
1
Issue with postfix not handing over e-mails to dovecot
Hello!
I have installed postfix with dovecot and postgresql. I have set up SASL
authentication for postfix and dovecot and been able to test them
successfully. I am able to send sasl authenticated emails through smtpd on
postfix using a mail client like Thunderbird. However, now I am unable to
receive any e-mails. When I respond to the emails, I get a not delivered
failure from postfix. I cannot
2012 Apr 25
2
Test oddities
Can someone explain why a instance variable cannot be changed through an
association under rspec/factory_girl? An example is in this gist<https://gist.github.com/2484336>
.
All tests pass except the last. All the steps pass in the console.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web
2017 Aug 05
3
Cross compiling C++ program
On Fri, Aug 04, 2017 at 04:40:44PM -0600, Jonathan Roelofs wrote:
> Might be a helpful exercise for you to try building vanilla clang with
> runtimes for the host, before worrying about how to build everything for
> your baremetal case:
> http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary
So I did. :o) It was fun realizing how much Release type reduces LD
2014 Aug 10
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
Hello Sergey,
thanks for the suggestion.
The name of the pass is not what triggers the assertion.
The test case I attached to the email is a stripped-down version of a much
more complicated pass
(with a proper name) that originally caused the problem.
Also, to be sure, I just tried to change the name of the pass to something
more significant.
It did not work.
Cheers,
Alberto
On Sun, Aug 10,
2015 Sep 22
2
[compiler-rt] Add iOS simulator link flag
The behavior here is consistent with setting SDKROOT in the environment to an OS X SDK.
-Chris
> On Sep 22, 2015, at 2:28 PM, Alex Wang <aw1621107 at gmail.com> wrote:
>
> Logs + commands added to the earlier gist.
>
> Only thing different from a plain trunk build is adding -Wl,-v and -Wl,-t to the
> iossim link flags.
>
>> On Sep 22, 2015, at 5:17 PM, Chris
2020 Feb 26
2
Why is lldb telling me "variable not available"?
Vedant, Jeremy,
Thanks a ton! I copied ASan's use of 'replaceDbgDeclare', think that worked!
https://github.com/modocache/llvm-project/commit/afbc04e1dcba has some
extremely quick and dirty changes I made (with no tests!), and a link
to a Gist with the LLVM IR and DWARF produced,
https://gist.github.com/modocache/6f29093ba2827946011b422ed3bd2903.
There's only one kink: the spot