similar to: here's some badly designed code

Displaying 20 results from an estimated 3000 matches similar to: "here's some badly designed code"

2006 Mar 29
1
model questions about using ?
I have an employee model. I want to be able to say: employee.isAdmin? in my view so in the model I have: def isAdmin? if self.role.name == "Administrator" true end end When run I get a blank screen, no errors or anything, whats wrong with the isAdmin? method? If I take out the if self... line it is returning true. -- Posted via http://www.ruby-forum.com/.
2006 May 10
0
Open Source Research
Hi. My name is Kyrre Myrbostad and I'm studying information systems (IS) at the Norwegian University of Science and Technology, in Trondheim. I am writing my master thesis on the subject of Open Source Software, with a particular focus on methods of organisation and techniques for exchanging information and knowledge. It would help me a lot in my research if I could have a short
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
In my code here https://github.com/DragonOsman/currency_converter , I used C++17 and managed to get it to work (though I'm only using std::map::insert_or_assign() from C++17). And I'm using Windows, so I shouldn't use LDFLAGS or CXXFLAGS as environment variables. I'll use them directly on the compiler command line instead. The libraries I need to link against are
2018 Dec 11
3
Using LLD to link against third-party libraries? How?
Are you linking with a C++ compiler? A lot of those missing symbols look like they come from the C++ standard library. -David Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org> writes: > @blubee blubeeme So what do you think? Got any ideas? > ---------------------------------------------------------------------- > From: Osman Zakir <osmanzakir90
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
I couldn't get it to build libcxx... You need c++ and c++abi to compile c++ code. On Wed, Dec 12, 2018, 07:01 Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org> wrote: > LLVM on a Developer Command Prompt. The ones I want to fix first are the > ones from Boost and Jinja2Cpp. I saw some from those as well. > > If there any standard library ones missing, could it be
2008 Mar 11
2
for a beginner - good rspec examples?
I''m learning to use rspec and I want to see some good examples. Any recommendations of open source projects that demonstrate the use of rspec? So far I''ve found: 1) the Caboose sample app (http://sample.caboo.se/) 2) the Altered Beast forums app (http://beast.caboo.se/forums/1/topics/4650 ) Any others come to mind? I''m especially interested in seeing
2018 Dec 12
3
Using LLD to link against third-party libraries? How?
So how do I get it to build libcxx and libcxxabi? I got it from the mono repo and enabled lld, clang, libcxx and libcxxabi. But I built the two main CMake targets only--all_build and install. What else do I have to do? Please let me know. ________________________________ From: Zachary Turner <zturner at google.com> Sent: Wednesday, December 12, 2018 11:10 AM To: blubee blubeeme Cc: Osman
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
I need them so I can build stuff using clang or clang-cl with its C++ standard libraries. To make sure that lld-link won't give errors about missing symbols from any standard libraries. By the way, you wouldn't happen to know how to use link.exe, would you? I might need some help on that to understand how to use lld-link.exe. ________________________________ From: Zachary Turner
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
How can I tell CMake during the configuration step where to find my zlib installation? ________________________________ From: blubee blubeeme <gurenchan at gmail.com> Sent: Wednesday, December 12, 2018 7:31 PM To: Osman Zakir Cc: llvm-dev Subject: Re: [llvm-dev] Using LLD to link against third-party libraries? How? I would agree with the next email from Brian Cain If you do not have
2004 Jan 15
0
Rsync with smbfs filesystem and characters like é
Hello, I?m using samba version 3.0.1-Debian rsync version 2.6.0 protocol version 27 And mount version 2.12 With kernel 2.4.22 As far as in aware these are the latest versions in Debian unstable. The problem im having is when mirroring my mp3 collection file names with characters like ? ? ? etc. are not displayed in the linux filesystem and then when browsing to the directory through samba
2004 Jan 15
0
Rsync with smbfs filesystem and characters like é - updated from version on RSync List
Hello, I?m using samba version 3.0.1-Debian rsync version 2.6.0 protocol version 27 And mount version 2.12 With kernel 2.4.22 As far as in aware these are the latest versions in Debian unstable. The problem im having is when mirroring my mp3 collection file names with characters like ? ? ? etc. are not displayed in the linux filesystem and then when browsing to the directory through samba
2010 Aug 10
2
undefined method `has_many' for Object:Class +Savage Beast 2.3 plugin
Hi, i am using Savage Beast 2.3 plugin for the forum and i got and error undefined method `has_many'' for Object:Class C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb: 9:in `included'' C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb: 7:in `class_eval'' C:/forum/vendor/plugins/savage-beast/lib/savage_beast/user_init.rb: 7:in
2008 Apr 30
3
missing values in document
No matter how I´ve tried o find a solution for this simple question, I can´t. Sorry for bothering with such a matter. I have an excel-files with some empty cells=missing values. How do I tell R that these should be NA´s? > TRFLP1 <-(read.table(file="S://SEDIM//Kokeilu//TRFLP1.txt",col.names= c("Dye_Sample Peak", "Sample_File_Name", "Size",
2016 Feb 04
0
AST-2016-001: BEAST vulnerability in HTTP server
Asterisk Project Security Advisory - AST-2016-001 Product Asterisk Summary BEAST vulnerability in HTTP server Nature of Advisory Unauthorized data disclosure due to man-in-the-middle attack Susceptibility Remote
2004 Jan 15
0
Re: Rsync with smbfs filesystem and character s like é - updated from version on RSync List
Unfortunately that didn?t work for me! I think there may be a bug somewhere although its possible that I have done something wrong somewhere. My reason for saying this is everything works perfectly when the windows machine is "uploading" the files but not when rsync is copying them. Regards Nic Colledge colledge@dsl.pipex.com n.j.colledge@bradford.ac.uk -----Original
2011 Jan 21
6
help writing types/provider
I''ve almost finished a pretty simple type/provider to manage RabbitMQ users and virtual hosts. I''m using the ''ensurable'' keyword in my type to save a bit of boilerplate. Type is below (the provider is just a wrapper around the ''rabbitmqctl'' command. Have a feeling there''s a developer guide somewhere I haven''t found (been
2009 Dec 31
0
Savage Beast For Rails 2.3
Hello rails.. I have some difficulties when integrate savage beast forum with my rails app 2.3. I found error : uninitialized constant SavageBeast::UserInit::Monitorship and then about routes..., how to set routes in order to when access http://mysite/forums the savage beast forum can be run. Anyone has a real implementation savage-beast in a rails app.., I thinks that will very help
2018 Nov 19
2
[Bug 108783] New: Nouveau crash in X server / display system with PAGE_NOT_PRESENT/NULL_DMAOBJ running Minecraft Feed The Beast Continuum
https://bugs.freedesktop.org/show_bug.cgi?id=108783 Bug ID: 108783 Summary: Nouveau crash in X server / display system with PAGE_NOT_PRESENT/NULL_DMAOBJ running Minecraft Feed The Beast Continuum Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All)
2011 Mar 02
0
polymorphic_path not getting generated
Folks, I am trying to use the Savage Beast plugin in a polymorphic way. I have setup my model as below # Leaving out other details from models class Forum < ActiveRecord::Base has_one :recent_topic, :class_name => ''Topic'', :order => ''sticky desc, replied_at desc'' belongs_to :forum_owner, :polymorphic => true # Helps keep track of which
2009 Oct 21
0
aep_beast forum authorized? method problem?
hello I have some problem in using aep_beast forum plugin base on rails engines. Whenever I try to access forum/new page to create new forum, I meet the page containing message (You don''t have access here.). What I figure out so far through a lot of tests is the problem lying in the authenticated_system.rb When I try to access normal page which is also subject to