epl

Meghan Markle Was ‘Deeply Shocked And Upset’ By One Tabloid



Her lawsuit against Associated Papers reveals the details.




epl

Weekend Movie Marathon: David Alan Grier, 'Peeples' Champ



Kerry Washington co-stars in Peeples, Saturday at 7P/6C.



  • BET Star Cinema

epl

Live Video Replay: “Art Walk” Fashion Show

[Updated] The St. George’s Art Walk is underway this afternoon [Oct 25], with the event featuring displays from artists, musical and dance performances, as well as a fashion show — which is currently taking place and you can tune in and watch it live via our Periscope account. The fashion show is set to feature […]

(Click to read the full article)




epl

Live Video Replay: Fashion Collective Show

The Bermuda Fashion Collective Show was held last night [Nov 3] at the Bermuda Society of Arts at City Hall, with a number of styles and models on display and part proceeds to be donated to the Chewstick Foundation. The show included Aura Moniz Jones, Carla Faye Hardtman, Deane Williams, Desiree Riley, Edith Rookes, James Lee, Juliette Dyke, Mikaela Eshe, […]

(Click to read the full article)




epl

Full Text: Opposition Reply To 2020/21 Budget

A One Bermuda Alliance Government would “explore the feasibility of decreasing payroll for employers by increasing the cost of work permits.” The OBA believes the move would be revenue neutral and could encourage the hiring of Bermudians, Shadow Finance Minister Pat Gordon-Pamplin said in today’s Budget Reply. In addition, the OBA said they “would lay […]

(Click to read the full article)




epl

PLP Respond To OBA Budget Reply Statement

The OBA used their Budget reply to “attempt to obscure or belittle the progress being made by the PLP Government,” the PLP said, adding that it is “laughable” that the “big suggestion offered” is to raise work permit fees, an idea which “was rolled out by the Finance Minister last week and will become a […]

(Click to read the full article)




epl

rattleplank




epl

Go on, hit Reply All. We dare you. We double dare you. Because Office 365 will defeat your server-slamming ways

Even Exchange’s marketing bod reckons tests of new Reply-All-stopper could be a career-defining moment

Microsoft may just have made Reply All storms a thing of the past, by adding a suitable blocker to Exchange in Office 365 environments.…




epl

ENGIE joins forces with IBM to deploy smarter cities solutions and improve the quality of life for citizens

ENGIE, a global leader in energy transition, today announced a new initiative with IBM. This nonexclusive, technological and commercial alliance is designed to improve the management of cities by looking at patterns, event correlation, anomaly detection and real-time data across all parts of cities.




epl

Timofei Shatrov: Previewing images in and out of SLIME REPL

As any Common Lisp coder knows, a REPL is an incredibly useful tool. It can be used not just for development, but for running all sorts of tasks. Personally, I don't bother making my Lisp tools into executable scripts and just run them directly from SLIME. As such, any operation that requires leaving the REPL is quite inconvenient. For me, one such operation was viewing image files, for example in conjunction with my match-client:match tool. So lately I've been researching various methods to incorporate this functionality into the normal REPL workflow. Below, I present 3 methods that can be used to achieve this.

Open in external program

This one's easy. When you want to view a file, launch an external process with your favorite image viewer. On Windows a shell command consisting of the image filename would launch the associated application, on Linux it's necessary to provide the name of the image viewer.

(defvar *image-app* nil) ;; set it to '("eog") or something

(defun view-file-native (file)
  (let ((ns (uiop:native-namestring file)))
    (uiop:launch-program (if *image-app*
                             (append *image-app* (list ns))
                             (uiop:escape-shell-token ns)))))

Note that uiop:launch-program is used instead of uiop:run-program. The difference is that launch- is non-blocking - you can continue to work in your REPL while the image is displayed, whereas run- will not return until you close the image viewer.

Also note that when the first argument to run/launch-program is a string, it is not escaped, so I have to do it manually. And if the first argument is a list, it must be a program and a list of its arguments, so merely using (list ns) wouldn’t work on Windows.

Inline image in REPL

The disadvantage of the previous method is that the external program might steal focus, appear on top of your REPL and disrupt your workflow. And it's well known that Emacs can do everything, including viewing images, so why not use that?

In fact, SLIME has a plugin specifically for displaying images in REPL, slime-media. However it’s difficult to find any information on how to use it. Eventually I figured out that SWANK (SLIME’s CL backend) needs to send an event :write-image with appropriate arguments and slime-media's handler will display it right in the REPL. The easiest way is to just send the file path. The second argument is the resulting image's string value. If you copy-paste (sorry, "kill-yank") it in the repl, it would act just like if you typed this string.

(swank::send-to-emacs '(:write-image "/path/to/test.png" "test"))

You can even send raw image data using this method. I don't have anything on hand to generate raw image data so here's some code that reads from a file, converts it to a base64 string and sends it over SWANK.

(with-open-file (in "/path/to/test.png" :direction :input  :element-type '(unsigned-byte 8))
                (let* ((arr (make-array (file-length in) :element-type '(unsigned-byte 8)))
                       (b64 (progn (read-sequence arr in) (cl-base64:usb8-array-to-base64-string arr))))
                  (swank::send-to-emacs `(:write-image ((:data ,b64 :type swank-io-package::png)) "12345"))))

Note that the first argument to :write-image must be a list with a single element, which is itself a plist containing :data and :type keys. :data must be a base64-encoded raw image data. :type must be a symbol in swank-io-package. It’s not exactly convenient, so if you’re going to use this functionality a helper function/macro might be necessary.

Image in a SLIME popup buffer

Inline images are not always convenient. They can’t be resized, and will take up as much space as is necessary to display them. Meanwhile EMACS itself has a built-in image viewer (image-mode) which can fit images to width or height of a buffer. And SLIME has a concept of a “popup buffer” which is for example used by macroexpander (C-c C-m) to display the result of a macro expansion in a separate window.

Interestingly, slime-media.el defines an event :popup-buffer but it seems impossible to trigger it from SWANK. It is however a useful code reference for how to create the popup buffer in ELisp. This time we won’t bother with “events” and just straight up execute some ELisp code using swank::eval-in-emacs. However by default, this feature is disabled on Emacs-side, so you’ll have to set Emacs variable slime-enable-evaluate-in-emacs to t in order for this method to work.

Also Emacs must be compiled with ImageMagick for the resizing functionality to work.

Anyway, the code to view file in the popup buffer looks like this:

(defun view-file-slime (file &key (bufname "*image-viewer*"))
  (let ((ns (namestring file)))
    (swank::eval-in-emacs
     `(progn
        (slime-with-popup-buffer (,bufname :connection t :package t)
          (insert-image (create-image ,ns))
          (image-mode)
          (setf buffer-file-name ,ns)
          (not-modified)
          (image-toggle-display-image))
        ;; try to resize the image after the buffer is displayed
        (with-current-buffer ,bufname (image-toggle-display-image))))))
    ))

Arriving to this solution has required reading image-mode’s source code to understand what exactly makes image-mode behave just like if the image file was opened in Emacs via C-x C-f. First off, image-mode can be a major and a minor mode - and the minor mode is not nearly as useful. slime-with-popup-buffer has a :mode keyword argument but it would cause image-mode to be set before the image is inserted, and it will be a minor mode in this case! Therefore (image-mode) must be called after insert-image.

Next, the buffer must satisfy several conditions in order to get image data from the filename and not from the buffer itself. Technically it shouldn’t be necessary, but I couldn’t get auto resizing to work when data-p is true. So I set buffer-file-name to image’s filename and set not-modified flag on.

Next, image-toggle-display-image is called to possibly resize the image according to image-mode settings. It's called outside of slime-with-popup-buffer for the following reason: the buffer might not yet be visible and have any specific dimensions assigned to it, and therefore resizing will do nothing.

Here’s an example of how calling this function looks in Emacs.

The position of the popup buffer depends on whether the original Emacs window is wide enough or not. I think it looks better when it’s divided vertically. Use M-x image-transform-fit-to-height or M-x image-transform-fit-to-width to set up the auto-resizing method (it gets remembered for future images). Unfortunately there’s no way to fit both height and width, at least with vanilla Emacs. I prefer fit-to-width because in case the image is too tall, it is possible to scroll the image vertically with M-PgDn and M-PgUp from the other buffer. Unlike other image-mode buffers, this buffer supports a shortcut q to close itself, as well as various SLIME shortcuts, for example C-c C-z to return to the REPL.

That's it for now, hope you enjoyed this overview and if you happen to know a better way to display images in Emacs, I would be interested to hear about it.




epl

How to Replace Your 9 To 5 With Network Marketing Jobs - 5 Tips to Financial Freedom

Would you like to leave the rat-race and replace your 9-5 with network marketing jobs? Here are 5 tips to financial freedom.




epl

How to Reply on Twitter - An Idiot's Guide to an Easily Over Looked Function

Okay, you are here to find out how to reply on Twitter. Some people will think this is totally obvious answer but is it?




epl

Lessons from deploying DNSSEC in Mongolia

Guest Post: The most essential part of deploying DNSSEC was to understand what it is and how it works.



  • <a href="https://blog.apnic.net/category/community/">Community</a>
  • <a href="https://blog.apnic.net/category/development/">Development</a>

epl

SRv6: Deployed use-cases

Guest Post: As of 2019, Segment Routing over IPv6 data plane (SRv6) has been deployed in eight large-scale networks; supported more than 25 hardware implementations at line rate; and implemented in 11 open-source platforms/applications.



  • <a href="https://blog.apnic.net/category/tech-matters/">Tech matters</a>

epl

‘Sleepless in Seattle’ house is for sale in Baltimore

The Fells Point house that played Meg Ryan’s character’s home in 1993's “Sleepless in Seattle" is for sale, with an asking price of $575,000.




epl

Letters to the Editor: Technology can't replace teachers, and coronavirus closures prove it

Coronavirus closures are giving school districts an opportunity to evaluate their online learning efforts and how important teachers are to those programs.




epl

Tarzana's Triangle House, complete with a replica guesthouse, up for grabs at $4 million

In Tarzana, a Harry Gesner-designed Midcentury home with a replica guesthouse in back is on the market for just under $4 million.




epl

Tesla has a huge incentive to deploy self-driving tech. But is the world ready?

Elon Musk has a huge financial incentive to turn on full-service driving. But is Tesla anywhere close to ready?




epl

How much Arsenal must pay to sign Celtic's Odsonne Edouard as Aubameyang replacement



Arsenal have been told the kind of funds they must commit to sign Odsonne Edouard from Celtic in the summer transfer window.




epl

Next James Bond odds: Tom Hardy OVERTAKES Richard Madden in race to replace Daniel Craig



NEXT JAMES BOND odds favourite Tom Hardy has overtaken Richard Madden in the race to replace Daniel Craig after No Time To Die.




epl

Man Utd fans want Wayne Rooney to replace Jesse Lingard after Derby FA Cup tweet



Manchester United will go up against Wayne Rooney in their FA Cup clash with Derby.




epl

Leeds boss Marcelo Bielsa plots Ben White replacement in the summer transfer window



Leeds are already looking to find a replacement for Ben White, with the defender set to return to Brighton at the end of his loan spell, and the Whites are now turning to Middlesbrough stalwart Daniel Ayala, as Marcelo Bielsa plans his moves in the transfer market for life in the Premier League.




epl

BBC UK weather forecast stuns viewers as snow replaces record heatwave in next 24 hours



THE FREEZING plunge in temperatures over the next 24 hours even sparked disbelief from the meteorologist on BBC Breakfast, who warned that Britain could go from its warmest day of the year on Saturday to being hit by snow on Sunday.




epl

Countdown blunder: Rachel Riley's huge mistake after replacing Carol Vorderman exposed



COUNTDOWN star Rachel Riley was revealed to have made an enormous mistake during the first ever episode on the show after replacing Carol Vorderman.




epl

Next James Bond odds: Tom Hardy OVERTAKES Richard Madden in race to replace Daniel Craig



NEXT JAMES BOND odds favourite Tom Hardy has overtaken Richard Madden in the race to replace Daniel Craig after No Time To Die.




epl

10 Indianapolis restaurants with fireplaces

Stay toasty during dinner or warm up with a drink at these 10 Indy restaurants with fireplaces.

       




epl

Virtual replay

See full animations of the key moments in Italy's World Cup triumph



  • World Cup 2006


epl

Ottawa deploying 'park ambassadors' to clear up confusion on rules in parks

The City of Ottawa is launching a “Parks Ambassador Program” to educate residents on the do’s and don’ts in parks during the COVID-19 pandemic.




epl

At this Chinese hotel, the bellhops have been replaced by talking robots

Robots are showing up in more and more hotels all over the world. A Washington Post reporter's video captures what it's like to interact with one.




epl

Four fantasy football quarterbacks to replace 49ers Jimmy Garoppolo

Garoppolo was forced to leave the game against the Chiefs after taking a hit in the fourth quarter.




epl

TCT Telco Becomes First Kansas Company to Deploy APMAX Middleware

Several factors were key in this northeastern Kansas telephone company's decision to choose APMAX IPTV middleware from Innovative Systems. However, according to Tri-County Telephone Association's General Manager, Dale Jones, putting the customer experience first above everything else was their main goal in making the decision.

Jones stated, "The capabilities that the Innovative solution gives us to reach out and touch the customer from our back office to help them over the phone is critical in the customer experience. Without having to send out a service technician, which takes time and costs more, we are helping our customers in a timely manner and reducing our own operating costs."

Jones likes the fact that Innovative Systems is continually growing their products with new features to help the rural telco market stay on top of a very competitive market. Jones advises other telcos to look to companies that are thinking outside the box especially when it comes to video. Jones says, "Today's business is nothing like it was in the past, if you are going to attract and retain video customers you have to give them the technology that is going to drive that experience."




epl

AT#441 - Travel to Poland (replay)

Hear about travel to Poland as the Amateur Traveler talks again to Chris Bogdon about his recent trip to Poland. Chris brought his kids and his parents to experience the country where his family came from. Chris did an overview of the country on a bus tour.




epl

AT#527 - Travel to Napa and Sonoma, California (replay)

Hear about travel to California's premier wine region of Napa and Sonoma as the Amateur Traveler talks again to free lance journalist Jill Robinson about this area with more than just wine... but a lot of that




epl

AT#480 - United States UNESCO World Heritage Sites (replay)

Hear about the United States UNESCO World Heritage Sites as the Amateur Traveler talks to Gary Arndt from Everything-Everywhere.com and The Global Travel Conspiracy podcast about these best of the best sites.




epl

AT#550 - Travel to Tokyo, Japan (replay)

Hear about travel to Tokyo as the Amateur Traveler talks to family travel blogger / podcaster Jason Andrew Jenkins from AnEpicEducation.com about a city he called home for 13 years.




epl

AT#552 - Travel to Northern Italy (replay)

Hear about travel to Mantua, Verona, Padua Italy as the Amateur Traveler talks to Gina Mussio from ginamussio.com about these wonderful cities in her adopted country.




epl

Seamless branch deploys with Kubernetes

Basecamp’s newest product HEY has lived on Kubernetes since development first began. While our applications are majestic monoliths, a product like HEY has numerous supporting services that run along-side the main app like our mail pipeline (Postfix and friends), Resque (and Resque Scheduler), and nginx, making Kubernetes a great orchestration option for us. As you… keep reading




epl

Reply to Cosgrove: Non-enzymatic action of expansins [Letters to the Editor]

In our computational study, we use molecular simulations to substantiate a hypothetical mechanism for glycosidic bond cleavage in the presence of a single catalytic acid at the active site of the mutant D10N HiCel45A. In addition to discussing this plausible mechanism from the context of structurally related MltA lytic transglycosylase and subfamily C GH45s, we also suggest the implications of the plausible mechanism for our current understanding of the action of expansins and lytic transglycosylases. As correctly pointed out by Professor Cosgrove (1), there is large body of evidence, a significant portion of which was regrettably not discussed in our paper, that suggests that expansins are incapable of lytic action on polysaccharide substrates. Whereas these insights do not change the results or the conclusions of our article, we would like to thank Professor Cosgrove for these additional insights. In particular, our main point with respect to expansins is that our results suggest the possibility that expansins are capable of nonhydrolytic lytic activity. Our intention was not to suggest this was the mechanism of expansins, but that it should be considered based on our results and the similarity of the active sites.The molecular mechanisms of how expansins enable cell wall expansion remains to be fully understood. Whereas our proposed mechanism resulting in the formation of the 1,6-anhdro product might be found in expansins and might contribute to the mode of action of expansins, we would like to emphasize that the intent of this study was only to suggest this as a...




epl

Atomic force microscopy-based characterization of the interaction of PriA helicase with stalled DNA replication forks [DNA and Chromosomes]

In bacteria, the restart of stalled DNA replication forks requires the DNA helicase PriA. PriA can recognize and remodel abandoned DNA replication forks, unwind DNA in the 3'-to-5' direction, and facilitate the loading of the helicase DnaB onto the DNA to restart replication. Single-stranded DNA–binding protein (SSB) is typically present at the abandoned forks, but it is unclear how SSB and PriA interact, although it has been shown that the two proteins interact both physically and functionally. Here, we used atomic force microscopy to visualize the interaction of PriA with DNA substrates with or without SSB. These experiments were done in the absence of ATP to delineate the substrate recognition pattern of PriA before its ATP-catalyzed DNA-unwinding reaction. These analyses revealed that in the absence of SSB, PriA binds preferentially to a fork substrate with a gap in the leading strand. Such a preference has not been observed for 5'- and 3'-tailed duplexes, suggesting that it is the fork structure that plays an essential role in PriA's selection of DNA substrates. Furthermore, we found that in the absence of SSB, PriA binds exclusively to the fork regions of the DNA substrates. In contrast, fork-bound SSB loads PriA onto the duplex DNA arms of forks, suggesting a remodeling of PriA by SSB. We also demonstrate that the remodeling of PriA requires a functional C-terminal domain of SSB. In summary, our atomic force microscopy analyses reveal key details in the interactions between PriA and stalled DNA replication forks with or without SSB.




epl

CBD Press Release: Executive Secretary Hails Record Replenishment of the Global Environment Facility Trust Fund.




epl

CBD News: Islands and their surrounding near-shore marine areas constitute unique irreplaceable ecosystems often comprising many plant and animal species that are found nowhere else on Earth. They are also key to the livelihood, economy, well-being and cu




epl

CBD News: Fundamental to human well-being, water resources can help create paid and decent jobs. But water is a finite and irreplaceable resource. It is only renewable if well managed. All freshwater ultimately depends on the continued healthy functionin




epl

CBD Notification SCBD/IMS/JMF/NP/YX/88707 (2020-021): Decision 14/23, Financial Mechanism: Assessment of Funding Needs for the Implementation of the Convention and its Protocols for the Eighth Replenishment Period (July 2022 to June 2026) of the Trust Fun





epl

Understanding What Kepler Did--Part I




epl

Understanding Kepler II--Earth's Motion




epl

Understanding Kepler III--Predecessors




epl

Reply to I have a question....

petrapetruta posted a reply:

Corrado Carlini:

It's not a like/dislike thing.It's all about colors.Just take a look at the pool.
We want specific kind of photos.Otherwise this group won't be named Catchy Colors.