Displaying 20 results from an estimated 2000 matches similar to: "Adopting a third-party JSON library"
2017 Oct 19
3
Adding a third-party dependency in clang-tools-extra
clangd communicates with an editor via JSON-RPC. It parses JSON with
YAMLParser, which is awkward, and generates JSON with printf and friends,
which is miserable. Much of LLVM does things this way, but clangd does it a
lot.
I'd like to try replacing this with a JSON library. nlohmann/json[1] seems
like a reasonable fit: C++11 with exceptions optional, simple build, MIT
license.
I'd
2017 Oct 19
2
Adding a third-party dependency in clang-tools-extra
On Oct 19, 2017 6:50 PM, "Chandler Carruth" <chandlerc at google.com> wrote:
On Thu, Oct 19, 2017 at 3:48 AM Sam McCall <sammccall at google.com> wrote:
> clangd communicates with an editor via JSON-RPC. It parses JSON with
> YAMLParser, which is awkward, and generates JSON with printf and friends,
> which is miserable. Much of LLVM does things this way, but clangd
2017 Oct 27
10
RFC: Adding a JSON library to LLVM Support
We don't have a dedicated JSON library in the LLVM tree, I'd like to add
one. The pressing need is for clangd, but we have other tools that
read/write JSON too.
I'm proposing we write a new one, rather than importing a third-party
library (licensing/integration reasons), on or extending YamlParser/YamlIO
(usability/flexibility). I lean towards a design that parses a full DOM at
once,
2020 Mar 22
2
GSoC Interested Student:Encode Analysis results in MachineInstr IR, Slimmer project
Hello All,
My name is Prakhar Bansal and I am a graduate student in computer
engineering at Iowa State University.
In my research work, I have worked on Memory access monitoring of an
application using the LLVM static analysis framework, where I developed a
tracing tool using an LLVM module pass to perform tracing across multiple
functions using call graph analysis and also implemented static
2015 Nov 06
2
c++ Development question
Hello Centos user.
Im learning about c/c++ , so far every thing works great.
The problem begins when I try to install a new library or a third party api.
For example now I need to install the jsoncpp implementation in my
centos box but I have no idea how to do it.
I realized that my knolowge about those things is very poor.
I would like to ask you for some documentation about libraries
2007 Dec 03
3
overlapping labels
Good evening,
I am trying to add labels to the point of a simple plot, using the
text() function; the problem is that sometimes, if two points are too
close to each other, labels overlap and are no longer readable.
I was wondering whether there are options that I can use to prevent this
overlapping (by, for example, placing labels alternatively above and
below the plotted curve), or whether I
2006 Nov 20
4
how to use the switch statement
Good morning,
I am trying to recode the values of a column in a data frame and,
instead of using a long series of if/else statements I would like to use
a switch (as it is, for instance, in the C programming language).
I have a column of this type:
AT
BB
B1
B1
CC
CC
T6
B1
CC
BB
TT
AT
AT
AT
TT
BB
...
and I need to change this coding (if it's AT then it should be A1, if
it's BB then
2004 Aug 26
3
plot.new?
Hi all,
I am just beginning to use R and encountered a problem in trying to draw a
regression line using the command "abline(coef(var)" and similar ones but
got the error "plot.new has not been called yet". Does anybody know how can
I call plot.new? Is this an additional package to be found somewhere on the
web? Is it a functionality that I just have to "activate"
2007 Apr 03
5
converting a list to a data.frame
Hello,
I have a list with n numerical components of different length (3, 4 or 5
values in each component of the list); I need to export this as a text
file where each component of the list will be a row and where missing
values should fill in the blanks due to the different lengths of the
components of the list.
I think that as a first step I should convert my list to a data frame,
but this is
2004 Sep 30
1
tcl/tk
Hi all,
I am already using R under Window and would like now to try and install it
under Unix; I read I need tcl/tk installed so I connected to
http://www.scriptics.com downloaded the file and extracted them to a
directory tcltk beside R. I configured (./configure) both packages (tcl and
tk) and compiled (make) them but I am not sure about how to proceed now:
should I launch the command make
2005 May 19
3
Bug#309772: please add ignore lines for autossh
Package: logcheck-database
Severity: wishlist
Hi!
if autossh debug is enabled it logs to syslog, thus the messages go thru
logcheck, messages are in this form
May 19 14:02:55 sagara autossh[1909]: port set to 0, monitoring disabled
so this is the ignore line
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ autossh\[[0-9]+\]: .*$
thanks,
filippo
-------------- next part --------------
A non-text attachment
2005 Apr 26
3
Bug#306388: add ignore line for udhcpd
Package: logcheck-database
Severity: wishlist
Hi,
the following two lines should be added either to ignore.d.server/dhcp or
ignore.d.server/udhcp to ignore messages from udhcpd (other lines may be
necessary)
# udhcpd support
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udhcpd\[[0-9]+\]: sending OFFER of [.0-9]+
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udhcpd\[[0-9]+\]: sending ACK to [.0-9]+
filippo
2006 Jun 02
3
One Lighttpd or many?
I''m trying to get Lighttpd started, and understand how it works (not
quite there yet with Ror). Some questions:
1) Can I run Lighttpd as a main server instead of Apache2?
2) When hosting different RoR projetcs, will there be one server for
each? Or is it one server running all?
2) Can it do everything Apache can? Like PHP, webdav, etc?
--
Posted via http://www.ruby-forum.com/.
2019 Apr 23
1
[PATCH] virtio/virtio_ring: do some comment fixes
There are lots of mismatches between comments and codes, this
patch do these comment fixes.
Signed-off-by: Jiang Biao <benbjiang at tencent.com>
---
drivers/virtio/virtio_ring.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 5df92c308286..3794c7666a99 100644
---
2015 Oct 20
2
getent passwd not showing domain users at boot
Mark,
As you try to extract all users from AD and as it is not always advisable I
would try into your rc script to retrieve only one user at boot time, just
to check if winbind is not working at all at that moment or if it refuse to
extract all domain users at that moment...
Cheers,
mathias
2015-10-20 10:18 GMT+02:00 Ole Traupe <ole.traupe at tu-berlin.de>:
> Mark, did you make sure
2013 Jan 08
1
problems when loading package GenABEL
Dear all,
since yesterday, I have been experiencing problems with the package
GenABEL. When I try to load the package (library(GenABEL)) I get the
following error message:
Loading required package: MASS
Error : .onLoad failed in loadNamespace() for 'GenABEL', details:
call: stringSplit[[1]]
error: subscript out of bounds
Error: package/namespace load failed for ?GenABEL?
The funny
2004 Apr 15
1
[LLVMdev] llvm-as error
Hi, when I try to compile an llvm program, it gives me the following
error. Do you have idea on what I should look for?
Thanks,
Filippo
llvm-as -f -o arith.bc arith.bc.exp
llvm-as: Type.cpp:1034: void
llvm::DerivedType::notifyUsesThatTypeBecameConcrete(): Assertion
`AbstractTypeUsers.size() < OldSize-- && "AbstractTypeUser did not
remove itself from the use list!"'
2011 Oct 18
1
Help text in plot
Hi all,
I have a basic plot
MC_P1.DEM.1<-qplot(x=Group, y=P1.DEM.UN.WPP.FER.TOT_var,
data=GroupMeans_gr_DEM, geom="bar", stat="identity", fill=Group)+
myScale_fill()+getLabs("MC_P1.DEM.1")
I would like to add a y-lab horizontally ON TOP OF y-axis...and I didn't
understand how it works (with axis.text.y???how)
thanks a lot
filippo
[[alternative HTML
2008 Nov 11
2
play file from url
I would like to do something like:
exten => s,1,playback(http://my.server.com/file.wav)
I tested and it does not work. It seems highly likely that someone would
already have done this one way or another. I know I could do a system
wget and then play the local file, but wanted something a bit more elegant.
Thanks,
Mike Clark
2010 Jan 11
1
Bug#564693: logcheck: should suggest/recommend nail
Package: logcheck
Version: 1.3.5
Severity: minor
Hi,
reading logcheck source it seems that it requires nail for MAILATTACH to work,
however it is not suggested/recommended.
(JFTR it is debatable if nail is appropriate or something else should be used)
thanks,
filippo
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500,