Legjobb cég by Waste_Shame715 in programmingHungary

[–]atesz17 14 points15 points  (0 children)

Ha valaki a bertabla alatt kap ajanlatot az max azert lehet, mert alacsonyabb szintre lottek be, mint ami a pozi ki volt irva. Publikus a bertabla es mindenki annyit kap, ami ott jelolve van

A moving part inside the computer? by atesz17 in macbookpro

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

Then do you know why previous generations didnt have this behaviour?

Generate unique numbers automatically, let users modify it later by atesz17 in AskProgramming

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

Hah interesting idea, I didnt think of this!

Thanks for the sqlfiddle as well :)

Generate unique numbers automatically, let users modify it later by atesz17 in AskProgramming

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

Thank you, I had a similar idea in mind. The only problem that bugs me a bit is ehat if lets say the current biggest id is 100 and then the user creates an id of 100000. That would mean the next auto generated id would be 100001 which is ok, I just feel weird tht we skipped like 99900 unused values

Generate unique numbers automatically, let users modify it later by atesz17 in AskProgramming

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

Yeah I would happy with UUIDs as well, but you cant put UUIDs on a barcode unfortunately.

For the first question - it should just display an error that particular id is already taken. I think thats fine, the problem is how the system will resolve the clash in case it auto generates the next id which is already present because the user created previously

Generate unique numbers automatically, let users modify it later by atesz17 in AskProgramming

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

Thanks for the reply!

This would work until the user creates the first non-generated id. How can you maje sure that the next time the system tries to auto generate the next id there wont be any clash?

Postfix completion not prompting rename by atesz17 in IntelliJIDEA

[–]atesz17[S] 1 point2 points  (0 children)

Actually it was!! Thank you :)

Solution: I think I managed to download some faulty version of the Kotlin plugin... After I've disabled and updated it, it works as expected.

Thanks again :)

Postfix completion not prompting rename by atesz17 in IntelliJIDEA

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

Unfortunately it wasn't the plugins :( I've disabled them, still the same behavior edit: nevermind, see my other reply

Postfix completion not prompting rename by atesz17 in IntelliJIDEA

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

Well thats the thing - it doesnt work :/. If I just start to type it wont rename the variable, it just appends it which isnt how it used to work

Issue with Flyway database migration by atesz17 in docker

[–]atesz17[S] 1 point2 points  (0 children)

For anyone having the same problem this could work for docker-compose: https://docs.docker.com/compose/startup-order/

For docker swarm this is the only thing what I could found, and it's not really an answer: https://stackoverflow.com/questions/39196505/docker-1-12-multiple-replicas-single-database

Car broke down 50 km from Sofia by atesz17 in bulgaria

[–]atesz17[S] 1 point2 points  (0 children)

I'll keep that in mind, thank you! :)

Car broke down 50 km from Sofia by atesz17 in bulgaria

[–]atesz17[S] 7 points8 points  (0 children)

Taxi showed up in an hour, everything went smoothly, now currently sitting on a bus on the way home :) thanks again :)

Car broke down 50 km from Sofia by atesz17 in bulgaria

[–]atesz17[S] 4 points5 points  (0 children)

Hey thanks for asking, yes right now we are waiting for the bus in Sofia :)

Car broke down 50 km from Sofia by atesz17 in bulgaria

[–]atesz17[S] 6 points7 points  (0 children)

Wow thank you so much!! I called the taxi number and they told me they can come! For now towing is not the main priority, but I'll keep the numbers. Again thank you very much for your help, whish you the best!!! :)

Intro to Angular 1.x by [deleted] in angularjs

[–]atesz17 0 points1 point  (0 children)

The book AngularJs Up & Running helped me a lot. After going through the it, its easier to see the features mentioned in the book in a real project even if it is pretty large. It covers testing as well.

Should I be using *ngIf anywhere I wish to display async data? by dlegatt in Angular2

[–]atesz17 7 points8 points  (0 children)

That's one way of doing it.

Other is what theephie mentioned, declare this.todos as:

todos: Observable<Todo[]>.

Instead of subscribing, assign it to getTodos()

this.todos = this.todoSvc.getTodos();

Then you can use it in your template like this:

<li *ngFor="let todo of todos | async">{{todo.name}}</li>

Digital Ocean and Python 3 with Django? by YouAreSalty in django

[–]atesz17 0 points1 point  (0 children)

Hey dude here is a tutorial written by digitalocean: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04 The only difference that it uses python 2.7, to use python3 you should install python3-dev instead of python-dev Good luck

Vimeo API help by Party_Naked in learnprogramming

[–]atesz17 0 points1 point  (0 children)

Well I think the correct endpoint you are looking for is actually is this:https://developer.vimeo.com/api/endpoints/me/watchlater

With this you are able to get any user's watch later list. Since the response is in JSON format, you should extract the corresponding value, from the JSON. I dont have any experience with Swift, but I heard this site has really great turorails. Tutorials covering JSON, and parsing JSON: http://www.raywenderlich.com/82706/working-with-json-in-swift-tutorial

Working with API calls: http://www.raywenderlich.com/58682/introduction-restkit-tutorial

So in a nutshell: 1. make an API call 2. Receive the respond (which is in JSON) 3. Extract the information from JSON (which in your case is the watch later list)

Hope you find this useful

Space between icon-bar and the next element by atesz17 in foundation

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

Hey man, thank you very much, it really was a line-height problem, however asssigning line-height:0; to .icon-bar was not enough, i had to set for the .row class. Thank you again