Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Kai Hendry
Yes, make the site static & host on S3/CloudFront. Generate from a DB of your stock/inventory. Go lang's html/template makes this painless. Dynamic bits should be ReactJS chatting with Stripe APIs. I would go so far as use Stripe to store the customer object et al. You can get it back out easy

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
Hi Joseph! Joseph Graham wrote: > Hiding the internals of the system just for the sake of hiding them sounds > like > Microsoft's philosophy. Think of it the other way: what is gained by showing the user "/cgi-bin/"? I suggest it conveys 0 bits of useful information to the user, and clutters

Re: [dev] Just discovered dwm

2016-09-22 Thread hiro
you're right that ubuntu systemd is too difficult to remove. there are solutions for the people who want a 100MB debian CLI install: you can use debian packages without debian, too (not gonna guide your direction with more details though).

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Joseph Graham
On Thu, Sep 22, 2016 at 09:28:56AM -0400, Bobby Powers wrote: > Hi Joseph, > > Joseph Graham wrote: > > The principal is: most of the website is static. Static index pages. Static > > item description pages. The item description pages link to a CGI script* > > with > > an ID for the product in a

Re: [dev] Just discovered dwm

2016-09-22 Thread Nick Warne
On Thu, 22 Sep 2016 21:31:09 +0200 hiro <23h...@gmail.com> wrote: > then it's no better than ubuntu. i can deselect stuff there, too. > So you use ubuntu? - deselect systemd? What I meant was pulseaduio, KDE et al isn't a base requirement - just if you want it. Nick -- "Gosh that takes me

Re: [dev] Just discovered dwm

2016-09-22 Thread stephen Turner
I liked the old debian floppy net install, 75 mb base cli only image. apt get your way to happiness. It didn't fit with the suckless as they did a lot to their system but it wasn't ubuntu. These days you can't even install a Cli for less than 100+ mb. i really don't understand what they are

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Joseph Graham
Thanks guys, I've recieved some good honest feedback, especially from Bobby. I like FRIGN's idea of using gift-cards to buy from amazon. Remonds me of how I used to use a pay-as-you-go phone which I only topped up with cash. -Joseph

Re: [dev] Just discovered dwm

2016-09-22 Thread hiro
then it's no better than ubuntu. i can deselect stuff there, too.

Re: [dev] slackware custom build

2016-09-22 Thread Nick Warne
On Thu, 22 Sep 2016 15:06:07 -0400 stephen Turner wrote: > This is a bit off topic and i wanted to avoid thread jacking another > conversation. > > I see people here are using slackware, i was considering a script > package management system that allows for easy

Re: [dev] ot: C Standard noreturn

2016-09-22 Thread u
On Thu, Sep 22, 2016 at 09:03:57PM +0200, Markus Wichmann wrote: > On Thu, Sep 22, 2016 at 08:04:44PM +0200, u...@netbeisser.de wrote: > > main.c:7:10: error: expected ???=???, ???,???, ???;???, ???asm??? or > > ???__attribute__??? before ???void??? > > noreturn void __stack_chk_fail(void); >

[dev] slackware custom build

2016-09-22 Thread stephen Turner
This is a bit off topic and i wanted to avoid thread jacking another conversation. I see people here are using slackware, i was considering a script package management system that allows for easy modifications for a "micro distribution" the idea was to not host any of the actual source but do

Re: [dev] ot: C Standard noreturn

2016-09-22 Thread Markus Wichmann
On Thu, Sep 22, 2016 at 08:04:44PM +0200, u...@netbeisser.de wrote: > main.c:7:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘void’ > noreturn void __stack_chk_fail(void); > noreturn is already a return type (in as much as void is one, namely syntactically), so remove

Re: [dev] ot: C Standard noreturn

2016-09-22 Thread Louis Santillan
On Thu, Sep 22, 2016 at 11:04 AM, wrote: > > Hi, > > how does noreturn attribute work? Trying to get this [0] to work, I > error on noreturn. > > /* Note how buffer overruns are undefined behavior and the compilers tend to >optimize these checks away if you wrote them

[dev] ot: C Standard noreturn

2016-09-22 Thread u
Hi, how does noreturn attribute work? Trying to get this [0] to work, I error on noreturn. /* Note how buffer overruns are undefined behavior and the compilers tend to optimize these checks away if you wrote them yourself, this only works robustly because the compiler did it itself. */

Re: [dev] Just discovered dwm

2016-09-22 Thread Nick Warne
On 22 Sep 2016 09:51:00 +0100 Nick Warne wrote: > On Sep 22 2016, Cág wrote: > > >hiro wrote: > > > >> networkmanager should be removed first thing on any distribution > >> slack doesn't sound so great if it includes some crap tbh. > > > >It has PulseAudio in the default

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread FRIGN
On Thu, 22 Sep 2016 17:56:24 +0200 Kamil Cholewiński wrote: Hey Kamil, > Thanks for the tip! I'll share this with our IT dept. are you being sarcastic? Of course you can't use it for corporation-size investments, but for personal stuff, it really works out. As an added

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Kamil Cholewiński
On Thu, 22 Sep 2016, FRIGN wrote: > A good way to shop at Amazon is with gift cards. [...] Thanks for the tip! I'll share this with our IT dept.

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Kamil Cholewiński [2016-09-22 16:38]: > Yes, because a three digit code printed on the back of your CC, that > changes once in every 3-5 years, and that gets shared with three dozen > different vendors, is s mch beeetteeer. Huh, I never proposed that, but rather

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Antenore Gatta
On Thu, 22 Sep 2016 16:09:00 +0200 Kamil Cholewiński wrote: > In Poland, on most online shopping services, you click "pay with bank > transfer" at the checkout. Click the logo of your bank, get a redirect > to the bank's online transaction service, type in your user, >

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread FRIGN
On Thu, 22 Sep 2016 16:38:43 +0200 Kamil Cholewiński wrote: Hey Kamil, > You're more-or-less without a choice if you want to do online banking. > Also safety in numbers. 99% of the cases of people getting pwned are > because they open random links and don't look at their

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Kamil Cholewiński
On Thu, 22 Sep 2016, Jochen Sprickerhof wrote: > I would never do that. Having lot's of JS fiddling around in my bank > account sounds scary. You're more-or-less without a choice if you want to do online banking. Also safety in numbers. 99% of the cases of people

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Bobby Powers [2016-09-22 09:57]: > Are you saying that doing wire transfers in Europe is common, or doing > wire transfers to pay for online goods? It's common for both. > I'm glad to hear it is less > of a horrendous experience, but it still feels like a suck idea to >

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Kamil Cholewiński
On Thu, 22 Sep 2016, Bobby Powers wrote: > Are you saying that doing wire transfers in Europe is common, or doing > wire transfers to pay for online goods? I'm glad to hear it is less > of a horrendous experience, but it still feels like a suck idea to > make customers

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
Hi, Jochen Sprickerhof wrote: > That's country specific. In Europe it's really common and with IBAN and > BIC it's working international. Also have a look at FinTS (former HBCI) > where you have public and private keys to communicate with your bank. > And there is

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Jochen Sprickerhof
* Bobby Powers [2016-09-22 09:28]: > Ever wonder why existing web sites don't do this? Because it wire > transfers are terrible. Either you force users to use a bank website > (Cookies + JavaScript, so you have just lost your moral high ground), > or you force them to

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
Hi Joseph, Joseph Graham wrote: > The principal is: most of the website is static. Static index pages. Static > item description pages. The item description pages link to a CGI script* with > an ID for the product in a query string. So for example > /cgi-bin/order?item=burgundy_shoes_23 First,

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Kamil Cholewiński
On Thu, 22 Sep 2016, Joseph Graham wrote: > I would like some feedback on some ideas I have for a script to make a very > simple, but very secure, e-commerce website. Maybe it can be "slecommerce". I don't think highly domain-specific applications belong under the suckless

[dev] Suckless e-comerce script proposal

2016-09-22 Thread Joseph Graham
Hey all, I would like some feedback on some ideas I have for a script to make a very simple, but very secure, e-commerce website. Maybe it can be "slecommerce". The principal is: most of the website is static. Static index pages. Static item description pages. The item description pages link to

Re: [dev] several questions

2016-09-22 Thread Sylvain BERTRAND
On Wed, Sep 21, 2016 at 11:45:00AM -0400, stephen Turner wrote: > > On Tue, Sep 20, 2016 at 04:32:18PM -0400, stephen Turner wrote: > >> currently understand it bash at the least is expected to compile the linux > >> kernel. Is there any suitable projects that you may have seen around the Last

Re: [dev] dwm systray diff for 6.1 fails.

2016-09-22 Thread Nick Warne
On Sep 22 2016, Eric Pruitt wrote: On Wed, Sep 21, 2016 at 05:48:51PM +0100, Nick Warne wrote: Was going to use this to monitor battery, but HUNK #10 fails - looking at the patch and dwm.c, the code is totally different at around line 664: Are you using the tagged 6.1 release or 6.1/HEAD? My

Re: [dev] Just discovered dwm

2016-09-22 Thread Nick Warne
On Sep 22 2016, Cág wrote: hiro wrote: networkmanager should be removed first thing on any distribution slack doesn't sound so great if it includes some crap tbh. It has PulseAudio in the default installation. And KDE is autoselected in the installer. Cág I have none of that installed

Re: [dev] Just discovered dwm

2016-09-22 Thread Cág
hiro wrote: networkmanager should be removed first thing on any distribution slack doesn't sound so great if it includes some crap tbh. It has PulseAudio in the default installation. And KDE is autoselected in the installer. Cág

Re: [dev] several questions

2016-09-22 Thread Anselm R Garbe
On 21 September 2016 at 16:45, Evan Gates wrote: > On Tue, Sep 20, 2016 at 11:02 PM, FRIGN wrote: >> Of course, given there is only one implementation, it is highly >> portable per-se, given the interpretation is equal everywhere and 9base >> is quite easily

Re: [dev] Just discovered dwm

2016-09-22 Thread hiro
again, libinput On 9/22/16, Greg Reagle wrote: > On Wed, Sep 21, 2016, at 12:10 PM, Nick Warne wrote: >> One little thing I do miss though is scrolling with mouse wheel (or >> using the pad side edge) to scroll a web page etc. >> Is that doable? > > If I had a mouse wheel