Skip to content
EN

Back to the catalog

123ash.wordpress.com
rss2English

123ash's Blog

123ash.wordpress.com · English

Just another WordPress.com weblog

rss2 wordpress content media slash wfw atom dc sy

Open the feed

https://123ash.wordpress.com/feed/

Last post
Jun 17, 2023
Posts in 24 h · 7 days · 30 days
0 · 0 · 0
Our last check
Answering
Served from
United States
Text score at discovery
9,651
Format
rss2
Features in the feed
content, media, slash, wfw, atom, dc, sy
Community
wordpress

Posts

What our queue read from this feed. Open one to read it here, or go to the site that published it.

  1. Customizing the VSCode editor
    Jun 17, 2023 · original
    After seeing the Github Co-Pilot webage, I got intrigued by the color scheme used to demo the “powers” of Co-pilot. The dark theme caught my attention and I wanted to incorporate into my editor. Unfortunately, there is no official version of the Github Co-pilot theme. Upon search, I found this add-on https://marketplace.visualstudio.com/items?itemName=BenjaminBenais.copilot-theme which is supposed to provide the same theme. However I notice it did not color my variables and functions in a same way. Now I wondered, how the color of these “functions”, “keywords” and comments is determined. It turns out, there is a setting in the vscode made specifically for this purpose. It can be set using editor.tokenColorCustomizations. For example, here is the snippet from my setting. "editor.tokenColorCustomizations": { "comments": "#918d8d", "strings": "#226ea3", "keywords": "#ee8277", "functions": "
  2. CLR transform or Centered Log ratio
    Jan 14, 2023 · original
    Centered log ratio is a very common approach when one needs to transform the data which is skewed such as composition data or some other count data. Geometric Mean In order to perform centered log ratio transform or CLR transform, we need to use the concept of Geometric Mean. Geometric mean is one of the oldest method to take the mean of the sequence of numbers and it extends beyond that but we won’t go that far. One of the cool things I found in the Wiki link for Geometric Mean is the that area of radius of the circle is the geometric mean of the semi-major and the semi-minor axes of the ellipse formed by deforming the circle π r 2 = π*a*b Here, the circle is formed by deforming the ellipse. This tells us that circle is the special case of ellipse where semi-major and semi-minor axes happens to be of same length. Now if we simplify, we get r = √a*b Now remember, here we have two numbers
  3. GGplot2 snippets
    Jan 6, 2023 · original
    These are some of the code snippets that I often need while using ggplot2 library. Increasing the font size of text to around 20 Rotating the labels so they are visible in case they are very long library(tidyverse) mtcars %% ggplot(aes(x = reorder(row.names(mtcars), mpg), y = mpg, fill = mpg)) + geom_point() + theme_bw() + theme(text = element_text(size = 20)) + theme(axis.text.x = element_text(angle = 90, vjust = 0.5, hjust = 1))
  4. R code
    Dec 26, 2021 · original
    library(tidyverse)
  5. M1 Mac Mini
    May 20, 2021 · original
    After hearing about ARM macs in November 2020, it was about time to test one myself. I heard lot about overwhelmingly positive experience with everyone. I was reluctant to try one since I already have the current 18 wheeler of the Mac computers – Mac Pro with 12 cores and RAM upgraded to 240GB (Plenty more than I need on day-to-day basis). There was no need for me to try it out. However, I kept eyeing the refurbished section to see if they have any cheap Mac Minis. Moreover, I had some trouble with Pro Display XDR and it turns out Mac Pro is the only computer I have that can be used with it. Finally, I saw Macmini listed on the refurbished site with all souped up specs (16 GB RAM and 2 TB drive). 10GB ethernet would have been nice but they are just coming into market so not available on the refurbished market at the time of this writing. Nevertheless, this is the powerful M1 MacMini I wa
  6. WWDC 2020 iOS version
    Jun 24, 2020 · original
    My usual interest in the WWDC has waned over the past four years. I remember being so excited about WWDC for iOS updates. Granted things were improving or new features were introduced at faster rate. May be my expectations have reached levels that exceeds the current improvements in iOS. I can say the same for MacOS but I will leave it for another post. It definitely felt it was pre-recorded. Being at home, I watched WWDC anyways and some of the things got me interested. One of my favorite feature was the inline reply to specific message. Using Whatsapp has made be realized the shortcomings of iMessage. I mean this has be so frustrating to follow the context because if you miss replying to a message, it might not make sense at all. My personal use case does not involve buckets of messages but I am so much looking forward for this feature. App library is the other feature that I think is
  7. Mac Pro 2019 Review
    Dec 24, 2019 · original
    After my iMac pro debacle, I decided that it was a time to switch to proper workstation type tower computer. I think iMac pro is a great computer but the convenience of having all in one computer hurts when something goes wrong with it. Upgrades are also very difficult in iMac pro. Opening iMac pro is virtually impossible without experience. Moreover, it can be confined by the physics of cooling and is throttled in terms of sustainable CPU and GPU speed. All this lead me to decide about moving to a classic modular desktop computer : Monitor + CPU. It has been more than 10 years since I purchased a tower computer. Mac Pro just got released and initially I was not even planning to buy a new computer. However, my fresh experience with iMac pro virtually pushed me to the edge to buy this expensive and giant computer. Ordering Mac pro was very difficult process. Obviously price is the most im
  8. iMac pro Repair 4
    Feb 15, 2019 · original
    Imac pro has given me the most trouble in the history of my computer usage. While the first repair one month, the other repair took over 5 days. The reason for my second repair was the smudge in the lower right corner of my screen. That repair was faster because iMac pro uses the same screen component as the regular 5k iMac. However, it worries me that my computer stays warm after going to sleep. It seems very irregular since I checked it in the morning and it was just around 32℃. However, I came back in the evening and it felt really warm around the computer. I could not hear any fan noise. I measured the temperature with an infrared temperature gun and it was over 37℃. I immediately started the computer and the temperature went down pretty fast. As I type, the temperature is around 30℃. It also feels cool to touch since the infrared temperature gun only tells us about surface temperatu
  9. CDF vs PDF
    Jan 29, 2019 · original
    By CDF, I mean Cumulative distribution function and by PDF, I mean probability density function. These are related to each other and are very important in understanding statistics and probability. I came across these terms while I was plotting a histogram of temperatures in Houston and Chicago. Normally, when we have some data, we can plot the histogram using simple hist function. For example, #Load library library(tidyverse) #Read the Houston weather data houston_weather - read_delim("KIAH_daily.txt", delim = ",") #Read the Chicago weather data chicago_weather - read_csv("KORD_daily.txt") houston_weather %% bind_rows(., chicago_weather) %% mutate(Date = as.Date(Date, format = '%m/%d/%Y')) %% separate(Date, c("year","month","day")) %% ggplot(., aes(x=`Avg Temp`, fill=Site4, color=Site4)) + geom_histogram(position="identity", alpha = 0.5) Histogram of Houston and Chicago Average Temperatu
  10. iMac pro repair 3
    Jan 28, 2019 · original
    This is the update on the previous posts. Please see iMac pro repair 1 and iMac pro repair 2 for the background. Actually, there is a good news that I finally received my iMac pro after ~ one month. The problem started on 24th December 2018 and I received it back on 27th January 2019. I was notified by the email that my computer is ready for pick-up late night yesterday. The check out was smooth and I noticed that they replaced my logic board with a more advanced version of the graphics card (Vega 56 to Vega 64). This was totally unexpected in a very good way. Granted they made me wait for one month but the wait was worth the upgraded graphics card I was told last Monday that they will fix it in around 5 days once they receive the part. The part ( logic board) took forever to come. It was not delivered when they first ordered it and had to order it again. This was strange but I was more

Discovered by the rss-feed-index crawler, which checks each feed at most once a month.

Same record as JSON: https://api.agentalog.com/api/feeds/fd_123ash_wordpress_com_0c31f42ac84a3c08. More from this site: 123ash.wordpress.com in the Feeds tab.