« first day (3267 days earlier)      last day (1684 days later) » 

2:21 AM
I planned to debugging a hardware device using a multimeter. only to find the multimeter broken :/
 
 
1 hour later…
3:31 AM
@Rick Not my work, but when I was an undergrad, these were grad level projects in the lab I almost worked at.
Instead of a working on GPU computing, and optimization, or scientific computing, or fintech, I switched careers to sucking dick
But I'm always happy to offer my unsolicited opinion on a number of things
So, hows everybody doing tonight :-)
 
4:02 AM
@TelKitty if you are on low voltages, a microphone plug would be your poor man's multimeter
 
There is a new multimeter which I am currently using at the moment.
But it is more sophisticated than the old one.
 
that's convenient
when mine broke. I had no spare
 
Power supply doesn't seem to be the problem though. Do you know how to test data lines @LoïcFaure-Lacroix?
 
what do you mean by testing?
 
I tried to read the data pin there is nothing.
 
4:07 AM
the least you can do with a multimeter is to check for shorts and if connections are ok
multimeter display averages so if your dataline change quickly it will probably not show anything useful
 
So the device is working intermittently. Power seems fine. I don't understand why sometimes Pi receives data and sometime it doesn't.
 
An oscilloscope or logic analyzer would be better tool
 
:/
 
you can find cheap salea knockoff on aliexpress
they work with the same software and cost half of the price (I mean at least 10 time less)
but humorously, a microphone could be your poor man's oscilloscope
 
~_~
Maybe I should get a bunch of cheap microphones just in case :x
 
4:13 AM
I have one similar to this
can't say if this one is legit
It doesn't work with 100mbit sometimes but for low speed bus it should be very good
 
I probably need diagnostic tools if I am getting serious with what I am doing at the moment.
 
that's a real time saver if you have problems it's better than guessing
if you have long wires your data issues could be caused by cross talk
reducing the speed of data lines can help also to improve stability
 
I turned down the baud rate, still, nothing when calling read()
 
4:34 AM
did you try to check for resistance between write pin and read pin?
sad day... I finished my build scripts for docker but so far every build failed :(
 
@LoïcFaure-Lacroix Good idea
I could measure the frequency, but the reading doesn't seem to be very useful.
 
4:56 AM
frequency is usually for AC current so unless you have a square wave that goes +- V it might not be very useful
 
5:41 AM
I might have an ancient oscilloscope somewhere - it's a free, obsolete oscilloscope given out by my university many many years ago.
Only if it still works and I could find it in the garage.
There are certain benefits to be a hoarder.
 
 
4 hours later…
9:24 AM
That feel when using static inside a lambda to avoid leaking closure. But also the lambda is evaluated. auto step_1 =[](input){return do_operation ? static_buffer: input }()
I just want to write lisp
fuck
 
9:39 AM
compile error: parameters for the call don't match
 
 
11 hours later…
9:06 PM
What is the conceptual reason why the type can't be deduced in this minimal piece of code godbolt.org/z/XyEGIW
Like, what would break in the language if the type could be deduced?
 
@Mysticial so intel hasn't released any teasers at all on desktop Ice Lake have they... seems odd for them to still basically be shipping skylake still.
 
@Mgetz There will be no Ice Lake desktop.
Only low-power and server.
 
@Mysticial any reason given? or just assumed that yields and clocks suck?
 
@Mgetz The word on the street is clocks.
And desktop is the only segment that needs high clocks.
 
HPC does too (ish). But yeah. Servers want stable, laptops want power
 
9:13 PM
I keep my HPC boxes on my desk :-)
 
They are going to get their arses handed to them by TSMC aren't they
 
Does AMD have a competitive laptop CPU?
 
I'm interested to see if there will be any Ice Lake X next year when the servers launch.
Since it's the same die.
 
Recall, Intel was saved in the 2000s when they moved their laptop line onto the desktop
 
But for now, my 1st world problem is finding the right Ice Lake laptop.
 
9:15 PM
laptops: AKA the world of suck
 
My laptop has more RAM than your desktop
 
you say that... and you don't say how much
 
64 GB
 
@Mgetz The large ones are better since they're customizable. So while nobody sells a laptop with more than like 32GB, I can at least put in my own sticks. But now the whole industry is moving towards this soldered shit.
 
psy
Why do you need 64 GB?
 
9:17 PM
@Mikhail There are 32 GB DIMMs now. So you can probably do 128GB.
 
@Mysticial I know, but it will cost me money. Why can't we just pirate RAM?
Perhaps Intel dumps all their money into building laptop chips, then builds a really powerful GPU?
 
@Mikhail It's not your money anyway. It's your abusive "employer"/department's right?
 
@Mysticial No, its my money (its my laptop)
Anyways, fuck Lenovo, made in China is not a mark of quality.
 
Then get a better "employer"?
 
@Mysticial Thank you for the job offer, but I am am currently unwilling to entertain offers in that salary segment.
 
9:20 PM
@Mikhail Lit from a friend who has cause to know: "Don't buy lenovo unless you really want the PRC to know what you're working on"
 
FYI, Lenovo has a "corporate perks program" that throws in a 30% discount, so I went for it.
 
Have you graduated yet? It's a new school year now and you've been complaining about your Ph.D program since you've joined this room (which is quite a few years).
 
@Mysticial Well I joined the room in undergrad, but I'm going to defend around December
I got another paper in a nature family journal, which makes 3 high impact first author papers...
 
.......
 
:-(
 
9:22 PM
Am I fucking glad I left academia.
 
@Mikhail So you're neigh on unemployable because you've been in academia too long
 
@Mgetz Yeah. At minimum I'll need to spend a few months on the leet coder. But a big part of its emotional. For example, right now I'm leading people. Anything less will leave me sad.
 
@Mikhail Nothing at all. Add -std=c++17 and your code will compile. godbolt.org/z/lRm4MK
 
@Mikhail your first code review is going to suuuuuck, just a heads up
 
@Mgetz I had a real job before, kinda. Somebody reviewed my code before.
 
9:25 PM
@Mikhail in my experience the longer you go between critical code reviews the worse habits you fall into.
 
@Mgetz Yeah, also I'm doing code reviews for our kids. So, my sense of entitlement is out of proportion to my real world experience. By a lot.
 
@Mikhail have them review your code and ask questions it forces you to explain and defend what you're doing at least
 
For example, I built a full deep learning based imaging solution. My contributions went end to end, from biology, to machine learning, to the real-time acquisition. Also the instrument uses new physics. All analysis tools developed in house. Took us a few months. Now its almost time to write the nature paper. Anyways, now I can't find a job.
 
@Mgetz It's funny because I rarely get code reviewed at work anymore.
 
@Mikhail well you can... but it probably won't be interesting
@Mysticial that happened to me, so I forced the issue.
 
9:29 PM
@Mgetz Yeah, I want some CTO position at a small medical instrument company where I can spend my time talking smack.
 
@Mikhail well you're perfectly positioned to take one under!
also medical device companies suuuuck to work with
 
^ Yes, that segment is pretty awful for many reasons.
 
@Mgetz There was a time where we tried a code review. But it failed miserably because the person didn't know lockless programming or SSE intrinsics.
 
@Mysticial so I use it as a time to educate too, if the other person doesn't understand they ask questions and we make sure they understand the 'why' and 'what'
 
@Mgetz We should be doing that. But we don't have the man power to. So a lot of the more specialized developers (like myself) are given the power to do whatever the fuck we want from an efficiency standpoint. (i.e. no oversight)
 
9:32 PM
Idk, its going to be hard to onboard for SSE and lockless. You're talking about devs with years of focused experience.
 
OTOH, I do end up doing a lot of code reviews for other people.
 
@Mysticial so you have dumb deadlines and burnout issues... sounds typically toxic
@Mikhail no time like the present to learn
 
@Mgetz That's the case for some of the guys closer to production trading. But on research side there are no deadlines since it's research and everything is uncertain anyway.
 
Idk, I'm kinda skeptical if its a good idea to onboard people on those subjects because of the time commitment. Even if you hire people who supposedly have experience, it will take some time to get them functional. Better snap up the guys who already know, or change your software stack.
 
SSE and lockless are definitely things that cannot be onboarded easily.
SSE intrinsics is very straight forward since it's just a large library of "functions", but knowing when to use which and the performance + hazards involved takes a lot more.
 
9:36 PM
@Mikhail I'm of the opinion that should be the person learning's choice. If they want to learn it they should ask questions. But if they aren't given the opportunity they won't ever grow
 
@Mgetz The criticism is that a company can't afford to do this. Not that whomever fate has chosen for technical apotheosis won't have fun getting paid to learn.
 
Lockless is even steeper than SSE. And unless SSE, the penalty for getting it wrong is correctness as opposed to performance.
 
@Mysticial Do you mean SSE meaning SSE + AVX, ... Or specifically SSE?
 
@StackedCrooked The whole family.
 
9:37 PM
@Mikhail then they can't afford to stay in business either, HBR and several studies have shown conclusively that investing in your people produces a much bigger return than burning them out
it's seriously not even close btw
 
@Mgetz Which is why I think they decided to basically let me do whatever I want at my own pace. Since I'm most productive that way.
Unless there's an actual emergency.
 
@Mysticial "we don't know what he does, or how he does it, but what he does makes us a lot of money"
 
@Mgetz Figuring out how much to invest is a very hard thing, for example, if you need applied mathematics majors is it a good idea to train them in house or get them from the university.
 
@Mysticial The two are fundamentally different though. SSE is basically about knowing a lot of facts (that few happen to know). Lockless is much more about understanding.
 
@Mysticial Is you company also doing scrum, or something similar?
 
9:40 PM
@StackedCrooked HFT
 
@Mikhail I'm aware, it's one field that I've stayed away from because it requires understanding numerics at a level I just don't have the mental bandwidth for.
 
@Mysticial lol, dunno
HFT is not compatible with scrum?
I suppose it's not a great fit.
 
@Mgetz I stay away from them because most of them don't actually know shit, they are just paid to work on it :-)
 
you're talking worlds apart, scrum is an 'agile' technique, and HFT is a business
@Mikhail make it til ya fake it?
 
Yeah, but he might mean that scrum doesn't work well in a business like HFT.
 
9:41 PM
@JerryCoffin very true
 
@StackedCrooked scrum is a safety blanket for execs that still want waterfall
 
Sometimes, I find that scrum seems to be mostly about shuffling tasks on the task board.
 
@StackedCrooked pretty much, it's why I prefer kanban
it's either in the backlog, being worked on, or done
 
@Mgetz More like, if anybody needs you, or questions how much value you're generating, throw math in their face. On a slightly different note my favorite extortion scam are statisticians. Typically they get a small part of every grant, and will take a boat of time to do any analysis, but often won't do anything at all. Or won't be needed. if you don't include them, they say you're results are wrong.
 
@Mgetz I think kanban makes more sense too.
 
9:44 PM
@Mikhail But is that statistically significant ducks
 
:-)
 
@Mikhail Early in the history of computerized trading, it was all about predicting which stocks were likely to rise. However, there's now so much computerized trading that in a lot of cases, you can make money by simply predicting what the other computerized traders are going to predict, but do it a tiny bit faster, so you can buy it while it's still low, and wait for their computer to place the buy, to drive up the price.
 
@JerryCoffin invest time in on boarding, not invest $
From what I can tell trading strategies can be easy to generate, but hard to figure out which ones are good. Obviously some are technically impossible to implement, for example, limited by how long it takes to evaluate the model.
lol I need to stop talking about stuff I don't know much about (its really fun though, and I might be right by chance)
 
@Mgetz Or (as I've phrased it for years), when I'm writing code, there are really only two levels of priority: what I'm working on right now, and everything else.
 
10:32 PM
posted on September 26, 2019 by Herb Sutter

My CppCon 2019 talk is now available on YouTube, and the slides will soon be available here. I hope you enjoy it.

 
11:15 PM
What was the header at CppCon :-)
 
@Mikhail TIL, Chicago's area codes are a fucking mess.
I'm considering getting a 2nd phone (separate personal/work) - this time with a Chicago area code.
FFS...
 
how do upgrade my gcc to c++17
 
emerge -av sys-devel/gcc
 
downloadmoarc++.com
 
^ NSFW
@Mysticial Almost everybody is on 773
 
11:22 PM
@Mikhail I want to get on 312 (Chicago loop). But it seems unlikely. 872 is probably what I'll land instead.
@Mikhail The one I see the most is 847/224.
Since most of my local friends are north side.
 
Wealth gap + money
 
@Mikhail for what?
 
is the north side run down?
 
Anyways, I'm too distracted to go on a rant about my home town's area codes.
 
@Rick No. I went to school on the north side. So most of the local numbers I see are north side.
 
11:26 PM
@Mysticial you were raised in Chicago? So are you all about that thug life?
 
@Rick No. I grew up in the SFBA. So my current phone is from there. But I'm considering getting a 2nd phone to separate out work.
Figured that if I get to choose my area code, I'll pick something local.
If I don't get to choose the area code, I can force either the same area code as my current phone (by having my parents get it for me), or I do it myself in downtown Chicago.
 
Normally you'd keep the current one, and force your employer to give + pay for a 312 number
 
But the 312 (downtown Chicago) and 773 (heart of Chicago minus downtown) are exhausted.
 
I'll sell you my 773
 
@Mikhail They already pay us a tiny bit extra to cover phone costs. What we do with it is up to us.
I don't want 773. I want 312.
 
11:29 PM
If I see a Chicago area code ringing on my phone, I check to see if my wallet is still in my pocket.
 
My office phone at work is 312.
But I obviously can't take that.
 
Wow, you have an office phone
 
he means cubical
 
@Rick cubical without walls
 
He probably uses it to order pork bellies on the CME
 
11:32 PM
lol
 
(makes modem noises)
 
dam
how can you have a cubical without walls?
I am starting to hate windows
They make accessing the GPU nearly impossible
 
Nope
 
11:47 PM
yes they do, you can't access it from a virtual machine with Linux
 
limitation of the virtual machine
 
unless you buy VMware, but even then I don't know if it's possible really.
Windows will go out of their way to make it as difficult as possible, virtual box has terrible support
Docker does not even have support for GPU access on windows
it's stupid
and guess what the reason they list for not supporting it on their support page, copyright licensing.
So copyright licensing is preventing me from using my own hardware on my laptop, and progress in general.
 

« first day (3267 days earlier)      last day (1684 days later) »