Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 07-15-2020, 09:53 AM   #39751
Biggle10
veteran
 
Biggle10's Avatar
 
Join Date: Jul 2005
Location: St. Louis/ Ultimate Frisbee pitch
Posts: 2,930
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

There are only two hard things in Computer Science: cache invalidation and naming things.
Biggle10 is offline   Reply With Quote
Old 07-16-2020, 12:18 PM   #39752
golddog
old hand
 
golddog's Avatar
 
Join Date: Feb 2013
Location: In the beer line
Posts: 1,817
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

  • Branching is too hard
  • We need to add memory to SQL Server instead of writing less-shitty queries
  • Hard-coding values is o.k.
  • etc etc

All this and more by the HPCs from my former employer. While my retirement was mostly just me being ready to go, I sure am glad to be away from those numbnuts.
golddog is offline   Reply With Quote
Old 07-17-2020, 09:48 AM   #39753
Biggle10
veteran
 
Biggle10's Avatar
 
Join Date: Jul 2005
Location: St. Louis/ Ultimate Frisbee pitch
Posts: 2,930
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by golddog View Post
  • We need to add memory to SQL Server instead of writing less-shitty queries
OMG have I been there. We had a manager type that didn't want us to add indexes to DB because they didn't want a bunch of unused indexes floating around eventually. Also, this is just the typical 'do the quick and easy' thing rather than fix underlying problems that take longer. After all there's a deadline to meet. Who cares if the system works?
Biggle10 is offline   Reply With Quote
Old 07-17-2020, 11:57 AM   #39754
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,606
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

We don't use branches per environment, seems like overkill for most things. We use one branch for everything. A build gets made from it, gets deployed to CI. You can test it there, and it gets deployed to prod. In most of our services this all happens without intervention.

You can make a custom branch and run the test suite on it if desired, you can even temporarily set it up so that branch deploys to CI, but it's exceptionally rare. I only ever have done that when doing a major refactor of something that I thought might take long enough that I might need to switch back to the previous branch to release fixes in the interim
RustyBrooks is offline   Reply With Quote
Old 07-20-2020, 03:27 PM   #39755
slenderhusband
journeyman
 
slenderhusband's Avatar
 
Join Date: Jan 2013
Posts: 242
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Since the MDN isn't of any help could somebody explain to me how exactly does the CSS 'color' property inheritance works?

First, lets have the following example
Code:
<section>
  <ul>
    <li><a href="#">One</a></li>
    <li><a href="#">Two</a></li>
  </ul>
</section>

section ul li {
  color: 'green';
}
Simply targeting a list element doesn't change the link color and we would need to specifically target 'section ul li a' for the intended effect.

However
Code:
<section>
  <div>
    <h1>This is a heading</h1>
    <p>This is a paragraph</p>
  </div>
</section>

section {
  color: 'green';
}
This changes the text color to green.

My question is, why in the case of the first example, it's necessary to specifically target links to change the text inside of them while the second example shows that in other cases we can simply pass a certain property value down if needed? Additionally, are there more HTML element/CSS property combinations that don't behave exactly as one would expect to?
slenderhusband is offline   Reply With Quote
Old 07-20-2020, 09:28 PM   #39756
Grue
Pooh-Bah
 
Grue's Avatar
 
Join Date: Mar 2004
Location: https://unstuckpolitics.com
Posts: 5,664
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Anchor tags are special due to what they do/accessibility. https://stackoverflow.com/questions/...-of-parent-tag

This is a pretty out there exception most of the time css inheritance works as expected.
Grue is offline   Reply With Quote
Old 07-21-2020, 05:33 PM   #39757
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,605
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I started learning how to make VST and AU plugins the other day.

It may look stupid to click a button and see the audio meter drop 50%, but it felt really cool.

There are so many interesting rules about doing in real-time processing: http://www.rossbencina.com/code/real...ts-for-nothing
daveT is offline   Reply With Quote
Old 07-22-2020, 11:48 AM   #39758
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,606
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Yeah I've done a bunch of audio programming in the last year or so. It started with writing soft synths and eurorack modules on microprocessors, and pretty soon I was frustrated with the work flow* so I wanted to do more exploration/prototyping and started doing it with VCV rack plugins and LV2 plugins. I also wrote some stuff for the Teensy audio library along the way.
RustyBrooks is offline   Reply With Quote
Old 07-22-2020, 09:49 PM   #39759
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,605
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I'm using juce, and you are correct, the workflow sucks. Constantly restarting Ableton to see changes is irritating, and xcode is... unique. So far, counsel closes after every compile, dbg() doesn't print anything, and so on. Obviously, all things I'll have to research on fixing before I can get deeper.

So far, I made a volume knob, though obviously, I want to work on more interesting things. I want something to alter pitch of recorded sounds with a collection of LFOs, but for now, just the standard "hello world" utility knobs and basic reverb.
daveT is offline   Reply With Quote
Old 07-23-2020, 01:18 PM   #39760
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 24,606
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

My first project was duplicating a semi-modular synth that I own, and it went OK. It's a synth based on simple subtractive synthesis, and everything is modular, so you can design it like that too - modular synths are a lot like programming

So you make a wave generator that can make sin, square or saw wave forms. You make a low pass filter module. You make some LFOs and envelopes and then mush it all together. Works pretty good.

My immediate goal was to make something as small as possible, I was doing some composing and I wanted to be able to mess with sound while I went on walks. But the modular synth has ~30 knobs and 5 or 6 buttons and I could not get it into a small enough package so I gave up and moved on to other stuff.
RustyBrooks is offline   Reply With Quote
Old 07-23-2020, 07:21 PM   #39761
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,605
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

There is a popular plugin called Max8 that's a drag-and-drop modular synth and effects creator. The learning curve is super steep, and you are correct, it is very much like programming.

Synths always end up with feature creep. If you really want to see it to the extreme, check out Iris, which lets you run 4 samples in parallel, each with 5 envelopes and 5 LFOs, plus effects, plus a paint brush to add and subtract shapes to audio. It's bonkers. I don't think I have any synth with less than 30 knobs.

I use a lot of samples to create alternative sounds, and while pitch-bending on midi on synthesized sounds tends to be very good, pitch bending on samples tends to be bad. There are plugins like Little Alter Boy that does pretty good pitch-shifting, but it is the main plugin people confuse with the so-called "AutoTune effect." In an odd twist of irony, you have to be able to sing pitch-perfect to get a good AutoTune effect.

My main gripe is distortion, nasty warping effects, and inconsistent loudness. I know non-destructive warping isn't possible, but if I don't have to sample, knit together 8 plugins, and use tons of automation, I'd be pretty happy.

Best way to think of it is like a bendy 808. I want to have the same effect on a guitar or drum hit.
daveT is offline   Reply With Quote
Old 07-27-2020, 09:24 AM   #39762
Biggle10
veteran
 
Biggle10's Avatar
 
Join Date: Jul 2005
Location: St. Louis/ Ultimate Frisbee pitch
Posts: 2,930
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

So our system has around ~1000 available reports in it. Users can bookmark their favorites and/or they're familiar with the most common ones. The ones that are less commonly used its difficult for support/users to remember that they exist so users sometimes struggle to find what they're looking for and get frustrated with the system. Anyone know good ways to help users navigate information overload?
Biggle10 is offline   Reply With Quote
Old 07-27-2020, 10:53 AM   #39763
golddog
old hand
 
golddog's Avatar
 
Join Date: Feb 2013
Location: In the beer line
Posts: 1,817
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Biggle10 View Post
So our system has around ~1000 available reports in it. Users can bookmark their favorites and/or they're familiar with the most common ones. The ones that are less commonly used its difficult for support/users to remember that they exist so users sometimes struggle to find what they're looking for and get frustrated with the system. Anyone know good ways to help users navigate information overload?
This is high-level, pie-in-the-sky, so grain of salt. How about a tagging system (i.e., metadata) for each report, then a search function?

For each report id, have 0-to-many tags. Maybe add a owner or something (including 'public').

Let users tag a report which gets written with their owner (organization?) name. Start with a bunch of 'public' ones.

So the search query is something like "select stuff from reports join reporttags where (reporttags owner is public or <this user>) and tag = <input>).

Hope that gets the idea across without getting too deep into the woods and gives you an idea.
golddog is offline   Reply With Quote
Old 07-27-2020, 12:38 PM   #39764
Biggle10
veteran
 
Biggle10's Avatar
 
Join Date: Jul 2005
Location: St. Louis/ Ultimate Frisbee pitch
Posts: 2,930
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

That's actually a really good idea. We already have meta tags for files, but I don't know why I didn't think of that for report lists.
Biggle10 is offline   Reply With Quote
Old 07-27-2020, 03:43 PM   #39765
golddog
old hand
 
golddog's Avatar
 
Join Date: Feb 2013
Location: In the beer line
Posts: 1,817
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

You're welcome. Just properly credit me when explaining the idea.

And buy me a couple of beers sometime.
golddog is offline   Reply With Quote
Old 07-27-2020, 04:09 PM   #39766
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: givin' 'em the business
Posts: 96,892
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Searching by tags - invented 7/27/20 on twoplustwo.com.
suzzer99 is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 05:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online