Fork me on GitHub
#off-topic
<
2016-12-13
>
engrdroid08:12:50

Wondering if there are any non-profit clojure development projects that I can join

thomas13:12:27

@engrdroid there are plenty of Clojure projects on github, for instance Overtone is one that comes to mind

thomas13:12:44

Quil is another one and I am sure there are plenty of others.

roelofw14:12:47

I have a design problem. I have to display some 10 paintings. Problem is that some of them are landscape or some are not. Also they do not have the same dimensions. I pull the images out of a external api. Is there a way I can dynamically resizes them so they all be equal without loosing that the image will be blurred.

roelofw14:12:47

Or is there some designer who for free can think how to display the paintings on a beatifull way so the site works on desktop, tablet and mobile

dominicm15:12:11

@roelofw You can set the image as a background image, instead of an <img /> that way you can use background-size: cover to have it cover the div.

dominicm15:12:03

<div style="background-size: cover; width: 100%; height: 300px; background-image: url({{url-for-painting}});"></div>

dominicm15:12:26

Alternatively you can use contain instead of cover if it's important to show the whole image, and not just a contained form

roelofw15:12:21

dominicm oke, I did that earlier but with a small image the image is still blurred

dominicm15:12:45

@roelofw It will only be blurred if you're making it significantly bigger.

roelofw15:12:31

yep, and that is the case

roelofw15:12:13

or I have to find a way, I can make a bigger image out of the api but then the image is in pieces

roelofw15:12:47

but the question is about the first page , the page where I display 10 images

roelofw15:12:16

I have now this for the FrontPage , but this does not work on a tablet or mobile

dominicm15:12:22

Scaling an image to make it large will always make it bigger (making 10 pixels out of 1 is going to create distortion)

dpsutton15:12:38

I think if you just centered them they would look fine

dpsutton15:12:45

its just jarring because they are left aligned

dpsutton15:12:07

makes it look not put together or deliberate

dpsutton15:12:13

if you just center them i think they would look fine

dpsutton15:12:35

> jarring: incongruous in a striking or shocking way; clashing.

dpsutton15:12:57

otherwise i think it looks quite nice

dpsutton15:12:07

the borders are a nice baroque touch!

roelofw15:12:06

yes, I did it because most of them are all old paintings

dpsutton15:12:14

there's a lot going on there

dpsutton15:12:16

but its neat

roelofw15:12:09

I have used this also for the ruby project which I now try to convert to a clojure project

roelofw15:12:13

yep, that one has incoperated masonary into another template engine

cptully17:12:25

@roelofw I just took a look at your heroku site and my thought is the frame you have chosen is too dark. Especially against the light background I kept finding my eyes drawn to the frames and not the images.

roelofw17:12:28

oke, any advice for a better frame or another background ?

roelofw17:12:58

my idea was to give it a impression that the paintings are against a wall like a musea

cptully17:12:07

My thought would be to have frame that is brighter so that it's texture can be picked up in a glance and so that the frame is less of a sharp contrast with the background. That does go contrary to your goal of being "like a museum" but remember that you are building a digital museum where there are no shadows. So you loose some of the environmental feel that museums get be having large deep frames. You are living in a flat 2D world so color and contrast will dominate where shadows and highlights dominate in a physical space.

roelofw17:12:07

oke, I thinking to drop this layout and go for the urku of ultimate layout but with the frame idea

cptully18:12:09

@roelofw That one should work much better!

roelofw18:12:01

@cptully oke, tben now find a good layout which can work on a desktop, a tablet or mobile

naomarik21:12:11

any tools exist that sit kinda on top of nginx logs and config that let you configure things easily to mitigate ddos?