« first day (3988 days earlier)      last day (943 days later) » 

12:16 AM
@SebastianSimon Clicking was all that was needed. Didn't realize that because it wouldn't have occurred to me
And yes, it just creates a sine wave
 
12:32 AM
 
python is so weird to me
not even the language just the community and people perception
idk why people love it so much. To me it gets an exception for every "i hate x language because..." ever
 
1:21 AM
it is shocking how far people can get in programming without knowing what the fuck they are doing
 
 
2 hours later…
3:46 AM
@JohnnyApplesauce start doesn't work on edge (chromium) once I stop it.
@JBis I once wrote a hello world in python. Python is cool
 
@SagarV now write an embedded system in it!
(please don't, that's probably one of the worse language to think embedded systems in, close to PHP)
 
 
3 hours later…
6:23 AM
@JBis In fairness, isn't the JS ecosystem a testament to that? A certain NPM fiasco comes to mind. But it's just a symptom of the whole thing.
 
6:47 AM
@SimpleGuy_ Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
 
1 hour later…
Sam
8:15 AM
Anybody know how I can grab the text from the crowd-entity-annotation object here? jsfiddle.net/xw7ton5e
And save it as a variable if I can
 
 
2 hours later…
10:41 AM
Been awhile since 've chatted here 👋🏾
Thought 'd share here, as well (some of these languages are a bit far reaching)
• A https://en.wikipedia.org/wiki/A%2B_(programming_language)
• B https://en.wikipedia.org/wiki/B_(programming_language)
• C https://en.wikipedia.org/wiki/C_(programming_language)
• D https://en.wikipedia.org/wiki/D_(programming_language)
• E https://en.wikipedia.org/wiki/E_(programming_language)
• F https://en.wikipedia.org/wiki/F_(programming_language)
• G https://en.wikipedia.org/wiki/G_programming_language
 
10:57 AM
I knew of B mostly as the predecessor of C. I know of F through the existence of F#. But didn't know of the others.
Oh, yeah and I knew of R, of course.
> Y is a programming language designed to be good with interacting with itself when tiled/chained.
Good, the name is well-chosen. I would have been disappointed if it wasn't related.
But the other Y is disappointing.
Oh, wait, I also know Z. I had a module on formal methods in uni and Z is one of the languages for those.
It's not a programming language itself but probably the closest you can have to a programming language.
 
11:44 AM
I know of G for labview, was actually one of the first languages I learned and I still think it's quite (the best?) good way of visualizing concurrency as well as function based languages
 
12:32 PM
o/
 
1:12 PM
Can someone help me understand why this conditional isn't working as expected?

I want the itemID == queryString to take the higher precedence over the tableUserTitle == thisUserTitle. Because if the itemID == queryString, I only want that matching item to show. It is pulling the substring from a URL parameter from a new task item created, and when emailed to the user. I only want them to see the one just created. But at any other time when they visit the page without the parameter, it shows all of their different current tasks.
if (itemID == queryString) {
  return true;
}
      if(tableUserTitle == thisUserTitle){
return true;
}
 
1:34 PM
I figured it out, missed a crucial part of queryString being null
 
Ah.. D brings back memories from university. I wrote an Article once about Performance Analysis/Benchmarking on OpenSolaris Systems with DTrace (and the Kernel Tracing Subsystem), the "scripts" where written in D and I played a bit around with it and the Digital Mars D compiler. Never had a chance to use it after that thought and forgot about it..
 
2:34 PM
@makadev logic question
!== is strict inequality operator correct? "not equal value or not equal type"
The datatables filter plugins are all global so if I have tabbed/multiple tables. I have to create a condition in each filter to apply to each table
if ( settings.sTableId !== 'exampleTable' ) {
        return true;
      }
Why does this apply the filter search to exampleTable and not exampleTable2? I feel like it should be the opposite. It would make more sense if it was settings.sTableId == 'exampleTable' then it would apply the filter
 
1. you can write this much more readable with `return settings.sTableId !== 'exampleTable'`
2. that line has no effect by itself, where is it used?
 
$.fn.dataTable.ext.search.push(
    function( settings,searchData, data, dataIndex ) {

      var tableUserTitle = searchData[0];

      var itemID = searchData[7];
      if ( settings.sTableId !== 'exampleTable2' ) {
        return true;
      }

      if (itemID == queryString) {
        return true;
      }
      if (queryString === null && tableUserTitle == thisUserTitle){
        return true;
      }
      return false;
    }
);
It works, and that is how it is documented on the datatables site, but the logic is confusing
 
3:02 PM
You said it yourself, the search/filtering is global. And you need to return false to filter something and true for everything else (skipped and not filtered).
so if (<notThisTable>) return true; is simply a guard which skips the rest of the function (anbd the filtering) if it's applied to another tables data
you could also rewrite it as nested if clauses which might make more sense but "guards" might be more readable
$.fn.dataTable.ext.search.push(
  function( settings,searchData, data, dataIndex ) {
    var tableUserTitle = searchData[0];
    var itemID = searchData[7];

    if ( settings.sTableId === 'exampleTable2' ) {
       if (itemID != queryString) {
         if (queryString !== null || tableUserTitle != thisUserTitle){
           return false;
         }
       }
    }
    return true;
  }
);
this f.e. is the semantic equivalent using nested if's instead of guards (and hence negated conditions)
 
3:19 PM
The condition itemID != to queryString doesn't work. Its either a value or null, and it works when I use queryString == null, it works
 
 
1 hour later…
4:32 PM
posted on September 16, 2021 by Prudhvikumar Bommana

 The Dev channel has been updated to 95.0.4638.10 for Windows, Linux and Mac A partial list of changes is available in the log. Interested in switching release channels? Find out how. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Prudhvikumar Bommana Google Chrome

 
 
5 hours later…
9:56 PM
posted on September 16, 2021 by Matt

The Beta channel has been updated to 94.0.4606.50 (Platform version: 14150.32.0) for most Chrome OS devices. This build contains a number of bug fixes, security updates and feature enhancements.  If you find issues, please let us know by visiting our forum or filing a bug. Interested in switching channels? Find out how. You can submit feedback using

 

« first day (3988 days earlier)      last day (943 days later) »