Whatvto do netx?

PR's Tumblrdome
we're not kids anymore.

Kiana Khansmith

★
Peter Solarz

ellievsbear

Discoholic 🪩
Alisa U Zemlji Chuda
d e v o n
styofa doing anything
will byers stan first human second
I'd rather be in outer space 🛸

⁂
Xuebing Du

Love Begins

roma★
sheepfilms
Three Goblin Art
Game of Thrones Daily

祝日 / Permanent Vacation
seen from United Kingdom
seen from Finland

seen from United States
seen from United Kingdom

seen from United Kingdom
seen from Ukraine
seen from T1
seen from Germany
seen from United States

seen from Denmark
seen from Russia

seen from United States

seen from France
seen from United States
seen from United States

seen from United Kingdom

seen from Ukraine

seen from Türkiye

seen from United States
seen from United States
@dstudio101
Whatvto do netx?
Angry!
What's the best thing to do when you're angry and you know that anything you think of will make things worse. I want to be right. I want to be the right one. I want everybody to know I'm in the right. I want everybody to acknowledge this. That's what I so wanted to shout OUT! What's the best thing to do generally? What I did and probably will do again is ignore and do nothing. It hurts my feelings inside and it makes me weak. The thing is, this anger is troublesome in my being and those others involve. It's hard for me to say I'm sorry.
Systemd unit files and timers at the user level can rotate your GNOME wallpaper really easily.
Just learned or tried some tweaks for changing wallpapers in Gnome using some coding tricks -- it was a cool side trip.
#Flared handle made of #wood.
Brush The Ball
For this sport, I'm yet to master all about brushing the ball. I mean now I know what my racket can do. I'm also beginning to have confidence in my reading what my racket is capable of doing. Now, all I need to do is be conscious of this and execute the brush. Execute perfectly from the feet movement, the torso, the arm swing upto the follow through. Of course, I need to get the perfect timing when to execute, not forgetting the right positioning. Brush the ball, sounds easy enough. More next.
Swift on Raspberry Pi
When Apple first announced that Swift was going to be open sourced at WWDC last summer, one of my first hopes was that I could use it to write programs for Raspberry Pi. With Swift’s actual open sourcing earlier this month, I immediately set out to get the Swift compiler up and running on my Raspberry Pi 2. It turned out to be somewhat more difficult than I expected, and I ended up distracted with the holidays, etc. Thankfully, other people were working on it too.
About a week ago, William Dillon (@hpux735) announced that he had gotten the Swift compiler to successfully build for armv7 systems such as the BeagleBone, Raspberry Pi 2, etc. A while later, @iachievedit had packaged William’s work up and made it available via apt-get for Debian and Ubuntu. (Note that Swift is not yet working Raspberry Pi 1. It’s being worked on though.)
Yesterday, using their work I got Swift up and running on my own Raspberry Pi 2, and tweeted about it:
Thanks to @iachievedit, @hpux735, and others’ hard work, I have the Swift compiler running on my @Raspberry_Pi! pic.twitter.com/bjRgCvTGH6
— Andrew Madsen (@armadsen) December 26, 2015
To my surprise, a lot of people were interested, and my tweet was retweeted widely, including by Chris Lattner. A number of people asked for instructions for getting up and running with Swift on Raspberry Pi, so I’m writing those up here.
A few disclaimers: I did very little to make this happen. I mostly just followed @iachievedit’s instructions for installing William Dillon’s Swift ARM packages. Still, there were a few hangups that I had to figure out, and I hope these instructions are useful. Also, Swift on ARM is still in an alpha state. The compiler itself works, but Foundation, and the Swift Package Manager are not working. Until these, especially Foundation, are up and running, it will be somewhat hard to use Swift for anything terribly useful. Anyway, instructions follow:
To start, we need to install Ubuntu 14.04 on an micro SD card (I tried to use Raspbian, and ran into a simple roadblock, but it may be possible too). The instructions for installing Ubuntu are mostly taken from this page and this page. First, download an image of Ubuntu 14.04 for Raspberry Pi 2 here. When the download finishes, unzip the downloaded file somewhere reasonable (I put it on my Desktop).
Connect the SD card to your Mac, then list all connected disks by running the following command in Terminal:
diskutil list
Find the SD card in the list, including its disk number. It will be identified as /dev/disk# where # is the disk number. You’ll need this for later steps.
Next, format the card using FAT32 like so:
diskutil eraseDisk FAT32 PiUbuntu MBRFormat /dev/disk#
(Replace # with the disk number you found above).
Now we’re ready to copy the Ubuntu image to the SD card:
sudo dd bs=1m if=~/Desktop/2015-04-06-ubuntu-trusty/2015-04-06-ubuntu-trusty.img of=/dev/rdisk#
Enter your Mac system password when prompted. (Again, replace # with the disk # found using diskutil list.)
When the copy is done, eject the SD card from your Mac, and insert it into your Raspberry Pi 2, then power up the Pi. Assuming all went well, the Pi should boot to a command prompt. We need to finish some setup steps. First, delete the second partition on the disk, by running:
sudo fdisk /dev/mmcblk0 When prompted, enter ’d’ (for delete), then ‘2’. Then, recreate the partition by entering 'n’, then 'p’, then '2’, then pressing enter at the next two prompts.
Reboot by running
sudo reboot
After the reboot, resize the partition’s file system by running:
sudo resize2fs /dev/mmcblk0p2
Setup a swap file by doing:
sudo apt-get install dphys-swapfile
If you want a GUI desktop, install Lubuntu (or Xubuntu or Kubuntu if you prefer):
sudo apt-get install lubuntu-desktop
Then reboot (sudo reboot).
After all this, we’re ready to install the Swift compiler. Following @iachievedit’s instructions, do the following:
Install libicu-dev and clang-3.6:
sudo apt-get install libicu-dev clang-3.6
Use update-alternatives to provide /usr/bin links for clang and clang++:
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 100 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100
Then, add @iachievedit’s repository key:
wget -qO- http://dev.iachieved.it/iachievedit.gpg.key | sudo apt-key add -
Add the appropriate repository to sources.list:
echo "deb [arch=armhf] http://iachievedit-repos.s3.amazonaws.com/ trusty main" | sudo tee --append /etc/apt/sources.list
Run apt-get update:
sudo apt-get update
Finally, install Swift!
sudo apt-get install swift-2.2
After the installation is complete, you’re ready to compile Swift programs!
Open your favorite text editor, write a program, and save it (e.g. to 'hello.swift’):
let device = "Raspberry Pi 2!" print("Hello from Swift on \(device)")
Then compile it:
swiftc hello.swift
and run it:
./hello
Hello from Swift on Raspberry Pi 2!
That’s it! Swift running on Raspberry Pi. In order for Swift to be terribly useful on Raspberry Pi 2, more work needs to be done. See the Swift on ARM issue on the Swift bug tracker, and its child cases here. Follow that issue, along with myself, @iachievedit, and @hpux735 to keep up with what’s going on.
One thing that is needed are libraries for using the Pi’s hardware peripherals, including the GPIO pins, i2c, SPI, serial, etc. I’m working now on porting my serial port library, ORSSerialPort to Swift, in preparation for adding Linux support. I’d also like to write a library specifically for Raspberry Pi I/O in Swift, but have not yet started on it. Stay tuned for more.
Am interested, look into this maybe later
Speedcube Update
It's almost a year when I started learning speed cube. I never get past memorizing the complete set of 21 PLLs I found via youtube.com. I've memorized almost half of the 21 algorithms. So, most of the time, I end up doing a 2 pass PLL, sort of. Nevertheless, I'm quite happy with my time and the kind of cubes that I play with. Most of my time was spent doing F2L. I already have some pretty good algorithm going with this. Its the spotting of the colored pieces that takes much of my time. Yup, more practice on this one, too. I average around 1 minute with a personal best (PB) of 41 seconds. That's quite good enough for me. I still have a ways to go. I am not in a hurry, though. I'm minding some other active physical sports at the moment. More on this in another blog post.
Heads up! Just taking notes on Full PLL, all 21 of them. At least, as told by techtopia via his youtube video tutorial.....
Got a new baseball. 😀
At last, found the long lost #baseball. This is the first baseball ever bought. Now, let us see how this soft core training ball match up with the kid. Always having second thoghts to throwing regular baseballs. Hope this works.
This is a great read and happy to share. Hmmm...one 25 year old organizer says he's the oldest one in the competition, don't mind.
#OLL one of the 7 patterns to memorize learned from a youtube by #paradoxcubing. (R U2 R' U') (R U R' U') R U' R' Yellow is top and red is front.
Always look for the good in everybody.
Musings
#F2L I just shaved off around 30sec for #speedcubing. There's a long ways to go and more speed cube techniques to learn. Nxt step, #OLL techniques. I need to memorize 7 algorithm according to a youtube tutorial. Then there's polishing Cross and F2L. New acronym learned: CFOP.
Still working on f2l. Its a slow process and takes a lot of familiarization of piece placements. I am still avg over 2min 😊 which is great.
Thank you, Pong for the baseball straight from Japan. Happy new year, all!
Yeah, looking good. This is fun.