| Drawing area line width: | |
| Drawing area font size: | |
| Drawing area scale: | |
| Non drawing area scale: | |
| Set another background color for the GUI frame and the dialog boxes |
| Turning AA on and off does not work with IE 9 & 10 (it is always on). |
| Set options: | ||
| Customize the help URL: | ||
| Display a message in the bottom bar: | ||
| Customize the InChIKey search base URL: | ||
| Customize the InChIKey search using a custom function. In this example, the search function is replaced by opening a simple alert. | ||
| Reset InChIKey search to its default function. |
| Import predefined chemical structure to applet: | ||
| Export chemical structure from applet: | ||||
| Import chemical structure from text area above to applet: | ||


Trebek chokes up on 'Jeopardy!' after contestant's heartfelt message
Contestant answers 'We love you Alex!'
by Amir Vera, CNN(CNN) - Dhruv Gaur's answer on "Jeopardy!" brought host Alex Trebek to tears Monday.
During the "Final Jeopardy" round, Trebek asked contestants for their answers. When he got to Gaur, the host paused, according to CNN affiliate WBAL-TV
"We love you Alex!" Gaur wrote on his answer, worth $1,995. In place of the word love, Gaur wrote a heart.
"That's very kind of you, thank you," Trebek said, choking up. The "wrong" answer cost left Gaur with $5.
Right before Gaur's message, Trebek shared he was reentering treatment for pancreatic cancer, Gaur tweeted. Trebek announced his diagnosis in March.
"We were all hurting for him so badly," Gaur tweeted. "When Final Jeopardy came up, I could've tried to puzzle it together, but really, just kept thinking about Alex."
Gaur was glad he got to say "what everybody at the tournament was thinking."
The other contestants announced last week they're organizing a charitable play-along as well to raise money for pancreatic cancer research.
Since announcing the diagnosis, Trebek has worked to raise awareness about the disease.
He teamed up with the World Pancreatic Cancer Coalition to make a video last month encouraging people to wear purple in November and help spread the word about the disease and its symptoms on social media.
Pancreatic cancer is often deadly and goes undiagnosed until late stages.
World Pancreatic Cancer Day is November 21.


Dante
Tiger
Click Here To See more
... Or Here
Types of Tigers:
Bengal
Siberian
South China
Bali
Caspian
Tigers in the Wild


5 members | 10 Datasets Leave
Susan, Dr, Brisebe, Ngong Road, Quaru
2 members
34 members Leave
1 members | 1 Datasets Join
Matt


blendMode
property of the
flash.display.DisplayObject class.blendMode
parameter of the draw()
method of the flash.display.BitmapData classblendMode
property of the
parent display object be set to
flash.display.BlendMode.LAYER
.
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0xDDCC00(because 0xFF > 0xDD, 0xCC < 0xF8, and 0x33 > 0x00 = 33).
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0x222C33(because 0xFF - 0xDD = 0x22, 0xF8 - 0xCC = 0x2C, and 0x33 - 0x00 = 0x33).
blendMode
property of the parent
display object be set to flash.display.BlendMode.LAYER
.
Not supported under GPU rendering.
Not supported under GPU rendering.
blendMode
setting other than "normal"
.
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0xFFF833(because 0xFF > 0xDD, 0xCC < 0xF8, and 0x33 > 0x00 = 33).
Not supported under GPU rendering.
For example, if a constituent color(such as red) of one pixel in the display object and the corresponding color of the pixel in the background both have the value 0x88, the multiplied result is 0x4840. Dividing by 0xFF yields a value of 0x48 for that constituent color, which is a darker shade than the color of the display object or the color of the background.
Not supported under GPU rendering.
Setting the blendShader
property to a Shader instance
automatically sets the display object's blendMode
property to
BlendMode.SHADER
. If the blendMode
property is
set to BlendMode.SHADER
without first setting the
blendShader
property, the blendMode
property is
set to BlendMode.NORMAL
instead. If the
blendShader
property is set(which sets the
blendMode
property to BlendMode.SHADER
), then
later the value of the blendMode
property is changed, the
blend mode can be reset to use the blend shader simply by setting the
blendMode
property to BlendMode.SHADER
. The
blendShader
property does not need to be set again except to
change the shader that's used to define the blend mode.
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xAA2233, and the background pixel has an RGB value of 0xDDA600, the resulting RGB value for the displayed pixel is 0x338400(because 0xDD - 0xAA = 0x33, 0xA6 - 0x22 = 0x84, and 0x00 - 0x33 < 0x00).
For example, if the display object has a pixel with an RGB value of 0xAAA633, and the background pixel has an RGB value of 0xDD2200, the resulting RGB value for the displayed pixel is 0xFFC833(because 0xAA + 0xDD > 0xFF, 0xA6 + 0x22 = 0xC8, and 0x33 + 0x00 = 0x33).


- C
-
- calculate_average_additional_confirm_time,
- calculate_average_completion_time,
- calculate_average_number_of_patients_transported,
- calculate_average_number_of_vehicles_requested,
- calculate_average_original_confirm_time,
- calculate_average_transport_time,
- calculate_number_of_additional_request_no_replies,
- calculate_number_of_additional_request_replies,
- calculate_number_of_additional_requests,
- calculate_number_of_assigned_incidents,
- calculate_number_of_cancel_messages,
- calculate_number_of_incidents_completed,
- calculate_number_of_original_request_no_replies,
- calculate_number_of_original_request_replies,
- calculate_number_of_original_requests,
- calculate_number_of_times_arrival_at_hospital_confirmed,
- calculate_number_of_times_cancelled_after_on_scene,
- calculate_number_of_times_confirmed_on_scene,
- calculate_number_of_times_incident_commander,
- calculate_number_of_times_resources_requested,
- calculate_number_of_times_transport_confirmed,
- calculate_number_of_unable_to_locate_messages,
- calculate_percentage_of_additional_request_no_replies,
- calculate_percentage_of_additional_request_replies,
- calculate_percentage_of_assigned_incidents,
- calculate_percentage_of_cancel_messages,
- calculate_percentage_of_confirmed_on_scene,
- calculate_percentage_of_incidents_completed,
- calculate_percentage_of_original_request_no_replies,
- calculate_percentage_of_original_request_replies,
- calculate_percentage_of_original_requests,
- calculate_percentage_of_times_arrival_at_hospital_confirmed,
- calculate_percentage_of_times_cancelled_after_on_scene,
- calculate_percentage_of_times_incident_commander,
- calculate_percentage_of_times_resources_requested,
- calculate_percentage_of_times_transport_confirmed,
- calculate_percentage_of_unable_to_locate_messages,
- calculate_total_number_of_patients_transported,
- calculate_total_number_of_vehicles_requested
- N
| [RW] | average_additional_confirm_time | |
| [RW] | average_completion_time | |
| [RW] | average_number_of_patients_transported | |
| [RW] | average_number_of_vehicles_requested | |
| [RW] | average_original_confirm_time | |
| [RW] | average_transport_time | |
| [RW] | first_responder | |
| [RW] | number_of_additional_request_no_replies | |
| [RW] | number_of_additional_request_replies | |
| [RW] | number_of_additional_requests | |
| [RW] | number_of_assigned_incidents | |
| [RW] | number_of_cancel_messages | |
| [RW] | number_of_incidents_completed | |
| [RW] | number_of_original_request_no_replies | |
| [RW] | number_of_original_request_replies | |
| [RW] | number_of_original_requests | |
| [RW] | number_of_times_arrival_at_hospital_confirmed | |
| [RW] | number_of_times_cancelled_after_on_scene | |
| [RW] | number_of_times_confirmed_on_scene | |
| [RW] | number_of_times_incident_commander | |
| [RW] | number_of_times_resources_requested | |
| [RW] | number_of_times_transport_confirmed | |
| [RW] | number_of_unable_to_locate_messages | |
| [RW] | percentage_of_additional_request_no_replies | |
| [RW] | percentage_of_additional_request_replies | |
| [RW] | percentage_of_assigned_incidents | |
| [RW] | percentage_of_cancel_messages | |
| [RW] | percentage_of_confirmed_on_scene | |
| [RW] | percentage_of_incidents_completed | |
| [RW] | percentage_of_original_request_no_replies | |
| [RW] | percentage_of_original_request_replies | |
| [RW] | percentage_of_original_requests | |
| [RW] | percentage_of_times_arrival_at_hospital_confirmed | |
| [RW] | percentage_of_times_cancelled_after_on_scene | |
| [RW] | percentage_of_times_incident_commander | |
| [RW] | percentage_of_times_resources_requested | |
| [RW] | percentage_of_times_transport_confirmed | |
| [RW] | percentage_of_unable_to_locate_messages | |
| [RW] | total_number_of_patients_transported | |
| [RW] | total_number_of_vehicles_requested |
Source: show
# File app/models/first_responder_report.rb, line 43 def initialize(first_responder) self.first_responder = first_responder self.number_of_original_requests = self.calculate_number_of_original_requests self.percentage_of_original_requests = self.calculate_percentage_of_original_requests self.number_of_original_request_replies = self.calculate_number_of_original_request_replies self.number_of_original_request_no_replies = self.calculate_number_of_original_request_no_replies self.percentage_of_original_request_replies = self.calculate_percentage_of_original_request_replies self.percentage_of_original_request_no_replies = self.calculate_percentage_of_original_request_no_replies self.average_original_confirm_time = self.calculate_average_original_confirm_time self.number_of_additional_requests = self.calculate_number_of_additional_requests self.number_of_additional_request_replies = self.calculate_number_of_additional_request_replies self.number_of_additional_request_no_replies = self.calculate_number_of_additional_request_no_replies self.percentage_of_additional_request_replies = self.calculate_percentage_of_additional_request_replies self.percentage_of_additional_request_no_replies = self.calculate_percentage_of_additional_request_no_replies self.average_additional_confirm_time = self.calculate_average_additional_confirm_time self.number_of_assigned_incidents = self.calculate_number_of_assigned_incidents self.percentage_of_assigned_incidents = self.calculate_percentage_of_assigned_incidents self.number_of_times_confirmed_on_scene = self.calculate_number_of_times_confirmed_on_scene self.percentage_of_confirmed_on_scene = self.calculate_percentage_of_confirmed_on_scene self.number_of_times_incident_commander = self.calculate_number_of_times_incident_commander self.percentage_of_times_incident_commander = self.calculate_percentage_of_times_incident_commander self.number_of_cancel_messages = self.calculate_number_of_cancel_messages self.percentage_of_cancel_messages = self.calculate_percentage_of_cancel_messages self.number_of_unable_to_locate_messages = self.calculate_number_of_unable_to_locate_messages self.percentage_of_unable_to_locate_messages = self.calculate_percentage_of_unable_to_locate_messages self.number_of_times_resources_requested = self.calculate_number_of_times_resources_requested self.percentage_of_times_resources_requested = self.calculate_percentage_of_times_resources_requested self.total_number_of_vehicles_requested = self.calculate_total_number_of_vehicles_requested self.average_number_of_vehicles_requested = self.calculate_average_number_of_vehicles_requested self.number_of_times_transport_confirmed = self.calculate_number_of_times_transport_confirmed self.percentage_of_times_transport_confirmed = self.calculate_percentage_of_times_transport_confirmed self.total_number_of_patients_transported = self.calculate_total_number_of_patients_transported self.average_number_of_patients_transported = self.calculate_average_number_of_patients_transported self.number_of_times_cancelled_after_on_scene = self.calculate_number_of_times_cancelled_after_on_scene self.percentage_of_times_cancelled_after_on_scene = self.calculate_percentage_of_times_cancelled_after_on_scene self.number_of_times_arrival_at_hospital_confirmed = self.calculate_number_of_times_arrival_at_hospital_confirmed self.percentage_of_times_arrival_at_hospital_confirmed = self.calculate_percentage_of_times_arrival_at_hospital_confirmed self.average_transport_time = self.calculate_average_transport_time self.number_of_incidents_completed = self.calculate_number_of_incidents_completed self.percentage_of_incidents_completed = self.calculate_percentage_of_incidents_completed self.average_completion_time = self.calculate_average_completion_time end
Source: show
# File app/models/first_responder_report.rb, line 171 def calculate_average_additional_confirm_time first_responder_performance_data = FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_reply_additional_request: true) good_data_count = 0 sum_of_differences = 0.0 first_responder_performance_data.each do |datum| if datum.time_of_additional_request_reply.present? && datum.time_of_additional_request.present? good_data_count += 1 sum_of_differences += datum.time_of_additional_request_reply - datum.time_of_additional_request end end return good_data_count > 0 ? sum_of_differences / good_data_count.to_f : nil end
Source: show
# File app/models/first_responder_report.rb, line 334 def calculate_average_completion_time first_responder_performance_data = FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_complete: true) .where.not(time_of_original_request: nil) .where.not(time_of_incident_complete: nil) return nil if first_responder_performance_data.length == 0 sum_of_differences = 0.0 first_responder_performance_data.each do |datum| sum_of_differences += datum.time_of_incident_complete - datum.time_of_original_request end return sum_of_differences / first_responder_performance_data.length.to_f end
Source: show
# File app/models/first_responder_report.rb, line 282 def calculate_average_number_of_patients_transported return nil if self.number_of_times_transport_confirmed == 0 return self.total_number_of_patients_transported.to_f / self.number_of_times_transport_confirmed.to_f end
Source: show
# File app/models/first_responder_report.rb, line 259 def calculate_average_number_of_vehicles_requested return nil if self.number_of_times_incident_commander == 0 return self.total_number_of_vehicles_requested.to_f / self.number_of_times_incident_commander.to_f end
Source: show
# File app/models/first_responder_report.rb, line 128 def calculate_average_original_confirm_time first_responder_performance_data = FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_reply_original_request: true) good_data_count = 0 sum_of_differences = 0.0 first_responder_performance_data.each do |datum| if datum.time_of_original_request_reply.present? && datum.time_of_original_request.present? good_data_count += 1 sum_of_differences += datum.time_of_original_request_reply - datum.time_of_original_request end end return good_data_count > 0 ? sum_of_differences / good_data_count.to_f : nil end
Source: show
# File app/models/first_responder_report.rb, line 310 def calculate_average_transport_time first_responder_performance_data = FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_arrival: true) .where.not(time_of_confirm_transport: nil) .where.not(time_of_confirm_arrival: nil) return nil if first_responder_performance_data.length == 0 sum_of_differences = 0.0 first_responder_performance_data.each do |datum| sum_of_differences += datum.time_of_confirm_arrival - datum.time_of_confirm_transport end return sum_of_differences / first_responder_performance_data.length.to_f end
Source: show
# File app/models/first_responder_report.rb, line 154 def calculate_number_of_additional_request_no_replies return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where.not(time_of_additional_request: nil) .where(did_reply_additional_request: [false, nil]) .count end
Source: show
# File app/models/first_responder_report.rb, line 148 def calculate_number_of_additional_request_replies return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_reply_additional_request: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 142 def calculate_number_of_additional_requests return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where.not(time_of_additional_request: nil) .count end
Source: show
# File app/models/first_responder_report.rb, line 185 def calculate_number_of_assigned_incidents return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(was_assigned: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 219 def calculate_number_of_cancel_messages return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_cancel: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 323 def calculate_number_of_incidents_completed return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_complete: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 112 def calculate_number_of_original_request_no_replies return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_reply_original_request: [false, nil]) .count end
Source: show
# File app/models/first_responder_report.rb, line 106 def calculate_number_of_original_request_replies return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_reply_original_request: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 96 def calculate_number_of_original_requests return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .count end
Source: show
# File app/models/first_responder_report.rb, line 299 def calculate_number_of_times_arrival_at_hospital_confirmed return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_arrival: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 287 def calculate_number_of_times_cancelled_after_on_scene return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_on_scene: true) .where(did_cancel: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 197 def calculate_number_of_times_confirmed_on_scene return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_on_scene: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 208 def calculate_number_of_times_incident_commander return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(was_incident_commander: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 241 def calculate_number_of_times_resources_requested return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_request_resources: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 264 def calculate_number_of_times_transport_confirmed return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_transport: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 230 def calculate_number_of_unable_to_locate_messages return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(was_unable_to_locate: true) .count end
Source: show
# File app/models/first_responder_report.rb, line 166 def calculate_percentage_of_additional_request_no_replies return nil if self.number_of_additional_requests == 0 return self.number_of_additional_request_no_replies.to_f / self.number_of_additional_requests.to_f end
Source: show
# File app/models/first_responder_report.rb, line 161 def calculate_percentage_of_additional_request_replies return nil if self.number_of_additional_requests == 0 return self.number_of_additional_request_replies.to_f / self.number_of_additional_requests.to_f end
Source: show
# File app/models/first_responder_report.rb, line 191 def calculate_percentage_of_assigned_incidents number_of_replies = self.number_of_original_request_replies + self.number_of_additional_request_replies return nil unless number_of_replies > 0 return self.number_of_assigned_incidents.to_f / number_of_replies.to_f end
Source: show
# File app/models/first_responder_report.rb, line 225 def calculate_percentage_of_cancel_messages return nil if self.number_of_assigned_incidents == 0 return self.number_of_cancel_messages.to_f / self.number_of_assigned_incidents.to_f end
Source: show
# File app/models/first_responder_report.rb, line 203 def calculate_percentage_of_confirmed_on_scene return nil if self.number_of_assigned_incidents == 0 return self.number_of_times_confirmed_on_scene.to_f / self.number_of_assigned_incidents.to_f end
Source: show
# File app/models/first_responder_report.rb, line 329 def calculate_percentage_of_incidents_completed return nil if self.number_of_assigned_incidents == 0 return self.number_of_incidents_completed.to_f / self.number_of_assigned_incidents.to_f end
Source: show
# File app/models/first_responder_report.rb, line 123 def calculate_percentage_of_original_request_no_replies return nil if self.number_of_original_requests == 0 return self.number_of_original_request_no_replies.to_f / self.number_of_original_requests.to_f end
Source: show
# File app/models/first_responder_report.rb, line 118 def calculate_percentage_of_original_request_replies return nil if self.number_of_original_requests == 0 return self.number_of_original_request_replies.to_f / self.number_of_original_requests.to_f end
Source: show
# File app/models/first_responder_report.rb, line 101 def calculate_percentage_of_original_requests total_count = FirstResponderPerformanceDatum.all.count return total_count > 0 ? self.number_of_original_requests.to_f / total_count.to_f : nil end
Source: show
# File app/models/first_responder_report.rb, line 305 def calculate_percentage_of_times_arrival_at_hospital_confirmed return nil if self.number_of_times_transport_confirmed == 0 return self.number_of_times_arrival_at_hospital_confirmed.to_f / self.number_of_times_transport_confirmed.to_f end
Source: show
# File app/models/first_responder_report.rb, line 294 def calculate_percentage_of_times_cancelled_after_on_scene return nil if self.number_of_times_confirmed_on_scene == 0 return self.number_of_times_cancelled_after_on_scene.to_f / self.number_of_times_confirmed_on_scene.to_f end
Source: show
# File app/models/first_responder_report.rb, line 214 def calculate_percentage_of_times_incident_commander return nil if self.number_of_assigned_incidents == 0 return self.number_of_times_incident_commander.to_f / self.number_of_assigned_incidents.to_f end
Source: show
# File app/models/first_responder_report.rb, line 247 def calculate_percentage_of_times_resources_requested return nil if self.number_of_times_incident_commander == 0 return self.number_of_times_resources_requested.to_f / self.number_of_times_incident_commander.to_f end
Source: show
# File app/models/first_responder_report.rb, line 270 def calculate_percentage_of_times_transport_confirmed return nil if self.number_of_times_confirmed_on_scene == 0 return self.number_of_times_transport_confirmed.to_f / self.number_of_times_confirmed_on_scene.to_f end
Source: show
# File app/models/first_responder_report.rb, line 236 def calculate_percentage_of_unable_to_locate_messages return nil if self.number_of_assigned_incidents == 0 return self.number_of_unable_to_locate_messages.to_f / self.number_of_assigned_incidents.to_f end
Source: show
# File app/models/first_responder_report.rb, line 275 def calculate_total_number_of_patients_transported return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_confirm_transport: true) .where.not(patients_transported: nil) .sum(:patients_transported) end
Source: show
# File app/models/first_responder_report.rb, line 252 def calculate_total_number_of_vehicles_requested return FirstResponderPerformanceDatum.where(first_responder: self.first_responder) .where(did_request_resources: true) .where.not(vehicles_requested: nil) .sum(:vehicles_requested) end


Malaika Arora Enjoys Auto Rikshaw Ride With Parents as She Does Away With Her Luxury Car
Malaika Arora ditches her car and opts for an auto ride. See pictures
Malaika Arora, who was recently making headlines for a stylish appearance with sister Amrita Arora at an event wearing a plush red dress, just, took some time out to enjoy a perfectly normal life with her family. The 46-year-old hot mommy never fails to impress us with her amazing style sense and sartorial fashion choices. This time, she set the Instagram at a different level when she ditched her own luxurious car and instead took an auto-rickshaw ride.
In the pictures, shared by paps, Malaika Arora can be seen sitting in between her parents and experiencing an auto-rickshaw ride just like another Mumbai girl. The actor opted for a white shirt dress teamed with brown ankle boots and a hat.
Malaika Arora is among many Bollywood actors who are often clicked while they leave their homes. Apart from her, Sara Ali Khan, Kareena Kapoor Khan, Mira Kapoor, Kiara Advani, Amrita Arora, Taimur and Janhvi Kapoor are the favorites of paps.
Take a look at Malaika Arora’s pictures:
From giving a sneak-peek into her exotic vacation to setting fashion goals for all the hotties, Malaika loves to stay connected with her fans through Instagram.
She has been in the news off late owing to her relationship with Arjun Kapoor. The actor had made her relationship with Arjun Insta official a long time back by sharing a picture of the two of them together. They are being watched closely by fans ever since they made the relationship public. They have maintained that they are living a happy life together. On the work front, Malaika is busy with the launch of her yoga training centers.
For breaking news and live news updates, like us on Facebook or follow us on Twitter and Instagram. Read more on Entertainment Latest News on India.com.
Story Timeline
- 18 Nov 2019 Malaika Arora Enjoys Auto Rikshaw Ride With Parents as She Does Away With Her Luxury Car
- 15 Nov 2019 Karan Johar's Party For Katy Perry: Bollywood Gives Warm Welcome to International Singer
- 09 Nov 2019 Malaika Arora And Arbaaz Khan Share Adorable Birthday Wishes For Son Arhaan Khan Who Turns 17
- 28 Oct 2019 Kapoor Sisters Karisma-Kareena Leave Fans And Malaika Arora Craving For THIS Post Diwali Lunch
Comments - Join the Discussion


In my weekly articles, I share knowledge about productivity, software and machine learning. My posts were recognised by some of the biggest publications so if you have an amazing idea in mind, hit me up and I would love to collaborate.
I read 1.5 books a week. Actually I don't read - I listen using Audible. This saves me so much time - I can use it while walking or eating. Hope you get insipred to try it out. Here is a list with my most favourite books.


Public Member Functions |
| template<typename Handler > |
| const GenericValue & | Accept (Handler &handler) const |
| | Generate events of this value to a Handler.
|
|
| GenericValue & | operator= (GenericValue &rhs) |
| | Assignment with move semantics.
|
| template<typename T > |
| GenericValue & | operator= (T value) |
| | Assignment with primitive types.
|
|
|
Type | GetType () const |
|
bool | IsNull () const |
|
bool | IsFalse () const |
|
bool | IsTrue () const |
|
bool | IsBool () const |
|
bool | IsObject () const |
|
bool | IsArray () const |
|
bool | IsNumber () const |
|
bool | IsInt () const |
|
bool | IsUint () const |
|
bool | IsInt64 () const |
|
bool | IsUint64 () const |
|
bool | IsDouble () const |
|
bool | IsString () const |
|
|
GenericValue & | SetNull () |
|
|
bool | GetBool () const |
|
GenericValue & | SetBool (bool b) |
|
|
GenericValue & | SetObject () |
| | Set this value as an empty object.
|
|
GenericValue & | operator[] (const Ch *name) |
| | Get the value associated with the object's name.
|
|
const GenericValue & | operator[] (const Ch *name) const |
|
ConstMemberIterator | MemberBegin () const |
| | Member iterators.
|
|
ConstMemberIterator | MemberEnd () const |
|
MemberIterator | MemberBegin () |
|
MemberIterator | MemberEnd () |
|
bool | HasMember (const Ch *name) const |
| | Check whether a member exists in the object.
|
| GenericValue & | AddMember (GenericValue &name, GenericValue &value, Allocator &allocator) |
| | Add a member (name-value pair) to the object.
|
|
GenericValue & | AddMember (const Ch *name, Allocator &nameAllocator, GenericValue &value, Allocator &allocator) |
|
GenericValue & | AddMember (const Ch *name, GenericValue &value, Allocator &allocator) |
|
template<typename T > |
| GenericValue & | AddMember (const Ch *name, T value, Allocator &allocator) |
| bool | RemoveMember (const Ch *name) |
| | Remove a member in object by its name.
|
|
|
GenericValue & | SetArray () |
| | Set this value as an empty array.
|
|
SizeType | Size () const |
| | Get the number of elements in array.
|
|
SizeType | Capacity () const |
| | Get the capacity of array.
|
|
bool | Empty () const |
| | Check whether the array is empty.
|
| void | Clear () |
| | Remove all elements in the array.
|
| GenericValue & | operator[] (SizeType index) |
| | Get an element from array by index.
|
|
const GenericValue & | operator[] (SizeType index) const |
|
ValueIterator | Begin () |
| | Element iterator.
|
|
ValueIterator | End () |
|
ConstValueIterator | Begin () const |
|
ConstValueIterator | End () const |
| GenericValue & | Reserve (SizeType newCapacity, Allocator &allocator) |
| | Request the array to have enough capacity to store elements.
|
| GenericValue & | PushBack (GenericValue &value, Allocator &allocator) |
| | Append a value at the end of the array.
|
|
template<typename T > |
| GenericValue & | PushBack (T value, Allocator &allocator) |
|
GenericValue & | PopBack () |
| | Remove the last element in the array.
|
|
|
int | GetInt () const |
|
unsigned | GetUint () const |
|
int64_t | GetInt64 () const |
|
uint64_t | GetUint64 () const |
|
double | GetDouble () const |
|
GenericValue & | SetInt (int i) |
|
GenericValue & | SetUint (unsigned u) |
|
GenericValue & | SetInt64 (int64_t i64) |
|
GenericValue & | SetUint64 (uint64_t u64) |
|
GenericValue & | SetDouble (double d) |
|
|
const Ch * | GetString () const |
| SizeType | GetStringLength () const |
| | Get the length of string.
|
| GenericValue & | SetString (const Ch *s, SizeType length) |
| | Set this value as a string without copying source string.
|
| GenericValue & | SetString (const Ch *s) |
| | Set this value as a string without copying source string.
|
| GenericValue & | SetString (const Ch *s, SizeType length, Allocator &allocator) |
| | Set this value as a string by copying from source string.
|
| GenericValue & | SetString (const Ch *s, Allocator &allocator) |
| | Set this value as a string by copying from source string.
|
Constructors and destructor. |
|
| GenericValue () |
| | Default constructor creates a null value.
|
| | GenericValue (Type type) |
| | Constructor with JSON value type.
|
|
| GenericValue (bool b) |
| | Constructor for boolean value.
|
|
| GenericValue (int i) |
| | Constructor for int value.
|
|
| GenericValue (unsigned u) |
| | Constructor for unsigned value.
|
|
| GenericValue (int64_t i64) |
| | Constructor for int64_t value.
|
|
| GenericValue (uint64_t u64) |
| | Constructor for uint64_t value.
|
|
| GenericValue (double d) |
| | Constructor for double value.
|
|
| GenericValue (const Ch *s, SizeType length) |
| | Constructor for constant string (i.e. do not make a copy of string)
|
|
| GenericValue (const Ch *s) |
| | Constructor for constant string (i.e. do not make a copy of string)
|
|
| GenericValue (const Ch *s, SizeType length, Allocator &allocator) |
| | Constructor for copy-string (i.e. do make a copy of string)
|
|
| GenericValue (const Ch *s, Allocator &allocator) |
| | Constructor for copy-string (i.e. do make a copy of string)
|
| | ~GenericValue () |
| | Destructor.
|
template<typename Encoding, typename Allocator = MemoryPoolAllocator<>>
class rapidjson::GenericValue< Encoding, Allocator >
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
A JSON value can be one of 7 types. This class is a variant type supporting these types.
Use the Value if UTF8 and default allocator
- Template Parameters
-
| Encoding | Encoding of the value. (Even non-string values need to have the same encoding in a document) |
| Allocator | Allocator type for allocating memory of object, array and string. |


template Strings
Pre ES6
var name="Jason";
var age=-932;
var sentence="My Name is "+
name+" and I am "+age+
" years old";
console.log(sentence)
ES6
const name="Jason";
const age=-932;
//Notice use of `
const sentence =`Hello My name is ${name}
//Line break witout /n or +
My Age is ${age}`;
console.log(sentence);
//Expression interpolation
console.log(
`My age now is ${age+1}`
)


--- layout: default title: "engage the public to prioritize open data releases" seoDescription: "OpenDataVote - engage the public to prioritize open data releases" page-class: homepage header: title: "Engage the public to prioritize open data releases" blurb: "Community groups nominate data that would help them have greater postive impact, then the public votes for the data they want to support." button: text: "Join the cause" link: "#call-to-action" c2a: title: "OpenDataVote in Philadelphia has come to a close!" phase: "Winning organizations announced." button: text: "Read more" link: "/history" purpose: title: "OpenDataVote encourages citizens to get involved in the process of open government and cultivates government transparency through the release of data." subtitle: about: title: "Timeline" subtitle: "This initiative is generally divided into 4 phases, but this process can be modified to fit your needs! Check out the Guide for more info how how to run your own OpenDataVote." phase: one: title: "Nomination" subtitle: "Phase 1" blurb: "Organizations submit nominations for existing unpublished data they would like the government to release as open data." two: title: "Voting" subtitle: "Phase 2" blurb: "The general public votes for the data nomination that they would like published as open data." three: title: "Data Release" subtitle: "Phase 3" blurb: "Local government coordinates with OpenDataVote partners and nominating organizations to publish data sets that receive the most votes from the public." four: title: "Results" subtitle: "Phase 4" blurb: "Open data access allows participating organizations, government agencies, and the general public to complete projects that benefit the community." quote: title: "Open data is often presented as rows and tables of text, numbers, and shapes. But most people aren't going to be familiar with how to use data. We want to help them transform data into applications and visualizations that inform the public, inspire action, and help improve our region’s well-being." subtitle: "- Robert Cheetham, Founder & CEO of Azavea" calendar: title: "Dates to Remember" keydates: - keydate: day: "Monday" date: "March 6, 2017" event: "Data set nominations open" - keydate: day: "Friday" date: "March 31, 2017" event: "Data set nominations close" - keydate: day: "Monday" date: "April 10, 2017" event: "Voting begins" - keydate: day: "Monday" date: "May 1, 2017" event: "Voting ends at 5:00pm ET" - keydate: day: "Tuesday" date: "May 2, 2017" event: "Winners announced" placements-sponsors: sponsors-title: "OpenDataVote would not be possible without contributions from generous sponsors." sponsors-c2a: "Would you like to support OpenDataVote? 100% of your donation will be awarded to nonprofits. Contact us." sponsors: - sponsor: image: "/images/sponsors/azavea.png" link: "https://www.azavea.com/" alt: "Azavea" - sponsor: image: "/images/sponsors/reed-tech.png" link: "http://www.reedtech.com/" alt: "Reed Tech" - sponsor: image: "/images/sponsors/knight-foundation.png" link: "https://www.knightfoundation.org/" alt: "Knight Foundation" - sponsor: image: "/images/partners/techimpact.png" link: "http://techimpact.org/" alt: "TechImpact PA" award-title: "The nonprofit organizations that win the most votes from the public will receive cash prizes from our generous sponsors" awards: - award: place: "First" prize: "$4,000" - award: place: "Second" prize: "$2,000" - award: place: "Third" prize: "$1,000" partners: title: "OpenDataVote is a cooperative effort between several organizations." partners: - partner: image: "/images/partners/azavea.png" link: "https://www.azavea.com/" alt: "Azavea" - partner: image: "/images/sponsors/cop.png" link: "https://beta.phila.gov/departments/office-of-open-data-and-digital-transformation/" alt: "City of Philadelphia" - partner: image: "/images/partners/generocity.png" link: "https://generocity.org/philly" alt: "Code for Philly" - partner: image: "/images/partners/techimpact.png" link: "http://techimpact.org/" alt: "TechImpact PA" - partner: image: "/images/partners/technically.png" link: "http://technical.ly/" alt: "Technically" - partner: image: "/images/partners/code-for-philly.png" link: "https://codeforphilly.org/" alt: "Code for Philly" ---
{{ page.purpose.subtitle }}
{{ page.about.subtitle }}
{{ page.about.phase.one.blurb }}
{{ page.about.phase.two.blurb }}
{{ page.about.phase.three.blurb }}
{{ page.about.phase.four.blurb }}
{{ page.quote.title }}
{{ page.quote.subtitle }}


[Example] 6000 markers
Demonstating: rendering 6000 markers on a map with tooltip.
The markers are aggregated using the count per city.
Open in a new window
View source code


Dear user, Thank you for signing up to TheFrontpage. Please click on the Link below to activate your account: Activate Enjoy :) TheFrontpage Stuff Team!


Celebrity X Factor's Levi Davis overcame anger issues from tough upbringing
EXCLUSIVE: X Factor: Celebrity's Try Star singer and rugby player Levi Davis, who performs alongside Thom Evans and Ben Foden, opens up on his tough childhood
by Irishmirror.ieRugby star Levi Davis has opened up about being in care as a youngster – and how it's spurring him on to Celebrity X Factor success.
Bath player Levi, 21, is in the ITV show’s semi-finals this weekend as part of trio Try Star along with Thom Evans and Ben Foden, both 34.
Speaking before the show he talked about how he was separated from his older brothers growing up.
He said: “They were 14 and 15, so they were put into older institutes. They weren’t at a family home, they were at a house.
"They left at 16 and went home, but I was seven so I had a while to go.”
He said initially it was “up and down” in foster care. He said: “I found it hard to adapt, was prone to running away and suffered from mood swings until around 12.
“It was tough because I thought I was going to go home and never did. I’d miss my mum.
"Once I was settled and got into a routine then things started to fall into place, my life started to turn around and I became just like any other kid, which was hugely important to fit in at school and not feel angry any more.”
He said rugby gave him a focus for his anger issues.
“I was upset at the system, upset at thinking life was trying to put me down all the time and thinking everything was out of my control, which is no real surprise during the early years,” he said.
“You feel once things get you down, it’s very hard to get up.
"But I’m so thankful that I’ve met so many really genuinely nice people who only ever did things for me out of love.
“They couldn’t have known which direction my life was going to go –successfully studying at university, being a professional rugby player and singing on X Factor.
"The fact it’s gone that way is thanks to them, their love and support.
“When I think back to where I was and compare it to now – being out in LA filming at Simon Cowell ’s house – it’s a pinch me moment.”
- Celebrity X Factor is on ITV1, 7.40pm.


| JS {htmlwidgets} | R Documentation |
This function JS()
marks character vectors with a special class, so
that it will be treated as literal JavaScript code when evaluated on the
client-side.
JS(...)
... |
character vectors as the JavaScript source code (all arguments will be pasted into one character string) |
Yihui Xie
library(htmlwidgets) JS('1 + 1') list(x = JS('function(foo) {return foo;}'), y = 1:10) JS('function(x) {', 'return x + 1;', '}')


A Conversation about Redux Getting Their Users Laid
When I was at GoogleIO, I received an email from Brent Griffith, one of the guys on the team behind Redux.com. Redux was mentioned recently on Hacker News, and rather than rewrite much of this commentary, I figured it would be more interesting to just post the conversation here.
Slightly edited to remove non-public and irrelevant bits. All substantive content is left completely unchanged.
Savvy readers will note that I basically just took something jwz said 3 years prior, and applied it to this situation. Shoulders, giants, etc.
Subject: Hi Isaac
9 messages
Brent Griffith Wed, May 28, 2008 at 1:46 PM
Hi Isaac,
My name is Brent and I noticed from your site, foohack, that we both share an interest in technology. I am always looking to network with other passionate individuals in this industry. I’m an early employee at Redux, a startup in the discovery space. We just raised… [some specifics about their funding which might not be public, I’m not sure.]
We’re a group of mostly engineers, and we’re always looking out for super-motivated, talented and outstanding developers to work with us.
Please let me know if you’re up for chatting sometime about Redux.
(if you would like to read more about Redux before we chat, you can go to http://www.redux.com/about.html. I can also give you an account to our private beta)
[contact info removed]
Best, Brent
[Times and when to talk. Brent sends me a link to the beta. We fail at IM.]
Isaac Schlueter Wed, May 28, 2008 at 6:06 PM
[Final “I’ll call you at this date/time”. Giving up on IM.]
FYI, not that this was necessarily your aim, I’m really not interested in leaving Yahoo any time in the near future.
I signed up for the beta. Looks interesting. Speaking of GoogleIO, is open social on your radar? Seems like OpenID/OAuth/OpenSocial could add an awful lot to your application with minimal overhead on your part. My gut reaction when it asked for a profile and avatar was “Aw, jeez, another one?” Seems like it would be a better strategy for you guys to focus on just the parts of your app that are unique and interesting, and outsource the rest. Again, just a 10-second reaction, I’ll delve into it more later.
Cheers! –i
Brent Griffith Wed, May 28, 2008 at 6:54 PM
[Availability confirmation. Acknowledgement of total IM fail.]
Yes, very perceptive. For sure, we are definitely watching Open Social and especially Facebook’s “opening moves” (lol). I agree with you about the focus statement. We are actually in a debate currently about whether/how to simplify and “go back to basics.” I hope we do.
I look forward to our talk,
Cheers, -Brent
Isaac Schlueter Thu, May 29, 2008 at 11:27 AM
Some other thoughts on Redux, no doubt influenced by thinking and talking intensely about the social web for a while, especially today and yesterday.
Have you read this article? http://www.jwz.org/doc/groupware.html
I stumbled across it a few years ago, and it provides an absolutely brilliant razer for developing software with any kind of social component. (Which, today, is almost all software, period.)
It seems like there’s something oddly promising in Redux, but the value that it adds doesn’t seem like it’s exposed very well, or like it’s somehow unfocused. It almost seems at first like it’s trying to be YouTube or iLike or Facebook… but the vitality and social-ness isn’t done as well as Facebook, and the ratings and recommendations interaction isn’t on par with iLike, and the videos are all available on YouTube anyhow… It feels like I’m missing something. I suspect that if I’m missing it, then the average 20-something in his dorm room will miss it too, and instead of telling you, he’ll just go back to using Facebook, because that’s how he meets girls, and that’s all he cares about. (I’m guessing from the “chick” and “dude”, he’s who you’re going after?)
The design is certainly nicer looking than any of those sites (by a wide margin!) but I suspect that most people don’t much care about that. They’ve used plain text email and SMS forever, and MySpace is still extremely popular, despite looking like absolute hell. As an artist who cares about nice-looking and well-structured web pages (kudos on the clean semantic markup, btw), that matters a lot to me. But I’m in a very tiny minority. That 20-something is using MySpace for one reason, which is the only thing that he cares about. (Actually, these days, it’s a 30-something using MySpace, but let’s face it, that guy didn’t change much in 10 years.)
If you’re going to be a value-added aggregator that looks nice, why not actually be an aggregator, and aggregate really well? Use OAuth to link up with my Facebook or Twitter profile, and get my status/vitality events from there. Let me similarly link up with my Flickr account, and get a photo stream. If I have a friend on Facebook or Twitter or Myspace or, eventually, any OpenSocial container site, then show me their updates on Redux, so you “redux” the social graph as well as the content. (I think that Google FriendFinder might be useful or at least instructive, but I’m not terribly familiar with what they’ve done.) Try to pull their ratings and reviews from Yelp or CitySearch or Yahoo Local. And so on.
My suggestion would be to try to do as little as possible–and more importantly, ask your users to do as little as possible outside of their ordinary routine–in order to bring all these aspects of personal brand to one slick interface. Redux could be essentially a nice set of CSS styling around a collection of curl calls to various web services that other people (with deeper pockets) build and maintain for you, combined with an incredibly easy interface for users to add content to their personal list. So incredibly easy, in fact, that it’s painful by comparison to go post a video on Facebook. That’s a tall order, but I’m sure there are creative ways to do it. (Perhaps by tying into Facebook with an app that posts your Redux stuff to Facebook and vice-versa.)
But, of course, if you’re just an aggregator, then that’s boring. It only gets exciting when you start showing me other people–especially strangers (or even better, FOAFs) of similar age and opposite sex–who like the same things. Then the value proposition is, “Do whatever you want anywhere, but come here to find people who are into the same things.” It seems like that’s closer to the core value proposition of Redux, surfacing people based on interests, but it’s hidden under a lot of copycat baloney.
That will help your users get laid, because:
- it will help them traverse the search space more efficiently,
- it will help them create an advertisement to attract attention, and
- it will provide them with a selection of ice-breakers for potential partners.
By the way, being able to view a person’s profile, and click the name of a thing, and then add it to my profile… deviously brilliant. You like XYZ? Oh my god, I do too!
or on the flip side, He seems nice, but on his profile, he just has everything I do, even misspelled the same way.
If it sounds crude to reduce product decisions to “get my users laid,” I think it’s worthwhile to remember that this is just a stand-in for ALL social interaction. It just so happens that attracting a mate is about the most challenging and high-priority sort of human interaction, so if you can manage to help people out with that, you’ll also help them connect with their friends and family and coworkers. That’s why Facebook and MySpace are more far popular than any dating site; it’s like comparing meeting someone at work or school with meeting them at a singles bar.
I guess what I’m saying is that I hope you decide to go back to basics as well, largely because I think Redux seems to have the potential to be extremely cool, and I’d like to use it. As a young small company, you have the advantage of being able to identify the key area of differentiation, focus on it, and out-iterate the big guys. Pick the wrong area, and you lose. Pick the right area, and they can’t hope to keep up with their army of feature-happy and eyeball-greedy product managers. The open source community in the social web space is coming to the point where you don’t need to re-invent the other bits. Along with product managers, the big guys have armies of developers to do all the mundane stuff, and can run in many more directions at once than you can.
</$0.02>
Cheers! –i
Brent Griffith Thu, May 29, 2008 at 4:25 PM
Isaac,
Wow, just wow. Amazing, yours is probably the most thoughtful feedback we have received from any of our beta users. I really appreciate you taking your time to do that.
Great article. Thanks for sharing. I had never read that before, but it gets right at the heart of it. I particularly like that part, The trick you want to accomplish is that when one person is using your software, it suddenly provides value to that person and their entire circle of friends, without the friends having had to do anything at all. Then, later, you pull the friends into the fold: if one of them starts using the software, they become their own hub, and get the benefit they have already witnessed from a distance.
I believe that should be our goal and I think that with the new iteration of the site we are moving towards it.
I agree about your discussion on focus. I think that this is what we will accomplish by stripping down the site from the bloated legacy code that Redux is in its current state. We built the current version of Redux on top of our previous iteration and this was probably a mistake, thus why we have decided to simplify and refocus and build on top of that. We are also planning on aggregating like you said, linking up with Facebook and other networks. We’re very excited about the refocus and where our site is headed.
Once again, thank you immensely for your insightful and thoughtful feedback. I have distributed it throughout the organization for people to think about.
I look forward to our conversation tomorrow.
-Brent Griffith
The phone conversation was interesting, but since it wasn’t recorded digitally like the email thread, I forgot most of it. I remember being entertained by it, which is all I’d been looking for. Hopefully it was worth Brent’s time.
Isaac Schlueter Sun, Aug 17, 2008 at 1:27 PM
Brent,
Now that Redux is getting a bit more attention, I’m considering working this into an article on Foohack. (With all contact info stripped out, of course.) Any objections?
–i
Brent Griffith Mon, Aug 18, 2008 at 10:39 AM
Isaac,
Good to hear from you. Absolutely, go for it, no objections here. If you have any questions that you’d like answered, shoot them my way.
-Brent


1 BEFORE THE MADURAI BENCH OF MADRAS HIGH COURT Reserved on : 01.02.2019 Pronounced on : 18.03.2019 CORAM: THE HONOURABLE MR. JUSTICE K.K. SASIDHARAN and THE HONOURABLE MR. JUSTICE P.D. AUDIKESAVALU W.P. (MD) Nos. 22362 of 2017 and 14057 of 2018 and W.M.P. (MD) Nos. 18667 of 2017 and 12744 of 2018 W.P. (MD) No. 22362 of 2017:- V. Marimuthu ... Petitioner -vs- 1. The District Collector, Trichy District, Trichy. 2. The Commissioner, Trichy Corporation, Trichy. 3. The Executive Engineer, Trichy Corporation, Trichy. 4. The Executive Engineer, Trichy Division, Tamil Nadu Housing Board, Trichy. 5. The District Environmental Engineer, Tamil Nadu Pollution Control Board, 25, SIDCO Development Plots, Thuvakudi, Trichy – 15. http://www.judis.nic.in 2 6. M.S. Mohamed Nymudeen ... Respondents (R6 is impleaded vide Court order dated 10.01.2018 in W.M.P. (MD) No. 367 of 2018) PRAYER:- Petition filed under Article 226 of the Constitution of India, 1950, praying to issue a Writ of Mandamus, forbearing the Second and Third Respondents from installing or opening the Bio Fertilizer Unit in the land situated in Old Survey No. 77, Shenkulam Village and at present T.S. No. 130, AC Ward, Block No. 1, Corporation Ward, 43, Ponmalai Zone, Trichy based upon the representation given by the Petitioner dated 22.11.2017. For Petitioner : Mr. C. Jeyaprakash For Respondents : Mr. K. Chellapandian, Additional Advocate General assisted by Mr. N. Shanmugaselvan, Additional Government Pleader (for R1) Mr. N.S. Karthikeyan, Standing Counsel (for R2 and R3) Mr. V. Sivaramalingam (for R4) Mr. M. Murugan, Government Advocate (for R5) Mr. S. Vinod Sathya Lazar (for R6) W.P. (MD) No. 14057 of 2018:- T.N. Raman ... Petitioner -vs- 1. The Secretary, Department of Ayush, Ministry of Health and Welfare, Government of India, Red Cross Building, Red Cross Road, New Delhi – 110 001. http://www.judis.nic.in 3 2. The Secretary, Department of Health and Social Welfare, Secretariat, Fort St. George, Chennai – 600 009. 3. The District Collector, Trichy District, Trichy. 4. The Commissioner, Trichy Corporation, Trichy. 5. The Commissioner, Ponmalai Branch, Trichy Corporation, Trichy 6. The Executive Engineer, Trichy Division, Tamil Nadu Housing Board, Trichy. 7. The District Environmental Engineer, Tamil Nadu Pollution Control Board, 25, SIDCO Development Plots, Thuvakudi, Trichy – 15. ... Respondents PRAYER:- Petition filed under Article 226 of the Constitution of India, 1950, praying to issue a Writ of Mandamus, directing the Fourth and Fifth Respondents to vacate the Bio Fertilizer Procuring and Processing Unit comprised in T.S. No. 130, Ward No. 43 situated at N.M.K. Colony, Senkulam Village, Trichy Corporation, Ponmalai Zone, Trichy and shift the Bio Fertilizer Procuring and Processing Unit comprised in T.S. No. 130, Ward No. 43 situated at N.M.K. Colony, Senkulam Village, Trichy Corporation, Ponmalai Zone, Trichy. http://www.judis.nic.in 4 For Petitioner : Mr. S. Sivakumar For Respondents : Mr. K. Chellapandian, Additional Advocate General assisted by Mr. N. Shanmugaselvan, Special Government Pleader (for R3) Mr. N.S. Karthikeyan (for R4) Mr. V. Sivaramalingam (for R6) Mr. M. Murugan, Government Advocate (for R7) ORDER
(Order of the Court was made by P.D. AUDIKESAVALU, J.) The Petitioners, who are the residents of Tiruchirappalli, in these Public Interest Litigations oppose the construction of the Bio Fertilizer Procuring and Processing Unit comprised in T.S. No. 130, of Senkulam Village in Ward No. 43 of Tiruchirappalli Corporation complaining that it was causing air pollution and serious health hazards to the residents in the neighborhood and have sought for the intervention of this Court in the matter.
2. We have heard the respective Counsel for the Petitioners and the Respondents and perused the materials placed on record, apart from the pleadings of the parties.
http://www.judis.nic.in 5
3. The Writ Petitions were contested by the Learned Counsel for the Respondents by highlighting that it was in furtherance to the Scheme formulated by the Central Government under the Solid Waste Management Rules, 2016, that it had been decided by the Tiruchirappalli Corporation that instead of dumping the daily collected waste in a single plant or land fill site, the same should be disposed within the respective wards of the local body by adopting advanced technologies by opening a number of solid waste handling facilities called micro-compost plant so that such waste generated can be re- used in the respective areas. It is explained that due to rapid urbanization, there is scarcity of place in Tiruchirappalli Corporation limits and with great difficulty, a small portion of a larger extent of land belonging to the Tiruchirappalli Corporation that had been earmarked for 'park' has been identified for locating the micro-compost plant, for which the Petitioner cannot take any exception. Reliance is placed on the decision of the Division Bench of this Court in M.G.M. Nagar Nala Munnetra Sangam -vs- Commissioner (Order dated 11.12.2018 in W.P. No. 12779) in which a similar contention that the place earmarked by local body for maintaining a 'park' could not be used for any other purpose has been rejected. It is also highlighted that it would be meaningless to shift the micro-compost plant to some other distant place as it would not serve the very purpose of establishing the same if it was far away from the place where waste http://www.judis.nic.in 6 generated had to be collected and disposed in a scientific manner. It is further added that the micro-compost plant has become functional during the pendency of these Writ Petitions.
4. Having due regard to the aforesaid rival submissions, we had sought for a report from the District Environmental Engineer, Tamil Nadu Pollution Control Board, Tiruchirappalli in respect of the aforesaid micro-compost plant and after inspection, a report dated 02.01.2019 has been filed, in which it has been stated as follows:-
"Trichy Corporation Sengulam Colony Micro Compost Centre - Ward No - 43, Golden Rock Zone
1. Micro Compost Centre (MCC) is provided with 14 tanks of dimensions 3.4 m x 1.5 m x 0.80 m each.
2. The Micro Compost Centre (MCC) is only partially covered.
3. Shredding machine provided.
4. The MCC is surrounded by the following topography:
i. North - Sewage Collection sump, Residents, ii. South - Residents iii. East - Residents, School iv. West - Residents, Housing Colony, Residents
5. Municipal solid wastes from Ward No. 34 and 33 are http://www.judis.nic.in 7 collected and segregated at the source as dry, wet and inert waste. Total waste collected are brought to the facility.
6. Only wet waste are then subject to grinding and the grounded waste are processed in the compost tank constructed for the composting process. The manure thus produced is distributed to the farmers for free of cost.
7. The dry waste such as paper, plastics, metals, and bottle etc., segregated at the source is sold to the recyclers.
8. The inert wastes which are not biodegradable and recyclable are sent to the cement factories.
9. The unit has constructed a leach pit for collection of leachate to be generated from compost process.
10. The MCC was in operation from 21.01.2018.
It is respectfully submitted that the Rule No. 15(y) of the Solid Waste Management Rules, 2016, states that setting up waste processing, treatment or disposal facility, if the volume of waste is exceeding five metric tons per day including sanitary landfills it is necessary to obtain Authorization from the respective State Pollution Control Board or the Pollution Control Committee, as the case may be.
http://www.judis.nic.in 8 During inspection, it was noticed that total municipal solid wastes collected are brought to the facility (dry, wet and inert waste). Further on perusal of recent records of four months it was ascertained that maximum solid waste received was found to be 7.750 MT. (Wet waste - 3.353 Tons, Dry waste - 1.57 Tons, Reject - 2.827 Tons).
Since the said Micro Composting facility is processing more than 5 tons/day. Authorization from Tamilnadu Pollution Control Board is required.
Hence as per Municipal Solid Waste Management Rules, 2016, the unit has to obtain Authorization and Consent for its operation under Water Act & Air Act from Tamilnadu Pollution Control Board.
The above micro compost plant is located very nearer (less than 5m) to the residential buildings and composting activity causing nuisance to the nearby public due to bad smell and flies. During inspection also it was found that bad smell and flies nuisance is not tolerable. Further plastics and other wastes were stored in the tanks used for composting. During inspection, nearby public complaint about the bad smell and flied nuisance to them and requested to change the micro compost plant to some other place."
http://www.judis.nic.in 9
5. It is evident from the aforesaid report that the micro-compost plant has been generating more than five metric tonnes per day and that the necessary authorization from the State Pollution Control Board under Rule 15(y) of the Solid Waste Management Rules, 2016, has not been obtained. The said report also highlights that it has been found during inspection that the micro-compost plant had not been maintained in hygienic conditions and it has created severe health hazards to the residents of the locality.
6. In that view of the matter, we are constrained to direct the closure of the micro-compost plant in T.S. No. 130, of Senkulam Village in Ward No. 43 of Tiruchirappalli Corporation, which is the subject matter of the Writ Petitions till necessary authorization as required under Rule 15(y) of the Solid Waste Management Rules, 2016, is obtained from the State Pollution Control Board and all other statutory requirements for ensuring hygienic maintenance of the same are complied with. Though several other contentions are also been raised by the Petitioners in support of the relief claimed, we have not examined the same as we have directed the closure of the micro-compost plant for the statutory violation till those requirements are complied and as such, the Petitioners are at liberty to agitate in that regard if cause of action for the same arises in future. http://www.judis.nic.in 10
7. Accordingly, the Writ Petitions are allowed on the aforesaid terms. No costs. Consequently, the connected Miscellaneous Petitions are closed.
(K.K. SASIDHARAN, J.) (P.D. AUDIKESAVALU, J.) 18.03.2019 vjt Index : Yes
Note: Issue order copy by 20.03.2019.
To
1. The District Collector, Trichy District, Trichy.
2. The Commissioner, Trichy Corporation, Trichy.
3. The Executive Engineer, Trichy Corporation, Trichy.
4. The Executive Engineer, Trichy Division, Tamil Nadu Housing Board, Trichy.
5. The District Environmental Engineer, Tamil Nadu Pollution Control Board, 25, SIDCO Development Plots, Thuvakudi, Trichy – 15.
http://www.judis.nic.in 11
6. The Secretary to the Government of India, Department of Ayush, Ministry of Health and Welfare, Red Cross Building, Red Cross Road, New Delhi – 110 001.
7. The Secretary to the Government of Tamil Nadu, Department of Health and Social Welfare, Secretariat, Fort St. George, Chennai – 600 009.
8. The Commissioner, Ponmalai Branch, Trichy Corporation, Trichy http://www.judis.nic.in 12 K.K. SASIDHARAN, J.
and P.D. AUDIKESAVALU, J.
vjt W.P. (MD) Nos. 22362 of 2017 and 14057 of 2018 Reserved on : 01.02.2019 Pronounced on : 18.03.2019 http://www.judis.nic.in


--- title: Parallel Programming ref: pp2017 description: Undergraduate course on parallel programming, co-taught with Prof. Torsten Hoefler. semester: Spring 2017 number: 252-0029-00L lecturer: Thorsten Hoefler, Martin Vechev ta: Tobias Grosser, Pavol Bielik assistants: Timon Gehr, Daniele Spampinato, Vytautas Astrauskas, Johannes de Fine Licht, Konstantin Taranov, Tobias Gysi, Michael Rabinovich, Andre Kahles, Srdan Krstic, Dimitri Stanojevic, Jingyi Wang, Julian Croci and Nicolas Ochsner edoz: session-time-place: lecture-time-place: Tue 10-12 and Wed 13-15 [ETF E 1] exercise-time-place: Wed 15-17 or Fri 10-12 credits: image: assets/images/orator.jpg ---
The purpose of this course is to introduce students to parallel programming. By the end of the course students will be able to design and implement working parallel programs in traditional (e.g., Java Threads) and emerging parallel programming models. Moreover, students will master fundamental concepts in parallelism and be able to reason about the correctness, performance, and the construction of parallel programs using different parallel programming paradigms (e.g., task parallelism, data parallelism) and mechanisms (e.g., threads, tasks, locks, communication channels). Finally, the course will examine how parallel programming methodologies can be applied in different algorithmic domains by investigating parallelization of algorithms.
Topics include:
Main text and reference book
Related resources, text and reference books
Introduction to Java books (freely available)
There is a written, centralized exam after the end of the semester. Exercise sessions are not graded.
Old Exam


There are many configuration parameters that affect the behavior of the database system. In the first section of this chapter, we describe how to set configuration parameters. The subsequent sections discuss each parameter in detail.


MGLMapViewDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | MGLMapView.h |
Overview
The MGLMapViewDelegate protocol defines a set of optional methods that you can use to receive map-related update messages. Because many map operations require the MGLMapView class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete. The map view also uses these methods to request annotation marker symbology and to manage interactions with those markers.
Tasks
Managing the Display of Annotations
-
– mapView:imageForAnnotation:
-
– mapView:alphaForShapeAnnotation:
-
– mapView:strokeColorForShapeAnnotation:
-
– mapView:fillColorForPolygonAnnotation:
-
– mapView:lineWidthForPolylineAnnotation:
-
– mapView:annotationCanShowCallout:
-
– mapView:leftCalloutAccessoryViewForAnnotation:
-
– mapView:rightCalloutAccessoryViewForAnnotation:
Tracking the User Location
Instance Methods
mapView:alphaForShapeAnnotation:
Returns the alpha value to use when rendering a shape annotation. Defaults to 1.0
.
- (CGFloat)mapView:(MGLMapView *)mapView alphaForShapeAnnotation:(MGLShape *)annotation
Parameters
- mapView
The map view rendering the shape annotation.
- annotation
The annotation being rendered.
Return Value
An alpha value between 0
and 1.0
.
Discussion
Returns the alpha value to use when rendering a shape annotation. Defaults to 1.0
.
Declared In
MGLMapView.h
mapView:annotationCanShowCallout:
Returns a Boolean value indicating whether the annotation is able to display extra information in a callout bubble.
- (BOOL)mapView:(MGLMapView *)mapView annotationCanShowCallout:(id<MGLAnnotation>)annotation
Parameters
- mapView
The map view that requested the annotation callout ability.
- annotation
The object representing the annotation.
Return Value
A Boolean indicating whether the annotation should show a callout.
Discussion
Returns a Boolean value indicating whether the annotation is able to display extra information in a callout bubble.
If the value returned is YES
, a standard callout bubble is shown when the user taps a selected annotation. The callout uses the title and subtitle text from the associated annotation object. If there is no title text, though, the annotation will not show a callout. The callout also displays any custom callout views returned by the delegate for the left and right callout accessory views.
If the value returned is NO
, the value of the title and subtitle strings are ignored.
Declared In
MGLMapView.h
mapView:didChangeUserTrackingMode:animated:
Tells the delegate that the map view’s user tracking mode has changed.
- (void)mapView:(MGLMapView *)mapView didChangeUserTrackingMode:(MGLUserTrackingMode)mode animated:(BOOL)animated
Parameters
- mapView
The map view that changed its tracking mode.
- mode
The new tracking mode.
- animated
Whether the change caused an animated effect on the map.
Discussion
Tells the delegate that the map view’s user tracking mode has changed.
This method is called after the map view asynchronously changes to reflect the new user tracking mode, for example by beginning to zoom or rotate.
Declared In
MGLMapView.h
mapView:didFailToLocateUserWithError:
Tells the delegate that an attempt to locate the user’s position failed.
- (void)mapView:(MGLMapView *)mapView didFailToLocateUserWithError:(NSError *)error
Parameters
- mapView
The map view that is tracking the user’s location.
- error
An error object containing the reason why location tracking failed.
Discussion
Tells the delegate that an attempt to locate the user’s position failed.
Declared In
MGLMapView.h
mapView:didUpdateUserLocation:
Tells the delegate that the location of the user was updated.
- (void)mapView:(MGLMapView *)mapView didUpdateUserLocation:(nullable MGLUserLocation *)userLocation
Parameters
- mapView
The map view that is tracking the user’s location.
- userLocation
The location object representing the user’s latest location. This property may be
nil
.
Discussion
Tells the delegate that the location of the user was updated.
While the showsUserLocation property is set to YES
, this method is called whenever a new location update is received by the map view. This method is also called if the map view’s user tracking mode is set to MGLUserTrackingModeFollowWithHeading and the heading changes.
This method is not called if the application is currently running in the background. If you want to receive location updates while running in the background, you must use the Core Location framework.
Declared In
MGLMapView.h
mapView:fillColorForPolygonAnnotation:
Returns the fill color to use when rendering a polygon annotation. Defaults to blue.
- (UIColor *)mapView:(MGLMapView *)mapView fillColorForPolygonAnnotation:(MGLPolygon *)annotation
Parameters
- mapView
The map view rendering the polygon annotation.
- annotation
The annotation being rendered.
Return Value
A color to use for the polygon interior.
Discussion
Returns the fill color to use when rendering a polygon annotation. Defaults to blue.
Declared In
MGLMapView.h
mapView:imageForAnnotation:
Returns an image object to use for the marker for the specified point annotation object.
- (nullable MGLAnnotationImage *)mapView:(MGLMapView *)mapView imageForAnnotation:(id<MGLAnnotation>)annotation
Parameters
- mapView
The map view that requested the annotation image.
- annotation
The object representing the annotation that is about to be displayed.
Return Value
The image object to display for the specified annotation or nil
if you want to display the default marker image.
Discussion
Returns an image object to use for the marker for the specified point annotation object.
Declared In
MGLMapView.h
mapView:leftCalloutAccessoryViewForAnnotation:
Return the view to display on the left side of the standard callout bubble.
- (nullable UIView *)mapView:(MGLMapView *)mapView leftCalloutAccessoryViewForAnnotation:(id<MGLAnnotation>)annotation
Parameters
- mapView
The map view presenting the annotation callout.
- annotation
The object representing the annotation with the callout.
Return Value
The accessory view to display.
Discussion
Return the view to display on the left side of the standard callout bubble.
The default value is treated as if nil
. The left callout view is typically used to display information about the annotation or to link to custom information provided by your application.
If the view you specify is also a descendant of the UIControl
class, you can use the map view’s delegate to receive notifications when your control is tapped. If it does not descend from UIControl
, your view is responsible for handling any touch events within its bounds.
Declared In
MGLMapView.h
mapView:lineWidthForPolylineAnnotation:
Returns the line width to use when rendering a polyline annotation. Defaults to 3.0
.
- (CGFloat)mapView:(MGLMapView *)mapView lineWidthForPolylineAnnotation:(MGLPolyline *)annotation
Parameters
- mapView
The map view rendering the polygon annotation.
- annotation
The annotation being rendered.
Return Value
A line width for the polyline.
Discussion
Returns the line width to use when rendering a polyline annotation. Defaults to 3.0
.
Declared In
MGLMapView.h
mapView:rightCalloutAccessoryViewForAnnotation:
Return the view to display on the right side of the standard callout bubble.
- (nullable UIView *)mapView:(MGLMapView *)mapView rightCalloutAccessoryViewForAnnotation:(id<MGLAnnotation>)annotation
Parameters
- mapView
The map view presenting the annotation callout.
- annotation
The object representing the annotation with the callout.
Return Value
The accessory view to display.
Discussion
Return the view to display on the right side of the standard callout bubble.
The default value is treated is if nil
. The right callout view is typically used to link to more detailed information about the annotation. A common view to specify for this property is UIButton
object whose type is set to UIButtonTypeDetailDisclosure
.
If the view you specify is also a descendant of the UIControl
class, you can use the map view’s delegate to receive notifications when your control is tapped. If it does not descend from UIControl
, your view is responsible for handling any touch events within its bounds.
Declared In
MGLMapView.h
mapView:strokeColorForShapeAnnotation:
Returns the stroke color to use when rendering a shape annotation. Defaults to black.
- (UIColor *)mapView:(MGLMapView *)mapView strokeColorForShapeAnnotation:(MGLShape *)annotation
Parameters
- mapView
The map view rendering the shape annotation.
- annotation
The annotation being rendered.
Return Value
A color to use for the shape outline.
Discussion
Returns the stroke color to use when rendering a shape annotation. Defaults to black.
Declared In
MGLMapView.h
mapViewDidStopLocatingUser:
Tells the delegate that the map view has stopped tracking the user’s location.
- (void)mapViewDidStopLocatingUser:(MGLMapView *)mapView
Parameters
- mapView
The map view that is tracking the user’s location.
Discussion
Tells the delegate that the map view has stopped tracking the user’s location.
This method is called when the value of the showsUserLocation property changes to NO
.
Declared In
MGLMapView.h
mapViewWillStartLocatingUser:
Tells the delegate that the map view will begin tracking the user’s location.
- (void)mapViewWillStartLocatingUser:(MGLMapView *)mapView
Parameters
- mapView
The map view that is tracking the user’s location.
Discussion
Tells the delegate that the map view will begin tracking the user’s location.
This method is called when the value of the showsUserLocation property changes to YES
.
Declared In
MGLMapView.h


The component formats code snippets such as sky-code, and escapeCharacters="true" renders special characters as text. Example: "span tag content."
Otherwise, the component renders special characters as code. Example: "span tag content."


Read, Learn, Share
Get daily how-tos, stories & updates with the latest news.
2012’s Best Summer Cookbooks
With the best of the season coming from “orchards, farms and gardens,” NPR has put together an impressive collection of 10 summer cookbooks.
May 15, 2012 /Read »
Recipes from a Sunday Supper
I could not figure out what to do with the delectable slices of Pear Cake that I brought home from this wonderful Sunday supper - eat them slowly, a little bit at…
May 15, 2012 /Read »
How to Make Vegetable Chips
I could not figure out what to do with the delectable slices of Pear Cake that I brought home from this wonderful Sunday supper - eat them slowly, a little bit at…
May 15, 2012 /Read »


I intend to have models of a great variety of geometric and topological objects. If you would like to see a particular shape that is not listed anywhere above feel free to fill out an issue and label it request. I am currently working on a geometric paper describing the physical geometry of a Scutoid. On the development side, I am working towards a multi-OS application that can be installed and uninstalled (if desired) with ease. For Linux users, I am making an attempt to have the software installable from a PPA repository to use with the APT packaging manager. I am new to this so it might be a while.
Models that are under development are listed below.


Summary:
*nowSummary
Max Apparent Temperature:
*tempHigh at *tht
Min Apparent Temperature:
*tempLow at *tlt
Precipitation Intensity:
*precipInt inches per hour.
Max Intensity:
*precipIntMax at *pimt
Probability of Precipitation:
*precipProb
Currently:
*currently
Current Temperature:
*currentTemp
Rest of the week: *summary


TeamsFuse Contact Form
Contact Us!
Your message is being sent.
Your message has been sent!
Error sending your message
Name
*
Email
*
Message
Required field
*
Submit


The Clause head for Nottingham on their 2019 UK tour - here's what Pearce Macca had to say
'We're trying really hard to focus on making these gigs a spectacle'
by Simon WilsonBirmingham band The Clause are coming to Nottingham on their biggest UK tour to date. You may not know the name but you may well have heard their song This Feeling, as it has been used to soundtrack Premier League coverage on BT Sport and Channel 4 reality show, The Circle. Frontman Pearce Macca does the talking...
How would you describe your sound?
We’d describe our sound as having a 60s swagger, an 80s groove and a 90s attack. We try and combine influences of all the great music throughout the decades.
What inspires your music?
The culture of where we live and our experiences that we’ve had growing up. It’s about what we see and who we are.
Can you give us some background about your latest release?
Our latest release is all about our experiences of the euphoria of nightlife. But it’s not subjective to that, it could be relative to anything that makes you feel on top of the world or in your element.
What do you like most about touring?
The laughs you have, just the general vibe of travelling with your best pals doing the things you love and making memories on the way.
What can people expect from your upcoming Nottingham gig?
I think it was the first date to sell out and we’ve never played in Nottingham before. Expect t it to be full of energy and be glad you’ve got a ticket. We're trying really hard to focus on making these gigs a spectacle.
What are you enjoying listening to at the moment?
We’re loving a lot at the moment, we’re big on disco and rock and roll. You can hear a lot of that in our new material.
What’s been your best live gig appearance as a performer?
Probably the institute 2 in Birmingham back in February. To play to 500 people in your hometown. pretty much done by ourselves, was something we’re really proud of. The atmosphere was electric but we’re going to top that on this tour.
The Clause play The Chameleon off Angel Row on Thursday, November 21. Sold out.


Getting started
VSCode Webview Elements is aimed to provide web components for extension development that fit the VSCode's UI design system. You can use these web components with the Webview API.
Installation
You can access the library as NPM package:
npm i @bendera/vscode-webview-elements
Usage
Including the whole bundle
This is the simplest method. The bundle is minified and contains all the components.

Include only the required modules
You can include modules separately. These files only transpiled but not minified.

Import in JavaScript
Import anywhere in your JavaScript/TypeScript code. Code duplication will be handled by the bundlers (ex.: Webpack).
import '@bendera/vscode-webview-elements/dist/vscode-checkbox';
Using in the HTML
After including scripts, you can use any component in the same way as a normal HTML tag. The custom elements will be registered automatically.

Lorem ispum dolor

<vscode-button>Hello World!</vscode-button>
If you would like to use the Icon component, you must include the Codicon library on your page (the id attribute is important):
<link rel="stylesheet" href="path/to/codicon.css" id="vscode-codicon-stylesheet">
Demo extension
For more details, see the demo extension.
Last modified: Sat, 24 Jul 2021 10:58:17 GMT


RoombaMidi2 Help
Make the Roomba a musical instrument!
RoombaMidi2 appears as a MIDI destination called 'RoombaMidi2 In'
to MIDI apps like Ableton Live, Apple Logic or any other sequencer.
The right-hand side lets you select which Roomba to connect to a MIDI channel.
Pick the serial port that corresponds to your Roomba and click the connect button.
If successful, the Roomba will emit a small beep.
The left-hand side lets you control the currently selected Roomba.
A Roomba is assigned to a single MIDI channel.
Connect up a Roomba, use test buttons, send it MIDI!
MIDI Implementation
- note numbers 32-127 (G0 and up):
- notenum is note, played thru beeper
- velocity is duration in number of 1/32s of a second (e.g. 32==1second)
- note number 24 (C0):
- main vacuum, on = non-zero velocity, off = zero velocity (note off)
- note number 25 (C#0):
- blink LEDs, velocity is color of Power LED
- note number 28 and 29 (E0 & F0):
- spin left or right, velocity is speed of spin, note off is stop
- note number 27 and 30 (Eb0 & F#0):
- move forward or backward, velocity is speed, note off is stop
Updates to this and other Roomba hacks are available at
HackingRoomba.com.
Copyright (c) 2006 Tod E. Kurt, ThingM.


106.8FM
Up next
Radio
Label
RinseTV
New Residents
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
Akua
New Residents on Rinse
some text
some text


PM aide on finance chastised over price hike ignorance
by https://www.dawn.com/authors/1405/monitoring-desk, Monitoring DeskKARACHI: On a day when Adviser to the Prime Minister on Finance Dr Hafeez Shaikh rejected consumers’ concerns regarding ongoing food inflation as ‘lies’, greengrocers cited tomato prices in the metropolis hovering between Rs250-300 per kg on Monday.
The president of the Falahi Anjuman Wholesale Vegetable Market New Sabzi Mandi, Haji Shahjehan, expressed shock over the adviser’s claim and said that tomatoes in Karachi were being sold for Rs250-300 per kg depending on the quality and the area after hitting the record peak of Rs320 per kg from Rs160 in a single day on Saturday.
Earlier, Mr Shaikh had told a group of reporters that tomatoes were being sold as low as Rs17 per kg in Karachi’s vegetable markets.
“In Karachi, in the sabzi mandi (produce market), tomatoes are being sold for Rs17 per kilogram,” he said. When some of the reporters told him that tomatoes were, in fact, being sold at Rs240 per kg, he rejected their comments, saying people were lying.
On Saturday, the city government had quoted consumer price of Rs199 per kg for tomato which was Rs147 on Friday. However, neither the tomato nor any other such items were available at official rates in the city.
Shortly after the adviser’s remarks were reported, consumers took to social media to call out his ignorance.
“And this is today’s wholesale Price list for vegetables in Lahore. The disconnect of our ruling elite is huge,” a consumer tweeted with a picture of the vegetable rate that recorded tomato price between Rs155-165 per kg.
“Yesterday I bought 5kg tomatoes from Sabzi Mandi I-11 for Rs.1200 which is Rs.240/kg. While according to Hafeez sheikh tomatoes are being sold for Rs.17/kg ! Sir either show me that Mandi or the drug u r on,” another consumer tweeted.
Published in Dawn, November 12th, 2019


Damn they are good! Amazon has done a pricing upgrade to their S3 System. The new prices are effective for June 1st of this year and they probably found out how some people use S3. I have been raving about the system for some time already and so it is no wonder that we are using it at Ormigo.

As we are running large advertising campaigns around products that are interesting for local service providers, we need our ads solution to be both flexible and very scalable. Running ads on big portals means that your system needs to work. Previously I had worked together with Akamai, whom I still like very much, but they are rather expensive and some hits still come down to your servers. Above that it only really works well if you have a relatively high caching time.

Amazon S3 is a very cool middle thing in that it allows us to upload our ads to their system and not have any impact on our servers. Through the API we can automatically update the ads whenever we want. Additional flexibility will come when we lean more on EC2 as additional help, but we will see how this goes. For now I am very happy with what we have as a first step. And sure, S3 can go down, but you know what… so can our servers. At this time I am reasonably sure that S3 has more resources available to keep the servers up than we do. :)

How does the pricing change effect us though. Simple. Above the bandwidth charges they are adding per request charges, which is a logical thing. For us this will possibly add up to a bit more costs as ads are relatively small and mostly text based. Bandwidth prices for uploads are cut in half, and bandwidth prices for download are decreased a little bit dependent on volume you take.

Above that PUT and LIST requests will be $0.01 CPM and GET requests are $0.001 CPM. That is really ok I have to say and I actually like the system, which makes it more transparent and easier for Amazon to calculate profitably. Looking forward to seeing the next bill.


Binary trees; isSameTree problem
It’s time to dive into some binary tree coding problems.
But I think I need to learn more about binary trees, and how to tackle these kinds of problems first, so I actually have a chance of getting them right.
Resources:
- This was a quick, helpful video that summarized binary trees nicely
- This video from freeCodeCamp describes how to deal with binary search trees in JavaScript
- This article from freeCodeCamp summarizing tree traversal
Compared to other data structures - linked lists
Like linked lists, trees are made up of nodes that have data and pointers.
I’ve delved a bit into singly linked-lists, whose nodes have one pointer. In comparison, trees can have multiple pointers to the next nodes. In the case of a binary tree, a node points towards a maximum of 2 child nodes. Each node can have a left
and right
pointer, comparable to the next
pointer in a linked list.
The top node of the tree is called the root
node, comparable to the head
node of a linked list. Nodes with no children are called leaf
nodes. The path from the root to a leaf is called a branch
.
Traversing a binary tree
For starters, there are two main approaches to code a tree traversal:
- using a
while
loop and an “on” pointer (like for linked lists, using a “current” pointer with a while loop) - recursion
When you use recursion it’s called branching recursion. Since a node can have multiple children, your stack frame can be branching too.
Often you need to visit every node in the tree, but how do I know what order to visit in? There are three main types of traversal:
- in-order traversal: visit left subtree, then root, then right subtree. Like you’ve moving across the tree from left to right. If you printed out each node as you visted them, they would be in ascending order from left-most to right-most node.
- pre-order traversal: visit root, then left subtree, then right subtree. Like you’ve moving from top of tree to bottom (root to leaf). Use if you need to explore the tree from root to leaf, good for making copies of trees.
- post-order traversal: visit left subtree, right subtree, then root. Like you’re travelling from the bottom up (leaf to root). Use if you need to explore leaves before roots. Good for deleting a tree.
Coding problem: isSameTree, solved with recursion
The first coding problem I worked on to practice binary trees was, given two trees p
and q
, determine if they are the same. If they are the same, they have the same structure AND values at each node.
I decided to try solving this recursively. Sometimes I still struggle with recursion, due to its nested nature. One thing that helps me is to remember that I should always be returning whatever data type the final result is looking for. In this case, we are looking for a boolean, so my base cases must all return true or false. It’s also helpful to think of recursion as repeating sub-problems. What is the sub-problem you are trying to solve here, over and over again?
In this case, the sub-problem is checking if the current nodes p and q are equal.
After checking base cases, you need some logic for checking your next values. That’s where your recursive calls come in. Then, you need to do something with the result of those calls. The outer function could return at this point, or maybe you need to add the result to another data structure you’re keeping track of, like a memo object.
This is what I came up with, and it submitted to leetcode successfully:
/**
* Definition for a binary tree node.
* function TreeNode(val, left, right) {
* this.val = (val===undefined ? 0 : val)
* this.left = (left===undefined ? null : left)
* this.right = (right===undefined ? null : right)
* }
*/
/**
* @param {TreeNode} p
* @param {TreeNode} q
* @return {boolean}
*/
var isSameTree = function (p, q) {
//base cases
if (p === null && q === null) return true;
if ((p === null && q !== null) || (q === null && p !== null)) {
return false;
}
if (p.val !== q.val) return false;
//continue exploring tree
if (
isSameTree(p.left, q.left) === false ||
isSameTree(p.right, q.right) === false
)
return false;
return true;
};
First, the base cases:
- both p and q are null: in this case return true, because they are equal, and we have reached a leaf node. This branch has nothing else to explore and if we got this far, it is the same for p and q
- one of p or q, not both, is null: if one node is null and the other is not, they are not structurally equal, so return false
- check if the values of p and q are equal. If not, return false. Otherwise, the nodes so far are equal and there is more tree to explore, so we can move on.
Next step: recursive calls
- we need explore the left and right subtrees for our p and q nodes. If either of these returns false, it means p and q were not equal.
- this is where you start to see branching recursion come into play, since you have to check the left and right child of every node.
Finally, if we got through all of that and never encountered unequal structure or values, we can return true.
Next steps
I definitely need more practice with binary trees, so I’ll continue learning and practicing and will update here if I find anything notable.


{% trans 'Your web browser does not provide an optimal representation of our website. This means that some functions may not work or the view may be incorrect. We recommend that you use a current browser.' %}
{% trans 'Visit Anyways' as link_label %}
{% include "partials/buttons/link.html" with link_url="" link_label=link_label link_classes="btn btn-primary js-use-legacy-browser" link_attributes='rel="noopener" role="button"' %}
{% trans 'Get Chrome' as link_label %}


Ong Seong Wu invites fans to his first Korean fanmeeting
by jennywillOng Seong Wu is inviting to fans to his first Korean fanmeeting.
He'll be at Kyunghee University for his 'WE BELONG' fanmeeting, and he released an invitation video as well as his poster. In the poster, he looks angelic as he holds up a clear ball toward the blue sky. 'WE BELONG' is also a callback to his fanclub name 'WELO'.
His fanmeeting will be on January 11th in Seoul, on January 18th in Thailand, on February 15th in Taipei, and on February 25th in Philippines.


Dispatcher Class
The dispatcher is responsible for central coordination of all agents. It monitors their liveness and make sure they can communication between one and other. The Dispatcher is an {EventEmitter} and will make sure events are remotely replicated between agents.
Constructor
Dispatcher
-
cfg
Parameters:
-
cfg
Object
Item Index
Events
Methods
applyCommandResponse
-
cmdId
-
result
Called when an agent has sent back the response to an active command. This will apply the response and resolve the associated promise.
Parameters:
-
cmdId
ObjectThe id of the command associated with the response
-
result
ObjectThe actual command response
Returns:
The promise associated with the applyCommand operation and not the promise associated with the command itself.
emitTo
-
agentId
-
key
-
data
-
options
Emit an event to a specific agent only.
Parameters:
-
agentId
String | ArrayThe agent where the event is to be sent. This may be an array of agentIds.
-
key
StringThe event key that is being sent
-
data
ObjectThe event payload
-
options
Object
Returns:
A promise resolved when the event has been retrieved by the agent (or agents)
executeOnAgent
-
agentId
-
commandKey
-
payload
-
options
Execute a command on a specific agent
Parameters:
-
agentId
StringThe agentId where the command will be executed
-
commandKey
StringThe command key that identified this command
-
payload
ObjectThe data that will be passed with the command
-
options
ObjectContains options that affects the way the command is executed
Returns:
A promise providing access to the command result when available.
listen
()
Promise
Connect the HTTP server to the configured port.
Returns:
Resolved when the dispatcher is ready to receive commands.
listPendingCommands
-
agentId
List all pending commands for a specific agent
Parameters:
-
agentId
StringAn agentId
Returns:
A list of pending commands. Each command has the following fields:
- id
- agentId
- defer: The deferred result
- status: the status of the command : PENDING | ACTIVE | COMPLETE
- ts : The unix timestamp when this command was created
Events
internal.db.error
Triggered if the internal Redis database cannot be accessed.
Event Payload:
-
e
ErrorThe error that has been sent.


It is not possible in this tour to go into any depth on the type system proper. However, this is a good place to point out some of the unique aspects to how the type system implementation is used in practice, especially in the presence of un-typesafe code. This is particularly interesting because we believe this is the first time that a fully developed, strong, static type system has been integrated with an existing dynamically-typed language in a completely optional, incremental fashion.
Type systems are both a form of verifiable annotation, and a structuring tool. Like other structuring tools, a type system provides benefits, such as clarity and verifiability, at the cost of some degree of flexibility. A well designed type-system should provide benefits that are clearly worth putting up with the restrictions. Most strongly typed languages have the luxury of starting with a clean slate, with the ability to enforce use of a type system, and to design the standard libraries to work within the type system framework.
A type system for Smalltalk does not have these luxuries, since there already exist lots of untyped Smalltalk code, a fairly standard set of class library interfaces, and a programming tradition that embraces a highly unstructured, flexible programming style. This daunting set of obstacles has in the past stopped all efforts to design a type system for Smalltalk at a point far short of the goal of a usable, strongly-typed system. On the other hand, the traditional Smalltalk emphasis on education and exploration by reading code could be significantly aided by a type system, since typed programs are much easier to browse, understand, and test.
We believe the Strongtalk type system, as currently implemented in the Strongtalk system, accomplishes the goal of adding a powerful, flexible type system to Smalltalk in a way that complements and does not impede the Smalltalk "style" of programming. One reason for this was a careful type-system design which includes things such as very flexible generic types and classes, as well as innovative developments such as algorithmic inference clauses that were necessary to preserve the flavor of Smalltalk programming. But just as important are some properties of the way the type system implementation is integrated into the system. The type checker is:
Optional: Type annotations are never required. The typechecker complains about missing annotations, but you don't have to run the typechecker. The type system is also completely independent of the virtual machine, so that types or the lack of them has no impact on performance.
Incremental: Typechecking is fully incremental, and can be done on-the-fly on a method-by-method basis, or on individual method categories, classes, or groups of classes.
Local: Because the type system does not rely on encapsulation-violating techniques like data-flow analysis, and because it gives priority to declarations (which are an indicator of programmer intent) over structural typing, type errors tend to stay localized. This means that missing, incorrect, or conflicting annotations cause errors only in the code that directly interacts with those declarations. For example, if a method body has type errors, or if a message signature conflicts with an inherited version of that signature, the errors are seen only by someone typechecking that method or class. Users of the code do not see the errors and can continue to use the typechecker effectively.
Together the type system design and the above implementaton properties produce an environment where typed, partially typed, and untyped code can coexist quite naturally.
We experienced this effect thoroughly during development of the Strongtalk system, since the pressures of rapid development and bootstrapping, combined with the premature cessation of development, led to a system with a considerable variation in the degree of type-safety among the various subsystems. While ideally the whole system should be typesafe (and the core classes and applications have been heavily typechecked), we found that the typechecker was remarkably useful even when invoked on individual methods imbedded in untypesafe classes, as long as the particular things that the method used had reasonable type annotations.
For those who find this topic interesting and who intend to do any poking around the libraries, it will help to read a very short, two-page introduction to the type system.


A simple true/false value
A number is a floating-point value. Hexadecimal, decimals, binary and octal literals are also supported
A simple textual type
A simple array can be written a few different ways
An array with a fixed number of elements where you know the types of the values, but an element in the array doesn’t have to be the same type
Object, as the name says, is the type for objects or technically speaking Non-Primitive data types. There are two ways of typing objects:
The types that will allow everything
The never type is the type of value that never occurs
A Void type means that there is no type
Types are similar to interfaces and can be used to type more complex data structures
Type interfaces are similar but there are some differences: