« first day (2986 days earlier)      last day (1964 days later) » 

12:13 AM
How many people actually have more than 2.0 or 2.1 sound system?
I keep finding rips that are with 5.1 AC3 and they are always very quiet.
I have been trying to normalize loudness of The Man in High Castle for last 2 hours.
ffmpeg command line is a mess.
 
@wilx I have a 5.1 for my tv & pc
 
@Borgleader So you literally have 5 + 1 speakers?
@Borgleader Do you have them all actually positioned around you when you watch things?
 
1:01 AM
@wilx 5 speakers + 1 sub yes, and they are positioned for my tv (2 of the speakers are as behind the couch as i can with the space i have)
for the PC not right now, i used to have 2 of the bolted to the ceiling behind me but then i moved the pc and havent gone through the hassle of doing that again
 
 
2 hours later…
2:46 AM
If I could, my new year resolution would be - be away from internet and computers. But I know that's entirely not possible.
Also hard to become a real hermit in the wildness with all the deforestation, increasing amount of satellites and higher resolution cameras.
 
Oh lordy, I had to change my static header file. Its all over.
 
Congratulations, please sit tight while we spend the next 3+ hours re-compile your source file.
Unless of course, your application is small, and external libs you used are tiny and few in numbers.
 
3:01 AM
Thoughts on std::unique_copy?
 
@Mikhail at least this time it’s a prefix I suppose cc @sehe
Oct 22 '16 at 9:25, by Luc Danton
@sehe hey look, a new suffix!
 
I don't like the name, because it doesn't check for uniqueness in the whole container, or even in a range.
Actually never mind, it does check the range
 
@Mikhail to play devil's advocate that's conventional (e.g. uniq)
 
maybe call it unique_range_copy :-)
Also fuck Bazel release 19 for not detecting the version of CUDA I'm running. Bazel version 18 just looked it up, version 19 wants some fucking environment variables set.
 
@Mikhail You use Bazel? :O
 
3:10 AM
You wanna fucking fight me?
 
I tried using it for vanilla C++ on Windows once, and I couldnt get it to spit out a .dll xD
 
Also we need to make a tool called `BeelzeBuild' (en.wikipedia.org/wiki/Beelzebub)
 
Linux/Unix version of things tend to also being the vanilla version of things.
 
3:24 AM
2019 will be a 'fun' year - crumbling stock market, wobbly property market, cat fights between countries. We are all in for a roller coaster ride.
 
3:40 AM
But in my opinion, cat fights between countries can be good for innovation and real progress of humanity - when ones existence is threatened, one will stop investing in money making scams and start focusing on what real matters.
That's why two of the biggest discoveries - nuclear bombs and internet, both were invented during war times.
... waiting for 'interesting' period to unfold ...
 
 
1 hour later…
5:19 AM
I opened Chrome some days ago and noticed that it started to run four software_reporter_tool.exe processes with one of them using 20% of my CPU.
On windows apparently, it seems fine on macbook.
I would switch back to firefox if adblock works on it.
Linux distributions are pretty decent on privacy because open source, if I ever work on critical software, it will be on linux.
 
5:56 AM
There should be a study on correlation between different search engine usage and IQs.
Like ... I wonder people who use the search engine defaulted on TOR have a higher, lower or about average IQ.
 
6:12 AM
PPeople who use tor: definitely lower.
 
6:31 AM
@ABuckau Surely that's based on some scientific or at least statistic evidence?
 
 
2 hours later…
8:28 AM
The guys at Jet Brains are pushing hard for the "use brace initializers everywhere" style. The style is not possible to do safely/efficiently without their code hinting tool. Is this some kind of conspiracy?
 
@Mikhail incidentally, some C++ people think that brace initializers were a mistake
and should be removed
 
A substantial portion of my bugs are because of them + not having strong types.
 
A substantial portion of my bugs are because of logic errors.
I should be ashamed, but I speak of the truth, the whole truth, nothing but truth.
 
nwp
Just like Trump.
 
@isotrumpp, ISO
Make C++ operator > again
171 tweets, 5.5k followers, following 10 users
 
8:51 AM
@Mikhail it'd be a good idea if they worked uniformly everywhere :P
 
9:03 AM
hm there's a nice sale for those Mighty players
I've wanted one for a while
 
A huge numbers of the remaining bugs in my code is often due to not properly testsing things
 
nwp
A huge number of bugs in my code is due to nobody ever running it :(
2
 
A huge number of bugs in my code are features :D
 
most of the bugs in my code are misunderstood spec
 
9:42 AM
Facebook offered big tech firms more user data than previously revealed
I don't know why people raise their concern about their own privacy yet offer their personal info online for free.
I have learn the lesson the hard way some 10 - 15 years ago being pretty much the first internet generation. That's why I generally do not use social media. I am sure whoever really want to contact me will find a way to contact me. People who have not contacted me because either they do not know me or don't want to contact me. Sometimes when you put up hurdles, you get higher quality people.
 
10:09 AM
I don't pay for anything on the internet because my personal data pays for me v0v
 
I don't pay for anything because my salary pays for me
 
10:25 AM
hmpfh
I could really use 192GB of RAM
 
10:39 AM
Meanwhile I chill at home with 4GB and no SSD x)
 
nwp
I'm looking at colorful graphs of CPU usage while code links.
 
@Morwenn SSD got pretty cheap nowadays
the perf upgrade you get from one is pretty significant
reminds me I need to buy another one for my home workstation
 
the perf upgrade is not worth me getting out of the sofa to buy a SSD xD
 
nwp
10:31, about 1 minute of that is compiling, the rest is linking. This is so sad.
 
Have you tried using a better linker?
 
nwp
10:43 AM
Yes. Did not help.
 
v0v
 
circular links?
 
I thought that lld would be the answer, I'm sad it isn't :'(
 
@Morwenn don't you ever leave your home
 
@BartekBanachewicz I'm actually currently at work
but the only times when I use my slow laptop is when I'm at home and in a mood where I care more about being comfy than about having a fast laptop
I'd be several times more likely to leave home to buy some beer than to buy a SSD I guess
 
10:47 AM
you can just pick it up on the way :D
they're so abundant
I'm just running out of space
 
there isn't any tech stuff at my local supermarket x)
not even sure I could find an USB cable there
but I can find Belgian triples :D
 
@Mikhail dammn
 
@Mikhail why don't you use your CPU x)
 
I'm a GPU coder
 
10:50 AM
makes sense
 
Welp. My fuck passed. Tomorrow we image rat brains.
 
nwp
That's some strange mix of bestiality, necrophilia and TDD. Not judging.
4
 
Was it thorough testing? Or was it ... just one test case?
We all know when you only have limited test cases, how fun it will be when used for the real thing.
 
I want to eat spare ribs
looks at spare ribs images on the internet
shouldn't have looked at spare ribs images on the internet
 
11:19 AM
lol
american style ribs look really good
 
but have you looked at French spare ribs? :p
me neither
 
@Mikhail That's a pricey CPU.
 
@StackedCrooked it's a 686 :D
 
right, lol
 
> Absolutists like this are why we can never accomplish anything.
never ever
 
nwp
11:29 AM
And here I thought my failure to accomplish anything was my fault. Thanks absolutists!
 
Thanks Obama
reminds me of this old one: youtube.com/watch?v=uhY9Zxv1-oo
 
@Mikhail well the healthcare situation in the us is quite horrible though
 
 
1 hour later…
12:40 PM
@Mikhail still can't play crysis
@Mysticial so weird thought this morning: all the Spectre and Meltdown issues with hyperthreading... one of my professors did research on this in 2002 it looks like DOI: 10.1109/MICRO.2002.1176268
 
1:42 PM
the old *Freedom*/ISS designs look super cool
 
 
1 hour later…
2:59 PM
Downmixing 5.1 to stereo is alchemy.
It is like 6th time I do it in a day.
And sources vary in what is the best formula.
 
nwp
Just take the average of all channels and make it mono. Best audio format.
 
@nwp Well, it would still be hard to decide how much all the 5.1 channels contribute to the mono downmix.
 
nwp
Each channel contributes equally much.
Although now that I think about it it's not that simple to compute the average of 2 audio waves.
 
@nwp if you're listening to the beatles... yes it is, the stereo mix is noticeably worse
 
3:51 PM
@wilx Use a microphone.
 
@StackedCrooked lol
Well, I have settled with ffmpeg -y -i "$f" -vcodec copy -filter:a "[in] dynaudnorm=b=1:f=1000:c=1 [out]" -ac 2 -c:a libvorbis -qscale:a 4 -reserve_index_space 50k "out2/${f%.mp4}.mkv"
I tried pan plugin but you have to supply the downmix formula. I tries several, the last being FL<FC+0.707*FL+0.707*BL+0.3*LFE|FR<FC+0.707*FR+0.707*BR+0.3*LFE but I wasn't sure. Using -ac 2 sounds good enough.
 
4:20 PM
@Mgetz That's a long time ago.
 
@Mysticial yep, he was describing how deep pipeline CPUs with hyperthreading can experience architectural level Denial of Service attacks by forcing either cache thrashing or pipeline flushes IIRC. His target for this research was netburst because it was particularly vulnerable to it.
I don't think he thought about the side channel attacks, if you think about it the new 'attacks' are just weaponization of his research. He found IIRC that you could easily get IPC rates of 1 instruction per 200 clocks. And if you found a particularly bad case you could get upwards of 1 instruction per 2000, but I'd have to look up the paper to confirm it's been awhile since he told me about it.
In theory everything he thought about is still true, and can still be used to bring systems to an absolute crawl
 
4:48 PM
 
lol
 
6:11 PM
Also.
(that was before two downvotes I posted were reverted, I'm back at 25,002 now)
 
7:10 PM
any modernish c++ vim debuggers?
best one I could find so far is conque-gdb: github.com/vim-scripts/Conque-GDB
it works, but it is super clunky
 
7:53 PM
were you expecting any other outcome from vim?
or gdb?
let alone putting the two together, srsly
 
8:24 PM
vim bindings for CLion
 
so I'm installing glfw-rs
so far seems that the process is a tad tedious but not that bad
@towc visual studio or don't even bother
 
@Puppy well, from my inexperienced perspective, it seems like a neat flow as it is
 
also you're gonna hate yourself soon enough in C++ regardless of the editor you use
so
 
but again, I guess gdb is not what people writing a large codebase use to debug their stuff
 
not raw, at least
 
8:28 PM
I guess I can try VS :/
I remember using it years ago when I was getting started with javascript (programming in general). It was painful
 
@towc it's perfectly fine
get community 2017 and start with empty C++ project so that it doesn't generate crap
 
I'm also generally trying to stay away from guis of any kind, for probably no good reason
 
then simply add one .cpp file and off you go
@towc yeah stop doing silly things
also I just got an OpenGL window to run in rust so yay
time to start rewriting my old crappy C++ code into my new crappy Rust code
 
as a non-c++ side note, don't you feel like you'd be a lot more productive and relaxed if you just never started a graphical session?
 
8:30 PM
not even remotely
 
browser tabs and buttons make me anxious
 
never
I use tmux often but I see no point in not having it in a regular window
 
@towc no, that's effectively my mac just do to screen real estate issues. It's horrible
 
well, I either got to find people who think like I do and can give tips, or embrace the gui, or be a lone loser
 
you don't need to "embrace" anything
 
8:32 PM
uhm, embrace my anxiety then?
 
stop overthinking basic tools
 
especially when it comes to debuggers, gdb is just the worst
 
VS is a text editor that can build and run shit
 
alright, I'll install it
 
don't worry about all the things you're never going to use
your kernel is an expert in that and you still use it
 
8:35 PM
1>CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION)
Now to rebuild and wait 10 minutes, and hope it doesn't crash
 
> Glium is no longer actively developed by its original author. That said, PRs are still welcome and maintenance is continued by the surrounding community.
sigh
programming is doomed
 
Open source codes are like children, it should be illegal to abandon them.
 
no, it should be illegal to keep funding shit like C++ and java
and to write new code in them
 
@BartekBanachewicz wait, why 2017?
 
But Glium is rust
 
8:40 PM
oh, it's the latest one
well, doesn't look like there's an ubuntu installable
 
get a real distro
 
@towc yeep
@towc duh, windows
 
@Mikhail like windows? :P
 
yes like windows
it's a real OS not the hobbyist shit
 
Also try CLion
I also run gentoo in production :-)
 
8:41 PM
with WSL, you could almost say that Windows is a Linux distro
 
do you know you can install ubuntu on windows
it's an app
that's what it is
 
well, I need to pay for clion :/
 
@BartekBanachewicz something something about principles and boot time and me being a weirdo
tbf a windows license costs less than clion
 
@towc just use the 30 day trial, by that time you'll find 40 USD
 
8:43 PM
@Mikhail huh, I'm getting £149 (that's 188$ for you other people)
 
@towc please observe how you've spent more time pondering on the OS to use than it took me to set up entire multi-component build chain for Rust on windows and compile not one, but two example projects basing on two different frameworks with native C++ dependencies
 
@towc w/e software contracts pay like $10k+ so this isn't real money.
Take a look at MATLAB or Photoshop licenses
 
or SolidWorks :(
 
per core :-(
 
but hey I'll borrow a student licence soon!
for some indeterminate amount of time but still
 
8:46 PM
oh hey I'm a student. I often forget
 
lol
Or you can keep registering free 30 day trials under fake emails
 
even if you don't JetBrains products remain functional
you just need to restart them every 30 minutes
I've been doing this with IntelliJ Idea for like a year now
 
if you're a student then you can use JetBrains products for free
 
Used to be the old school way of "cracking" hex rays
`1>ptxas C : /Users/QLI/AppData/Local/Temp/tmpxft_000048b4_00000000-6_kernel.ptx, line 17789; error : Call has wrong number of parameters
1> ptxas fatal : Ptx assembly aborted due to errors`
 
huh interesting
 
8:49 PM
on the other hand, I'm not going to be a student for long
 
seems that glium has a builtin way of dealing with different shader versions
not that I care, fuck it, 450 or bust but still
let vertex_buffer = {
    #[derive(Copy, Clone)]
um what does that do
is this like an inline class
maybe, just maybe, I should've actually learned this language first
 
is that rust?
 
Rust: the only language that cultivates it's own hipsters
 
Literally every other language does that
 
9:02 PM
:D
also woooooah dude rustc --explain
I knew it existed but still
it's great
 
@Mikhail eh, are they as annoying and preachy as the rust ones though?
 
@Mgetz frankly I've been mostly underwhelmed by Rust so far so
 
rust is crap because it doesn't have the libraries or tools I need
 
@BartekBanachewicz as have I. Honestly I don't use it because I don't like the ergonomics of the language itself. But there are good things about it that I do like the concepts of.
 
Rust is basically like a c++ library that's trying too much
 
9:06 PM
They should have just augmented the C++ language with borrowing features
 
also looool @towc
remember our last discussion
warning: function `createProgram` should have a snake case name such as `create_program`
 
you're way too excited about this. Have you had some sleep?
 
I'm getting less excited now fighting with the module system
urghg
 
9:22 PM
the only winning move is not to play
I'm exiting my developer career to become a pop singer, btw
 
good choice
 
9:41 PM
hey, my tagged coordinate type translated pretty well into Rust
so far so good
 
I can learn c++ by going through the exercises
it's almost as if I was at a real university
 
@towc I would be very wary of shady C++ resources, especially the ones from unis
do you have a book?
 
I have "a" book
 
is it on The List?
 
I'm not looking to get a full, detailed knowledge of c++, for now, either way
 
9:44 PM
@towc learning C++ from resources other than books from the list has proven to be ineffective in the best case, and actively harmful in the worst
 
just want to get to the point where I can be dangerous, and I don't know I am
 
that's literally day 0 then
you can already do that
e.g. is this program fine?
#include <iostream>
void main() {
    std::cout << "hello, world!\n";
}
 
I'm joking of course. I think the thing is that I'm learning c++ to actually kind of relax and goof around, with the intention of eventually getting somewhere, at this point
 
2 mins ago, by Bartek Banachewicz
@towc learning C++ from resources other than books from the list has proven to be ineffective in the best case, and actively harmful in the worst
I'm dead serious here
 
@towc Does not mention std::string. Does not mention standard containers. Reimplements sorting. Mentions "on older compilers you may want to #include <iostream.h>" implying as if you may want to use >20 year old compilers.
 
9:47 PM
@BartekBanachewicz well, you didn't capitalize the H. That must be a compilation error
(yes, main is not of int type)
 
@towc good. And what do you think will happen when I run this program?
 
(and yes, \n is "dangerous")
 
@towc it's not
 
@BartekBanachewicz will it work on windows machines?
 
9:47 PM
I thought std::endl was there to standardize that
huh
 
std::endl is mostly for flushing
 
@milleniumbug well, I do use vim
 
@towc Verdict: fail.
 
@towc nothing to do with what he said
 
9:48 PM
How is vim relevant here
 
it's old
 
I'm joking. Thanks for the help, I do really appreciate it
 
> Stable release 8.1.0000 (17 May 2018; 6 months ago)
 
@milleniumbug neat
 
9:56 PM
hmpfh, the PhantomData thing is really annoying me so far
 
alright, any practical book from The List? (@BartekBanachewicz)
I'd rather not spend 95% of the time reading non-code words
 
@towc I'm afraid I've got bad news for you
C++ really isn't a language you can learn well by just hacking around
 
what languages would you not say that about?
 
Python
maaaybe Lua as well
 
uhm, alright. I'm not comfortable with either
 
10:02 PM
So regarding books, I bought C++ Primer a good while ago and liked it, but it was a good while ago
from what I've heard though, right now there aren't any great books that are current, so picking something relatively modern, say C++14, should be okay
 
I think I tried starting the Primer a few times
years ago
 
Primer is good because it's actually detailed and challenging enough
 
didn't end well
I guess I can try again
but if I wanted to read, I'd probably finish up other books on medicine and statistics on the nightstand
 
well you're not really ready to start writing any meaningful code yet anyway
if you tried right now you'd get only so far and then join the hordes of people that bang their heads on the wall of inadequate preparation
 
I think so too
I really wish there were more resources like these around
I think I'd really enjoy learning from something like that
 
10:06 PM
If I might give you any real advice, it'd be to keep cppreference open at all times
 
the examples there are really good and you can actually bite them one-at-a-time
e.g. vector (scroll down to the bottom)
you can also "run this example"
 
sure, that's good, if I already have something and am not sure how to use it
 
@towc well just browsing the reference is a good idea
 
but the problem, like for just about anything in life, I guess, is figuring out what you should use
@BartekBanachewicz yeah, true
 
10:10 PM
@towc well you already know basic blocks - lists, arrays, maps, trees etc.
so it's just a matter of finding C++ vocabulary to express them
 
well, I guess
 
I certainly wouldn't start with implementing my own data structures because that's way more complex
building real, useful tools with standard library is a much better way for the beginnings
 
got any example challenges that have very unintuitive better solutions than what I'm probably going to come up with, so I can ask about them and look them up?
 
10:24 PM
Are phone manufacturers polluting earth by forcing consumers to use more electronic goods than they should?
 
@towc I think CodeWars is basically a platform for what you're asking
I find solutions better than mine like 80% of the time i solve anything there in any language
 
it has c++? nice! Would still be nice to have "good practice" examples at a glance
 
@towc so like "common patterns"? hmm, I think you might like this and possibly this
 
I'll have a look, thanks
 
Possibly because I only have the first one, but it's full of such "better solutions you'd never figure out"
They're pretty advanced though, as in expect some general language knowledge I think
 

« first day (2986 days earlier)      last day (1964 days later) »