Coder Social home page Coder Social logo

drunkaudible's Introduction

Hi, there πŸ‘‹!

I am a software engineer and businessman that crafts Internet services for a living and for fun.

If you are

  • πŸ‘” an investor or entrepreneur
    • I help investors source deals
    • I help startups source engineers and designers
  • πŸ˜› an entrepreneur like me
    • raising seed funding for your crypto startup β†’ there is a budget to invest $300k per case
    • interested in Decentralized AI, FinTech, SaaS, and community-building technologies β†’ let's talk
  • πŸ•΅οΈβ€β™€οΈ an employer β†’ I am only interested in Senior Staff or Principal (equivalent to Google L7/L8) level, or TC $850k+/yr positions
  • πŸ‘©β€πŸ’» an software engineer
    • not based in the US, and looking for part-time remote work opportunities β†’ I am helping my friends hire full-stack contractors $15 ~ $25 / hour all year round
    • wanting to become a better software engineer or engineering manager β†’ 10x.pub community
  • ❓ interested in what I am

You could say hi to me at https://t.me/puncsky or email me via tian.pan at outlook.com

Follow me for sys design, tech leadership, web3, and fintech:

Twitter URL

drunkaudible's People

Contributors

puncsky avatar

Watchers

 avatar

drunkaudible's Issues

Reorg PlayerProgress and DownloadProgress

Initially, if the file exists, there is a foreground blue / background grey bar showing PlayerProgress. If there is not file, show nothing. Once the entry clicked, show the DownloadProgress. When download is finished, invisible the DownloadProgress, and visible the PlayerProgress.

Implicit intents with startService are not safe

[ViewRootImpl] ViewRoot's Touch Event : Touch UP
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.bindService:517 drunkaudible.mobile.android.AudioPlayerFragment.n_onActivityCreated:-2 drunkaudible.mobile.android.AudioPlayerFragment.onActivityCreated:39 
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.startService:494 drunkaudible.mobile.android.AudioPlayerFragment.n_onActivityCreated:-2 drunkaudible.mobile.android.AudioPlayerFragment.onActivityCreated:39 
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.bindService:517 drunkaudible.mobile.android.AudioPlayerFragment.n_onStart:-2 drunkaudible.mobile.android.AudioPlayerFragment.onStart:47 
[ContextImpl] Implicit intents with startService are not safe: Intent { act=com.puncsky.drunkaudible.mobile.android.CONNECT } android.content.ContextWrapper.startService:494 drunkaudible.mobile.android.AudioPlayerFragment.n_onStart:-2 drunkaudible.mobile.android.AudioPlayerFragment.onStart:47 
[MediaPlayer[Native]] isPlaying: no active player
[MediaPlayer[Native]] isPlaying: no active player

VI design

Logo, splash screen, color and theme.

Incorrect behavior of DownloadProgress and its UI.

After play with dev machine, I found:

  • Download in progress should display the status.
  • Updating one row's download progress bar should not affect other rows via view holder pattern.
  • Show the bar only when it is needed. Move to #5 .

Convert all singleton global variables to sub-classing configuration of the application.

For global variables, subclassing instead of singleton.

This is a following-up issue from #28

http://stackoverflow.com/questions/708012/how-to-declare-global-variables-in-android

Cons of singleton

  • Inability to use abstract or interface classes;
  • Inability to subclass;
  • High coupling across the application (difficult to modify);
  • Difficult to test (can't fake/mock in unit tests);
  • Difficult to parallelize in the case of mutable state (requires extensive locking);
  • Unclear and unmanageable lifetime contract unsuited for Android (or most other) development;

Add WebView for online store.

WebView should interact with activity to load album metadata into the database.

Following up #14

Working with puncsky/DrunkAudible.Web#1

AudioEpisode null or empty throws exceptions

[StreamingBackgroundService] Unable to start playback: System.ArgumentNullException: Argument cannot be null.
[StreamingBackgroundService] Parameter name: stringToEscape
[StreamingBackgroundService]   at System.Uri.EscapeDataString (System.String stringToEscape) [0x00000] in <filename unknown>:0 
[StreamingBackgroundService]   at DrunkAudible.Mobile.AudioDownloader.GetFilePath (System.String url) [0x00002] in /Users/tp/Projects/DrunkAudible/Shared/Helpers/AudioDownloader.cs:96 
[StreamingBackgroundService]   at DrunkAudible.Mobile.AudioDownloader.HasLocalFile (System.String url) [0x00002] in /Users/tp/Projects/DrunkAudible/Shared/Helpers/AudioDownloader.cs:81 
[StreamingBackgroundService]   at DrunkAudible.Mobile.Android.StreamingBackgroundService+<Play>c__async0.MoveNext () [0x000d9] in /Users/tp/Projects/DrunkAudible/Mobile.Android/Services/StreamingBackgroundService.cs:296 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.