Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "functionality"


Apple Recharges Race to a Better Battery by Hiring Executive Away From Samsung

  • Apple has hired an executive from Samsung SDI, the battery making affiliate of Samsung Electronics, to help lead its own battery work.
  • Soonho Ahn joined (aapl) Apple in December as global head of battery developments, after working as a senior vice president at Samsung SDI since 2015, according to his LinkedIn profile.
  • At Samsung SDI, Ahn led development of lithium battery packs and worked on “next-generation” battery technology, the profile says.
  • Apple has been working on its own MicroLED display technology for future devices, which would help wean itself off Samsung in other areas.
  • Apple has also been in talks to buy cobalt, a key component of battery packs, directly from miners.
  • As device makers release products with similar functionality, differences in key features like battery life and performance are becoming more important, and Apple is seeking a competitive advantage in those areas.

save | comments | report | share on


Emulating Components in Twig

  • There were two main Twig features that I thought I could use to achieve component-like functionality within Twig: Macros and Includes.
  • But, they have a built-in feature, "with", that allows you to pass context (i.e. variables) into the include which made me hopeful that I could hack them into working well as components!
  • I immediately coded up an example on TwigFiddle (twigfiddle.com) and I found that Embeds fully met both of my criteria: Using the "with" functionality and "blocks" I could pass props and chunks of markup into the embed.
  • I don't think Embeds are a fantastic long-term solution, and I'd love to have component functionality natively in Twig, but I was happy to find something that satisfies my needs and allows me to clean up my templates in the way that I'm comfortable with.

save | comments | report | share on


Twitter is rolling out a new web interface, including an emoji button

  • Twitter has started to roll out a new interface for its web users that includes several key features, like a newly designed emoji button.
  • The most important changes are tiny shortcuts to make tweeting easier.
  • A large, dedicated button in the tweet box makes it easier to add an emoji, an updated trending section appears on the right-hand side of the page, and little aesthetic updates make it easier to see who’s involved in a conversation.
  • These changes, alongside the way Twitter’s desktop version has condensed from three columns into two, should make it easier to both read and send tweets.
  • None of these changes are part of Twitter’s previously announced updates.
  • Beta testing for several new Twitter features, including status updates and reply functionality, hasn’t started yet.
  • It’s unclear how many people will be able to opt in to the new desktop version of Twitter, but those who can will be presented with the option to do so.

save | comments | report | share on


Emulating Components in Twig

  • There were two main Twig features that I thought I could use to achieve component-like functionality within Twig: Macros and Includes.
  • But, they have a built-in feature, "with", that allows you to pass context (i.e. variables) into the include which made me hopeful that I could hack them into working well as components!
  • I immediately coded up an example on TwigFiddle (twigfiddle.com) and I found that Embeds fully met both of my criteria: Using the "with" functionality and "blocks" I could pass props and chunks of markup into the embed.
  • I don't think Embeds are a fantastic long-term solution, and I'd love to have component functionality natively in Twig, but I was happy to find something that satisfies my needs and allows me to clean up my templates in the way that I'm comfortable with.

save | comments | report | share on


A little bug to ruin everything

  • If somebody had said me back than, that one line of code in the configuration files of my project would make me as angry and tired as I was two weeks after writing that line, I'd laugh loudly.
  • After lurking out the Devise guts I patched it to develop forward(basically letting user to use site without confirmation required), but the problem was still here, crawling around to catch me first time I miss and implement datetime-related functionality.
  • Nothing, literally nothing what had to be working with dates, time and timezones functioned for real.
  • You pass a date or time, even basic :created_at to the DB via ORM and when you get it back it returns just nil.
  • Remember, even the smallest bug can get to stumble your entire solution working process the time you least expect it.

save | comments | report | share on