[racket-users] Re: [racket-money] near-term bootstrap monetizing blog to ??? to book to ???

2019-01-28 Thread David Storrs
These all sound like perfectly reasonable ideas.  Advertising is a
tough way to earn money these days, but it's easy to set up if you're
willing to use a standard platform like AdSense.  I recommend against
managing it yourself and trying to personally locate advertisers so as
to enable complete privacy.  That will not have positive ROI.

You sound confident that you can get 10-100k readers per article
within a couple of weeks.  That's a large enough audience that you
actually could make money advertising, but it's also a very big ask.
It might be worth re-examining that assumption -- do you have specific
evidence for it, maybe in the form of prior efforts at building an
audience?  I'm certainly willing to read whatever your write -- you've
been incredibly helpful here on RU and demonstrated mastery of your
subject, so I suspect the rest of your work would also be
high-quality.  That said, RU is a small community.  How are you going
to acquire the rest of that audience -- do you already have a large
following on Facebook, Quora, or another significant community?  How
will you get the word out?

If you really can get 100k followers then I would recommend going the
Patreon route.  The average Patreon user gives about $3, so if you can
get 1% of your readers to sign up then you'll be making significant
bank and you'll have a relatively predictable income stream.  I would
definitely suggest having multiple reward tiers, since price anchoring
is a thing, and don't be afraid to go big on the higher-level one.  I
also suggest having your highest tier being one where the reward is
access to you personally;  I have a $200 tier with the reward "4x /
year I'll read and comment on up to 5,000 words of your writing, or we
can talk for up to an hour on Skype/Hangouts/whatever."  This was
created at the explicit request of a reader.  A friend of mine has a
similar tier that he's also gotten a patron for, so mine isn't a
one-off.

Affiliate links are not evil as long as you explicitly label them as
such.  Something like "Hey, if you want to buy the product I just
described, could you please support me by using my ?
It doesn't cost you anything extra and it helps me a lot."

Merch is also an option.  It's easy to sell T-shirts, mugs, etc with
your brand on them, and to do so in an on-demand way so that you're
not holding inventory.

Merch also segues well into dropshipping; if you write an article
about (e.g.) great car tires, you could have a "Buy Now" link that
will purchase them from an appropriate dealer and have them shipped to
the person.  Again, you aren't sinking money into inventory and the
source is glad for the business.  You can either arrange a commission
with them (making it effectively an affiliate link) or you can charge
a slight markup.  If the source doesn't have an affiliate program and
you want to dip your toe in the water without going to the effort of
integrating a dropshipping service then you could keep it manual at
the start:  Have the reader pay you the price + a slight markup via
PayPal and you purchase and ship the (e.g.) tires manually (presumably
through the source's website).  If you find a lot of demand, automate
it.

Good luck!

On Sun, Jan 27, 2019 at 3:26 PM Neil Van Dyke  wrote:
>
> (This isn't Racket-specific, in my immediate case, but perhaps it could
> also be relevant to Racket-related writing efforts.)
>
> I'm thinking again about how to monetize the following, near-term,
> without just selling out my users to 'analytics' profiling...
>
> A couple/few years ago, I wrote a bunch of articles on a
> topic I learned pretty well, which is of broad interest, and (I later
> learned) is of especial interest to many wealthy dotcom people.  I also
> wrote some blog site generator software in Racket, using
> `html-template`.  I got distracted by consulting/job-hunting, a huge
> real startup idea, and paying rent, and never launched this side thing.
>
> Here's an incomplete idea of possible steps or elements (and please
> pardon me for not saying what the topic is):
>
> * In some medium, release a few articles at once, then start
> drip-feeding further articles from the pipeline.
>
> * The medium might be a Web site, or a phone/tablet app (or both, with
> HTML5 Offline, or an app wrapper and dealing with the Apple and Android
> stores), or some site like Medium.com (though I hear Medium.com might
> already be falling out of favor with content creators).
>
> * Patreon/PayPal/Bitcoin for donations is very attractive.  I'd prefer
> to keep all the writing content freely-available, though, and not bother
> with things like early viewing, even though Patreon seems to like
> premium bonuses.
>
> * Many of the articles naturally have very honest tie-ins with products
> sold on Amazon and other places.  Maybe Amazon Affiliate kickbacks can
> still be lucrative?
>
> * A few of the articles have honest one-time tie-ins with other,
> non-Amazon products/services for which I've found affiliate programs.
> 

[racket-users] Task ,drracket problems solution

2019-01-28 Thread Luis Sanjuán
As Дмитрий points out the largest divisor of a number is the number itself. 
Maybe you are looking for the second largest factor.

Anyway, people in this list won't help anyone do homework problems. If only 
because we all here believe that instead of helping we would actually 
preventing from learning.

However, I'll give you some food for thought.

The HtDP book contains two sections that you may find useful:

- Section 9.3 on natural numbers
- The chapter about generative recursion (divide and conquer algorithms)

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Task ,drracket problems solution

2019-01-28 Thread Дмитрий Т
Hello.

For one integer your examples are wrong. Use function gcd, included in racket 
https://docs.racket-lang.org/reference/generic-numbers.html#%28def._%28%28quote._~23~25kernel%29._gcd%29%29

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-28 Thread orenpa11
Thanks
Or

On Saturday, January 26, 2019 at 10:04:45 PM UTC+2, Matthias Felleisen 
wrote:
>
>
> This is a working PB program: 
>
> (require test-engine/racket-tests)
> (require 2htdp/image)
> (require 2htdp/universe)
>
> (big-bang 100
>   (to-draw (lambda (x) (circle (+ x 1) 'solid 'red)))
>   (on-tick sub1)
>   (stop-when zero?))
>
> (test)
>
>
> Now please do the rest of your homework yourself. 
>
>
> On Jan 26, 2019, at 2:55 PM, orenpa11 > 
> wrote:
>
> Hi Matthias ,
> I am sorry but I still did get it.
> should I import the snake file that was written in "Beginning Student with 
> List Abbreviations"  and the code will be chnaged to  pretty big ?
> or only the "check-expect" is been chnaged from  "Beginning Student with 
> List Abbreviations"  to  pretty big ?
> Does Pretty Big has  drawing functions ?
>
> Thanks,
> Or
>
> On Friday, January 25, 2019 at 5:33:50 PM UTC+2, Matthias Felleisen wrote:
>>
>>
>> See below. I gave precise instructions. 
>>
>>
>> > On Jan 25, 2019, at 10:27 AM, orenpa11  wrote: 
>> > 
>> > OK, 
>> > Got it , but how can I import the code of the snake program that was 
>> written in "Beginning Student with List Abbreviations"  and chnage it to 
>>  pretty big ? 
>> >   
>> > 
>> > On Friday, January 25, 2019 at 4:08:40 PM UTC+2, Robby Findler wrote: 
>> > You've opened the right dialog. Now type "test-" into it. You should 
>> > see the file appear. Click on it. 
>> > 
>> > Robby 
>> > 
>> > On Fri, Jan 25, 2019 at 7:53 AM orenpa11  wrote: 
>> > > 
>> > > Hi, 
>> > > Sorry but I did not get it. 
>> > > should I add the path to the rkt file or add the code ? 
>> > > 
>> > > Thanks, 
>> > > Or 
>> > > 
>> > > On Friday, January 25, 2019 at 1:39:12 PM UTC+2, Matthias Felleisen 
>> wrote: 
>> > >> 
>> > >> 
>> > >> DrRacket -> File -> Open Require Path -> enter test- -> use mouse 
>> > >> 
>> > >> 
>> > >> On Jan 24, 2019, at 11:11 PM, orenpa11  wrote: 
>> > >> 
>> > >> Hi 
>> > >> where can I find the  test-engine ? 
>> > >> I would like to copy the code  and  "play" with it. 
>> > >> So I can understand it better . 
>> > >> just copying the code is not helpful because I need to understand 
>> it. 
>> > >> 
>> > >> Thanks, 
>> > >> Or 
>> > >> 
>> > >> On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias 
>> Felleisen wrote: 
>> > >>> 
>> > >>> 
>> > >>> Yes there is. Use (require test-engine/racket-tests) 
>> > >>> at the top and (test) at the bottom. 
>> > >>> 
>> > >>> But it sounds like you’re copying and pasting homework 
>> > >>> solutions. Hmph. 
>> > >>> 
>> > >>> 
>> > >>> 
>> > >>> 
>> > >>> > On Jan 24, 2019, at 3:44 PM, orenpa11  wrote: 
>> > >>> > 
>> > >>> > Hi Matthias , 
>> > >>> > Unfortunately I need to write the project in pretty big language. 
>> > >>> > The game is not written in pretty big language as far as I know. 
>> > >>> > I thought that can copy andycode that was written in any language 
>> in racket to pretty big. 
>> > >>> > Is there a way to transfer code that was written in  "Beginning 
>> Student with List Abbreviations" to pretty big ? 
>> > >>> > 
>> > >>> > Thanks, 
>> > >>> > Or 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias 
>> Felleisen wrote: 
>> > >>> > 
>> > >>> > 
>> > >>> > Where did you find the snake game? 
>> > >>> > Where did it say it’s written in Pretty Big? 
>> > >>> > 
>> > >>> > We have not used Pretty Big in over a decade in education, 
>> > >>> > neither does anyone in the Racket edu community proper. 
>> > >>> > 
>> > >>> > This community supports people readily wth answers, but 
>> > >>> > we need to know what you know. 
>> > >>> > 
>> > >>> > — Matthias 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > > On Jan 24, 2019, at 12:56 PM, orenpa11  
>> wrote: 
>> > >>> > > 
>> > >>> > > Hi 
>> > >>> > > I need to create a project in pertty big . 
>> > >>> > > why this code is not been supported ? 
>> > >>> > > 
>> > >>> > > Thanks, 
>> > >>> > > Or 
>> > >>> > > 
>> > >>> > > On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy 
>> wrote: 
>> > >>> > > The language you should be using is "Beginning Student with 
>> List Abbreviations". 
>> > >>> > > 
>> > >>> > > On Jan 24, 2019, at 4:33 AM, orenpa11  
>> wrote: 
>> > >>> > > 
>> > >>> > >> Hi, 
>> > >>> > >> when I removed the line 
>> > >>> > >> #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
>> snake-full) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t 
>> constructor repeating-decimal #f #t none #f ( 
>> > >>> > >> 
>> > >>> > >> And changed the  language to pretty big. 
>> > >>> > >> I recived this error: 
>> > >>> > >> Welcome to DrRacket, version 7.1 [3m]. 
>> > >>> > >> Language: Pretty Big; memory limit: 128 MB. 
>> > >>> > >> . . check-expect: undefined; 
>> > >>> > >>  cannot reference an identifier before its definition 
>> > >>> > >> 
>> > >>> > >> Any idea ? 
>> > >>> > >> 
>> > >>> > >> Thanks, 
>> > >>> > >> Or 
>> > >>> > >> 
>> >