« first day (4313 days earlier)      last day (620 days later) » 

2:53 AM
US to take part in military exercise near India's disputed border with China. Excellent, we will finally see the dumb race called humans dumb themselves to death. Yes, keep on provoking, keep playing with fire, if you burn yourself to death, you have no one else to blame but yourself.
 
3:03 AM
If those people decide to go on that path, in 4-5 years, covid would be a minor incident in the scale of thing.
 
3:17 AM
So many countries with nuclear warheads, repeated provoking is really the 'best thing'. If some powerful source really want a full scale war, all they have to do is to create a few misunderstandings between countries. 'Accidental' deaths and destructions do happen. Scheming people can make those 'accidents' happen.
 
 
4 hours later…
7:17 AM
@wilx Go doesn't have a niche, its just a simpler language that was motivated by Google's infrastructure and training concerns
 
@Mikhail I was reading some tutorial for Rust and it gets complicated with all the pointers and references a bit.
 
Are you writing linux/unix or windows daemon. If it's linux/unix, then why not using shell script?
Or even C. C is more straight forward than C++.
 
7:36 AM
@wilx I don't know, I've found it like a more rigid version of C++, so much so that I've felt no motivation to use it.
 
I see.
 
I was briefly forced to use it at work because somebody wanted to be cool and write their side project in rust
 
Well, I am looking for something that is not C an C++ for a bunch of mainly Java programmers. I doubt the guys would like to start learning C++ and the ins and outs of memory management in it.
 
Probably C#
 
I need something that will work well on Linux. I am not sure about C#.
 
7:38 AM
Well Python is simple
 
We basically might have to build a forking daemon for Linux.
And we need threads for shit. Python is out.
 
I've basically found that all roads lead to C++ or Python.
 
I see.
 
Like big story of my professional life is rewriting stuff that was done in another language into C++
 
My problem with C++ is packaging of dependencies and sometimes missing libraries. Like, is there even something easy to use for REST API use?
 
7:43 AM
php was pretty easy to use
C++ dependencies are easy if you know how to do it. And hard if your infra department doesn't :-)
Does node.js do rest apis?
 
Probably. But I hate JavaScript. lol
 
Shell script should be your choice then, it's made for this kind of task.
 
Ugh. No.
 
Why?
You can get a lot of done in a couple of lines.
 
 
3 hours later…
10:31 AM
I wonder we are entering a probabilistically working programming era. Search engines, stock trading algorithms, machine learning. It's okay if your program only works most of the times, and it's not because of low standard ...
Search engines and stock trading algorithms are not new, but they are newer than most widely used operating systems.
 
 
6 hours later…
4:36 PM
Hi guys, how can I rewrite this in c++ without using any includes (just windows api)

private string ReadValue(string XML, string value)
{
int start = XML.IndexOf(" " + value + "=\"") + value.Length + 3;
int end = XML.IndexOf("\"", start);
return XML.Substring(start, end - start);
}
 

« first day (4313 days earlier)      last day (620 days later) »