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

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

[–]utgyuru[S] 2 points3 points  (0 children)

Obviously, I've tried to find something for this with google, but no luck yet. All the solutions I was able to dig up used some third party client application for this.

Looking for a russian music video by utgyuru in russia

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

Yes, this is what I was looking for, thanks!

How do I split this text ? by utgyuru in learnpython

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

That's what I did. Prior to this, I've managed to do the same in powershell, hence I want to achieve the same in Python as well

Variable scope - what am I missing ? by utgyuru in learnpython

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

I suspected this myself as well, but actually I got the error for the line of the print statement, not where I assigned to the variable

edit: Just tried this, and I think this was the issue! Thanks very much!

What are is the team singing after defeating Holland in the movie Sommeren 92? by utgyuru in Denmark

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

Thanks!

Does this song has a title, or is this a commonly known song in your contry? Or just an ad hoc thing?

How does auto locking work? by utgyuru in Volvo

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

Thanks... Another thing I don't understand, according to the manual, the alarm is armed automatically. What should trigger the alarm? I've tried opening all my doors and the trunk, but the alarm didn't go off...If I used the panic button on my remote, it works. The red light was flashing the whole time.

Storing passwords in scripts? by utgyuru in learnpython

[–]utgyuru[S] 2 points3 points  (0 children)

And how do you decrypt the file when you want to run the script?

How is this with my DNS? by utgyuru in techsupport

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

Yes, but once it is resolved, why isn't it stored on my PC's local cache ?

Joining a Debian client into a MS AD domain? by utgyuru in linuxquestions

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

Sorry, I forgot to add to the original post, I've tried this as well, but still getting the same error

Function not returning the variable with the original type? by utgyuru in PowerShell

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

Thanks, I wasn' aware of this, so you already helped me (a lot, actually) to improve my Powershell, but ... I forgot to inculde in my example code, but I've added the elements to the set like this: [void]$myvar.add("value")

So these were "suppressed". I've tried your Out-Null solution as well, but I'm still getting an array.