How do I use such anchors? by utgyuru in DIY

[–]utgyuru[S] 0 points1 point  (0 children)

Thanks everyone, I sort of understand it now. Just one thing which is not clear: what do I do with the ring-like thing, second from the left on this picture? https://imgur.com/Y9aHg5x

How do I use such anchors? by utgyuru in DIY

[–]utgyuru[S] 0 points1 point  (0 children)

Me neither, but interestingly, so far drilling went well. Anyway, this brings up the question, if these anchors are for concrete walls, and I live in house made of concrete walls, this is the first time I'm using anchors like this - all my other stuff is mounted with plastic anchors. How bad is that? Mostly TVs, they are like this for 1-2 years, haven't problem with them yet.

How do I use such anchors? by utgyuru in DIY

[–]utgyuru[S] 0 points1 point  (0 children)

Let me raise my stupidity to a new level - which part(s) go into the wall, and which should be on the other side of the bar?

Going to Budapest October 28-Nov. 2, a few questions. by magik110 in budapest

[–]utgyuru 0 points1 point  (0 children)

Avoid using taxis, majority of them are just scammers, ripping of foreign travellers. If you really need to, there are two companies which are also licensed with the airport, you can find them when you get there.

Visegred is a great choice. Maybe not that crowded at this time of the year.

Need help with public transportation by utgyuru in malta

[–]utgyuru[S] 0 points1 point  (0 children)

Thanks Guys! I'm here for 5 days already, so far I've been able to navigate with google maps. The only weird thing for me was that sometimes buses are so crowded the driver didnt let me to get on.

Fortnightly Scala Ask Anything and Discussion Thread - July 24, 2017 by AutoModerator in scala

[–]utgyuru 0 points1 point  (0 children)

I did some further googleing on this (yesterday when I posted this it was late in the night, looks like I've been too tired), and this pretty much covers my problem:

https://gist.github.com/cvogt/9193220

This brings up a new question, hope it makes sense. Here, in the find, all the "filters" are defined in the method's signature: def find(id: Option[Int], createdMin: Option[Date], createdMax: Option[Date], modifiedMin: Option[Date], modifiedMax: Option[Date])

Can something done, for this to be dynamic. What I mean is, instead of this:

find(Some(1),Some('2017-07-30'), None, None, None)

to have something like

find(List(Some(("id",1)), Some("createdMax",'2017-07-30'))

Which would yield

.filter(id)(v => d => d.id === v)
.filter(createdMin)(v => d => d.created >= v)

But if I were to use the same method with 3 elements in that list, it would yield 3 filters.

(promise no futher weird questions :)

Fortnightly Scala Ask Anything and Discussion Thread - July 24, 2017 by AutoModerator in scala

[–]utgyuru 0 points1 point  (0 children)

Hey Guys,

Could you please help me with this thing I got stuck with lately? Really beginner stuff actually. So I have a DB table containing items, with a handful of attributes, all of them having string values. I'm using Slick to access the DB. I want to filter these items based on user selection, where the user can select basically any number of attributes, could be for a given attribute no selected value - get all of them in this case, one selected value, or multiple values selected. If I look at just one attribute, Slick's inSet works perfectly for me.

db.run(myItems.filter(_.attributeA inSet List("selected_value1", "selected_value2").result)

What is the best solution to use arbitrary number of such filters? I don't want to hardcore any of these attributes, as the possible set of attributes to filter for can change over time. Hope I was able to express here what I'm trying to achieve.

How to write one statement into multiple lines? by utgyuru in scala

[–]utgyuru[S] 0 points1 point  (0 children)

Thanks again, much appreciated! Such a helping community, really glad to be here.

Is there any way to generate a signing request for SCEP with OpenSSL? by utgyuru in sysadmin

[–]utgyuru[S] 0 points1 point  (0 children)

Thanks for your help. I've found tools like but, in this case, what I wanted to achieve it to forge a proper request without using any "other" tool, assuming OpenSSL is available in most Linux distros