All Posts
Apache Spark The number of cores vs the number of executors
Im trying to understand the relationship of the number of cores and the number of executors when running a Spark job on YARN The test environment is as follows
Appending an element to the end of a list in Scala
I cant add an element of type T into a list ListT I tried with myList myElement but it seems it creates a strange object and accessing to myListlast always
Automatically set appsettingsjson for dev and release environments in aspnet core
Ive defined some values in my appsettingsjson for things like database connection strings webapi locations and the like which are different for development
C Events and Thread Safety
I frequently hearread the following advice Always make a copy of an event before you check it for null and fire it This will eliminate a potential problem with
Can you attach a UIGestureRecognizer to multiple views
UITapGestureRecognizer tapGesture UITapGestureRecognizer alloc initWithTargetself actionselectortapTapTap selfview1 addGestureRecognizertapGesture selfview2
Change the current directory from a Bash script
Is it possible to change current directory from a script I want to create a utility for directory navigation in Bash I have created a test script that looks
Change Twitter Bootstrap Tooltip content on click
I have a tooltip on an anchor element that sends an AJAX request on click This element has a tooltip from Twitter Bootstrap I want the tooltip content to
Check whether there is an Internet connection available on Flutter app
I have a network call to be executed But before doing that I need to check whether the device have internet connectivity This is what i have done so far var
Convert a namedtuple into a dictionary
I have a named tuple class in python class TowncollectionsnamedtupleTown name population coordinates population capital statebird Id like to convert Town