« first day (3265 days earlier)      last day (1666 days later) » 

2:37 AM
All the ones I have used to book cars/flight tickets in my recent trip to Canada scammed me in certain ways. To be honest, scamming people is probably one of the very few ways those online agencies could make a healthy profit margin.
There is something wrong with online travel agency industry, apparently they think it's okay to scam people and make they to pay extra. I wouldn't be using any of the online agencies any time soon.
Online travel agencies need to be regulated. Otherwise all the honest ones collapse, leaving all the scammers to be thriving.
A few bad eggs drags down the whole industry.
 
3:09 AM
@TelKitty scammed you how
were the terms not clear? Did you agree without knowing the terms? ignorance is no excuse.
 
@ABuckau Like selling you car hire insurance that's not accepted by car hiring company? Like pretend to be a local website, but charges your extra exchange fees on top of the airline ticket? Like forcing you to take out insurance that's more expensive than the actual car hire?
@ABuckau So it's okay to scam people by giving out misleading statement? I am amazed by your moral standard. Good luck to you, you would need it.
I would love to see how long low moral businesses last.
 
4:16 AM
Nowadays, I am not less emotional - just I don't have time for it. I have many battle fronts in real life, each takes certain amount of energy and effort to excel. I am simply too exhausted to cry over anything. Time & effort can be used on more productive means.
Also ... I love what I am doing, most of them anyways. Life is good <3
 
4:40 AM
Umm, both device and /dev/ttyAMA0 seem to be working properly. But the script stopped working.
Maybe configuration was altered somewhere.
 
4:57 AM
Sweet, now the script works too. And I still have no idea why it was not working.
 
5:31 AM
@telk
 
@user5444075 yes
 
@TelKitty if f(x) ε O(G(x)) but there is some value c for which f(x) upperbounds G(x) for some 1000 instances, can I say f(x) also ε omega of G(x)?
im very confused with this time complexity thing
 
@user5444075 define 'ε omega'
 
omega as in lower bound
so what i mean is if there is a constant c for which f(x) upperbounds g(x) for say 1000 instances, can we say that:
f(x)ε O(G(x)) and
f(x)ε Ω(G(x))
ε as in 'exists in'
 
5:51 AM
@tel sucker born every minute..what i think is acceptable and what my own standards are, are often two different things. they had an offer..if you dont want it, dont take it.
 
@user5444075 You have to go to maths site for that. But my guess is that since you are taking samples (of 1000 instance), there should also be an error term.
Also |f(x)| ε |Ω(G(x))|
 
ok..ill check
 
6:08 AM
@ABuckau Why are you so defensive of dishonest people who give out of misleading information. Are you one of them?
People do things for a purpose, I would like to hear your underlying reason for doing so.
I need to get going now, spent too much time on this chat.
 
 
3 hours later…
9:30 AM
@telk did i defend them?
 
 
2 hours later…
11:45 AM
@Mysticial given how they are using the dies I'm assuming they are having serious scaling issues at that node
 
11:56 AM
Am I allowed to talk in the context of C++ as well as a different language here?
 
in what sense?
 
nwp
Language police will come to arrest you.
 
So I've been learning csharp and php, just wondered if I should learn C++ or C as my 3rd language.
Probably not a great idea to ask it in a C++ room.
 
@AdamG do you have a really good reason to learn either?
 
12:09 PM
Not a good reason, but I've known these 2 languages for the past year it would be nice to learn a 3rd to add to my collection.
I've been learning csharp and php for 3 years now.
 
Really depends on what you want to do
 
Just for educational purposes, general purpose software.
Just fancy something new lol
 
nwp
If you want something new go for Haskell. There will not be many fundamentally new things if you already know C#.
 
by new I did mean different.
 
well I'd personally recommend a systems programming language in addition to those you listed. Whether that's C, C++, Rust or D or whatever doesn't make much difference if the reason is just "some other language"
 
12:12 PM
I want to learn more about how programming languages actually work, paradigms, compilers, interpreters. I'm guessing C is the language for this?
I want to learn it as a new challenge and to increase my knowledge of computer science / programming.
 
nwp
@AdamG So did I. A functional language should be much more different than learning yet another curly braces language.
@AdamG C will not teach you about any of those things.
 
C will probably teach him a thing or two about memory management at least
 
I would of thought C would be perfect? You're responsible for memory allocation so it teaches you a lot about memory, its low level so you interact with well.. low-level things more.
Just so I'm sure, C++ has a garbage collector like Csharp / Java?
 
nwp
Low level things and "how programming languages actually work, paradigms, compilers, interpreters" are very different.
@AdamG No, unless you really stretch the meaning of "like".
 
I would of thought low level languages taught that more because there is less "sugar" around the language and you're more responsible for things, but I guess I'm wrong.
C++ doesn't need a garbage collector, because it has no garbage. In modern C++ you use smart pointers and therefore have no garbage
 
nwp
12:16 PM
You are more responsible for managing resources, but that hinders you when you want to have paradigms, compilers and interpreters.
 
@AdamG C++ has a garbage collector the way you have to take out the trash. You'd best remember to do it because otherwise it stinks
 
So in a sense it does look after memory for you but in a different way to csharp?
 
nwp
@AdamG Right.
 
I'd say it gives you tools to look after memory, it doesn't do it automatically
 
12:18 PM
So what language do you guys suggest if I want to learn more about the computer science aspect? ( hexadecimal, binary, compilers, interpreters, and paradigms )
Maybe I am not looking in the right place with C++ or C.
 
nwp
Learn about those things instead of learning a programming language. Programming languages are not for teaching about computer science concepts.
 
Are there any books you guys can recommend that can teach at least some of these things? I have looked for CS books but they seem to target the wrong areas for me.
 
@AdamG C and C++ are interesting languages but really aren't languages that the vast majority of people need to learn. Learning concepts like functional programming with Haskell/F# etc is IMO a much more extensible skill in most cases.
 
What do most people use for C++, I've been advised to install cmake and g++ (compiler) but is this a good choice?
 
@AdamG depends on your OS
 
12:24 PM
Linux.
 
nwp
Unfortunately tooling in C++ sucks and will be very painful. Cmake and g++ are terrible fine. Add in Qt Creator and make a cmake project and then ask for some flags that make C++ more usable and you might be able to dodge most of the issues for a while until you're hooked.
 
 
1 hour later…
1:51 PM
And yet the tooling is way better than it was 10 years ago
Proof is that I managed to run a project with 3~4 different compilers on 3 different OS on my CI
 
True, people have made some really awesome tools. Some of the static analyzers are pretty amazing. But it's really noticable that the language was not made with tools in mind
 
The static analyzers, the formatting tools, the sanitizers, even the build systems improve and package management is starting to shape itself somehow
When the language was made you couldn't just download tools from the internet x)
 
nwp
And yet here I am with gdborig.exe acquiring all available memory and making the computer unusable.
Some day I will be able to step out of a function without gdb crashing.
 
lol
 
nwp
2:09 PM
Since when are you a room owner? o.O
 
2:38 PM
Two weeks maybe? I don't remember exactly
I had already forgotten about that tbh x)
 
 
4 hours later…
6:12 PM
is there a way to tell gcc to treat all includes as absolute paths relative to a folder
 
6:26 PM
@Rick All includes? I doubt it. You can add to the list of places to search, but as far as I know, there's no way to tell it to not search the normal system directories.
 
Maybe with chroot. I don't know the exact use case so I can't tell.
 
7:02 PM
I am ruuning this command g++ server.cpp -o serv -I.
and getting these folly errors
/tmp/ccSfCFiJ.o: In function `main::{lambda()#1}::operator()() const':
server.cpp:(.text+0x20d): undefined reference to `rsocket::RSocketServer::startAndPark(folly::Function<std::shared_ptr<rsocket::RSocketResponder> (rsocket::SetupParameters const&)>)'
/tmp/ccSfCFiJ.o: In function `main':
server.cpp:(.text+0x27e): undefined reference to `fLB::FLAGS_logtostderr'
server.cpp:(.text+0x285): undefined reference to `fLI::FLAGS_minloglevel'
but folly is already installed
maybe i am missing something g++ server.cpp -o serv -I. -lfolly
 
7:44 PM
@Rick those look like linker errors. You need to add -l<whatever libs it needs> and possibly -L<wherever the lib(s) is/are>
 
@JerryCoffin Well I linked folly and included the directory I. which contains the header files for rsocket
 
@Rick Point is that if you get as far as linking, the compiler has already run, so barring something extremely obscure, there's not a problem with includes. You need headers to compile, but from the looks of things, compilation is completing successfully.
but it looks like rsocket also has a library that you need to link (and possibly something else that includes the definitions for what looks like logging routines).
My immediate reaction would be to try adding -lrsocket and see if that helps.
 
no, that didn't help. I have the cmakelist.txt which does result in a successful build but it includes way more than I need
 
Apparently you need a bit more than you realize.
 
I just want to get away with the bare minimum with gcc
but that might not be possible
 
8:03 PM
@Rick That contains a taget_link_libraries for each executable. For example:
target_link_libraries(
example_conditional-request-handling-server
ReactiveSocket
reactivesocket_examples_util
yarpl
glog::glog
gflags)
 
If I link all of these in gcc it should work?
 
So, you probably don't need the example_conditional-request-handling-server or reactivesocket_examples_util, but (at a guess) you probably do need most of the rest.
 
I will try one sec
 
But note: that's just the list for one executable I picked at random from the file. It probably isn't a perfect fit for your executable.
 
8:16 PM
g++ server.cpp -o serv -I. -Lexample_conditional-request-handling-client -LReactiveSocket -Lreactivesocket_examples_util -Lyarpl -Lglog:glog -Lfolly
yeah it needs more this than this
 
8:29 PM
-L (capital L) tells the linker a directory to look in to find a library. -l (lower-case L) tells it a library to link. So as-is, you've given it a bunch of directories to search in to find libraries, but not any libraries to actually link against.
So, you normally start with -l to specify a library, then add a -L to tell it where that library is, if it's not somewhere that it can be found without help.
 
oh so I shouldn't be using L just l
nice progress
```lexample_stream-hello-world-server
/usr/bin/ld: cannot find -lexample_conditional-request-handling-client
/usr/bin/ld: cannot find -lReactiveSocket
/usr/bin/ld: cannot find -lreactivesocket_examples_util
/usr/bin/ld: cannot find -lyarpl
/usr/bin/ld: cannot find -lglog:glog
/usr/bin/ld: cannot find -lexample_stream-hello-world-server
collect2: error: ld returned 1 exit status
```
g++ server.cpp -o serv -I. -lfolly -lgflags
/usr/bin/ld: //usr/local/lib/libfolly.a(ThreadName.cpp.o): undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
this is the shortest error so far
lol
 
9:02 PM
At the very least, it looks like you need a -pthread.
 
g++ server.cpp -o serv -lglog -lfolly -Lyarpl -pthread -lgflags -I.
I am down to this so far ^
this is the only thing in my file
#include <iostream>
#include <sstream>
#include <thread>

#include <folly/init/Init.h>
#include <folly/portability/GFlags.h>

#include "rsocket/RSocket.h"
#include "rsocket/transports/tcp/TcpConnectionAcceptor.h"
#include "yarpl/Flowable.h"
undefined reference to symbol '_Ux86_64_getcontext'
//usr/lib/x86_64-linux-gnu/libunwind.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
and this is my last error from the pervious command ^
 

« first day (3265 days earlier)      last day (1666 days later) »