HA소율튜브

2일 전

 

코빗 만들어지기 수년 부터 비트 코인 채굴을 했던 사람으로 마디. 드립니다. . 양쪽 진영 모두 모르는 부분이 있음. 유시민 작가, 한호현 교수가 걱정하는 부분은 사회적 합의하에 통용이 되는 부분에 집중하고 있고, 김진화 대표, 정재승 교수는 물물 교환의 수단인 화폐 기능을 하기에 충분한 기술력을 가지고 있다고 말하고 있다. 그리고 사실 비트 코인은 가격 안정화가 있다. 지금보다 훨씬 비싸지고 사용하는 사람이 많아지면 말이다. 화폐가 안정된 이유는 금본위제 때문이 아니라 사실소수가 마음대로 없기 때문이다. 거래소의 삼성전자 주식을 마음대로 좌지우지 하고 싶지만 적은 돈으로 장난 치기가 힘들다. 연합으로 해도 쉽지는 않다. 그러나 비트코인은 그것이 가능하다. 비트 코인 개발 문의가 들어와서 기획을 공유해 보면, 비트 코인은 okcashbag 이나 상품권과 다름이 없다. , 돈은 아니지만 돈의 기능으로 찍어낼 있다는 것이다. 사토시의 생각은 P2P 기초하고 있었다. 거래소를 생각하지 않았다. 암호화폐의 신뢰성은 P2P 거래에서 나오는 것인데 거래소가 끼면서 수수료가 붙게 되어 비트코인의 철학이 깨졌고/거래소가 끼면서 해킹 당할 있는 암호화폐의 기능이 깨졌다. , 코빗 대표는 암호 화폐란 말을 없다. 본인이 기능을 깨버렸기 때문에. 정재승 교수가 말한 것이 틀린 점을 말해보겠다. 사실, 중국이 비트코인을 통제한 이유는 따로 있다.

 


Delete
Clone
Download model
Submit to virtual race
TrainingInfo Completed
EvaluationInfo
Stop evaluation
Start evaluation
Training complete. You can now evaluate your model's performance.
Evaluate the trained model by having the agent race against the clock along a chosen track in simulation.
See how your model performs in any environment.
Training configuration
Environment simulation
re:Invent 2018
Reward function
Show
Action space
Show
Framework
Tensorflow
Reinforcement learning algorithm
PPO
Hyperparameter
Value
Gradient descent batch size 64
Entropy 0.01
Discount factor 0.999
Loss type Huber
Learning rate 0.0003
Number of experience episodes between each policy-updating iteration 20
Number of epochs 10

의견
한국어
이용 약관개인 정보 보호 정책© 2008 - 2020, Amazon Web Services, Inc. 또는 계열사. All rights reserved.



//    [UIView transitionWithView:mainPanel duration:1.0 options:UIViewAnimationOptionTransitionCurlUp animations:^{
    //                            mainPanel.hidden = YES;
    ////                mainPanel.hidden = NO;
    //    } completion:^(BOOL finished) {
    ////                                mainPanel.hidden = YES;
    //                                        mainPanel.hidden = NO;
    //
    //    }];
    //
    //    [UIView transitionFromView:(nonnull UIView *) toView:(nonnull UIView *) duration:(NSTimeInterval) options:(UIViewAnimationOptions) completion:^(BOOL finished) {
    //
    //
    //    }]
    //    [UIView transitionWithView:(nonnull UIView *) duration:(NSTimeInterval) options:(UIViewAnimationOptions) animations:^{
    //
    //    } completion:^(BOOL finished) {
    //        <#code#>
    //    }]
    //    [UIView trans]
    
    //                            completion:^(BOOL finished){
    //                            // Save the old text and then swap the views.
    //                            // 스왑을 통해 이동한 뷰나 교체한 뷰를 표시합니다.
    //                            UIView*    temp = mainPanel;
    //                            mainPanel = mainPanel;
    //                            mainPanel = temp;
    //    }
    //        ];


{
                         NSLog(@"hjhURLERROR Opened url");
//                [GlobalVar alertMsgOKWithTitle:@"mBASS" message:@"BIM을 먼저 설치 해 주세요."];

                               
                               UIAlertController *AlertView = [UIAlertController alertControllerWithTitle:@"DAELIM" message:@"하자 위치정보 입력 앱 설치가 필요합니다. 다운로드 페이지로 이동하시겠습니까?"    preferredStyle:UIAlertControllerStyleActionSheet];
                                   
                                   UIAlertAction *ok = [UIAlertAction actionWithTitle:@"확인" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action)
                                                        {
                //쉐일즈비에스salesbstest
                                       
                                       
                                       [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://salesbs.daelim.co.kr/app/download_bim.html"]];
                                       
                                       
                                       [AlertView dismissViewControllerAnimated:NO completion:nil];
                                   }];
                                   
                                   UIAlertAction *cancel = [UIAlertAction actionWithTitle:@"취소" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action)
                                                            {
                                       [AlertView dismissViewControllerAnimated:NO completion:nil];
                                   }];
                                   
                                   [AlertView addAction:ok];
                                   [AlertView addAction:cancel];
                                   [self presentViewController:AlertView animated:NO completion:nil];
                                   
            }
            


//                            myBox2.backgroundColor = [UIColor colorWithRed:0.792156 green:0.5607843 blue:0.3098039 alpha:0.9];


//                            myBox2.backgroundColor = [UIColor colorWithRed:0.49411764 green:0.6196078 blue:0.30196078 alpha:1.0]; //green likes

            
//            [self drawHosuText:myBox2.layer.position];
            
//            [tDrawText setTag:1]
            
//                            myBox2.backgroundColor = [UIColor colorWithRed:0.71372549 green:0.21568627 blue:0.2 alpha:1.0]; //red

if (nil == mListDong)
        mListDong = [NSMutableArray arrayWithCapacity:0];
    
 SqlUtils *db = [[SqlUtils alloc] init];
    [db superSelectDong:mListDong isAll:NO clsf:mCanYouSeeThisSword];

[GlobalVar saveToUserDefaults:@"0301" forKey:@"current_cd_dong"];
[GlobalVar loadFromUserDefaults:@"current_cd_dong"]] intValue];

     
//            [FileManager clearDirImages];


#import "RCEasyTipView.h"
#import "ConfirmationEditor.h"
#import "QualityControl.h"
#import "PresentCondition.h"
#import <QuartzCore/QuartzCore.h>

#import "GlobalVar.h"

#import "Entity.h"

#import "SqlUtils.h"

#import "SuperAddressSelector.h"
#import "DCH_BsQtChkEdtg.h"
#import "DCH_BsQtChk.h"

@implementation PresentCondition

@synthesize mTableView, mLblHosh, mlblStatstics, mFlag, mChkAll;
@synthesize mListSearchingResult, mainPanel;

//@synthesize mDate1, mDate2;

/*
 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
 {
 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
 if (self) {
 // Custom initialization
 }
 return self;
 }
 */

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

static void oldOne(PresentCondition *object) {
    [[object->_btnSort layer] setBorderColor:[UIColor colorWithRed:177/255 green:137/255 blue:167/255 alpha:1].CGColor];
    [[object->_btnSort layer] setBorderWidth:0.0];
    
    [[object.btnSiteInfo layer] setBorderWidth:1.0f];
    [[object.btnSiteInfo layer] setCornerRadius:8.0f];
    [[object.btnSiteInfo layer] setMasksToBounds:YES];
    //    [[self.btnSiteInfo layer] setBorderColor:[UIColor colorWithRed:246/255 green:135/255 blue:38/255 alpha:1].CGColor];
    [[object.btnSiteInfo layer] setBorderColor:UIColor.orangeColor.CGColor];
    
    [object->mLblHosh setText:GlobalVar.globalVar.userSelectionSiteInformation.nm_site];
    //    NSLog(@"btnSiteInfo %@", GlobalVar.globalVar.userSelectionSiteInformation.nm_prgs_phs);
    
    
    sqlite3 *database;
    NSString *databaseName = @"mbass.db";;;;;;;;;;;;;;;;;;;;
    NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);;;;;;;;;;;;;;
    NSString *documentsDir = [documentPaths objectAtIndex:0];;;;;;;;;;;;;;;;;;;;
    NSString *databasePath = [documentsDir stringByAppendingPathComponent:databaseName];;;;;;;;;;;;
    NSString *currentProgressString = @"";
    
    if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) {
        NSString *query = @"select nm_prgs_phs \
        from ddtbt_site;";
        const char *sqlStatement = [query cStringUsingEncoding:NSASCIIStringEncoding];
        sqlite3_stmt *compiledStatement;
        if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK) {
            // Loop through the results and add them to the feeds array
            while(sqlite3_step(compiledStatement) == SQLITE_ROW) {
                currentProgressString = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 0)];
                break;
            }
        }
        sqlite3_finalize(compiledStatement);;;;;;;;;;;;;;;;;;;;;;;;;;
    }
    sqlite3_close(database);;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    [object.btnSiteInfo setTitle:currentProgressString forState:UIControlStateNormal ];
    
    object->_nflagRefreshStat = true;
    [object initializeControls];
    [object initActivityIndicator];
    [object initializeData];
    
}

- (void)setAnchorPoint:(CGPoint)anchorPoint forView:(UIView *)view {
    // sanity check - x and y MUST be between 0 and 1
    if (anchorPoint.x < 0 || anchorPoint.x > 1 ||
        anchorPoint.y < 0 || anchorPoint.y > 1) {
        return;
    }
    
    CGPoint newPoint = CGPointMake(view.bounds.size.width * anchorPoint.x,
                                   view.bounds.size.height * anchorPoint.y);
    CGPoint oldPoint = CGPointMake(view.bounds.size.width * view.layer.anchorPoint.x,
                                   view.bounds.size.height * view.layer.anchorPoint.y);
    
    newPoint = CGPointApplyAffineTransform(newPoint, view.transform);
    oldPoint = CGPointApplyAffineTransform(oldPoint, view.transform);
    
    CGPoint position = view.layer.position;
    
    position.x -= oldPoint.x;
    position.x += newPoint.x;
    
    position.y -= oldPoint.y;
    position.y += newPoint.y;
    
    view.layer.position = CGPointMake(0, 0);
    view.layer.anchorPoint = CGPointMake(0, 0);
}

- (void)pinchZoom:(UIPinchGestureRecognizer *)recognizer
{
    NSLog(@"Pinch scale: %f", recognizer.scale);
    
    if(recognizer.scale < 1) recognizer.scale = 1;
    
    CGAffineTransform transform = CGAffineTransformMakeScale(recognizer.scale, recognizer.scale);
    //                                       you can implement any int/float value in context of what scale you want to zoom in or out
    mainPanel.transform = transform;
    
    // make these static so they can be used across gesture states
    static CGAffineTransform initialTransform;
    static CGPoint initialAnchor;
    
    if (recognizer.state == UIGestureRecognizerStateBegan) {
        // save these for later states
        initialTransform = recognizer.view.transform;
        initialAnchor = recognizer.view.layer.anchorPoint;
        
        // get the center point of the pinch
        CGPoint touch = [recognizer locationInView:mainPanel];
        
        // anchor point is relative to the view bounds:  0 ... up to 1.0, for both x and y
        CGFloat anchorX = touch.x / recognizer.view.bounds.size.width;
        CGFloat anchorY = touch.y / recognizer.view.bounds.size.height;
        
        // set the layer anchor point AND position, to where the view was initially pinched
        [self setAnchorPoint:CGPointMake(anchorX,anchorY) forView:mainPanel];
        
    } else if (recognizer.state == UIGestureRecognizerStateChanged) {
        // perform the pinch zoom
        mainPanel.transform = CGAffineTransformScale(initialTransform,recognizer.scale,recognizer.scale);
        
    } else if (recognizer.state == UIGestureRecognizerStateEnded) {
        // reset the scale when it's done
        recognizer.scale = 1;
        
        // restore the original anchor point
        [self setAnchorPoint:initialAnchor forView:mainPanel];
    }

    CGRect transformedBounds = CGRectApplyAffineTransform(mainPanel.bounds, mainPanel.transform);
    
    [_scrollview setContentSize:CGSizeMake(transformedBounds.size.width, transformedBounds.size.height)];
//    [_scrollview setContentSize:CGSizeMake(transformedBounds.size.width / 2.7, transformedBounds.size.height / 2.7)];
    
}

'Blog History' 카테고리의 다른 글

138  (0) 2020.04.06
137  (0) 2020.04.06
135  (0) 2020.03.31
182  (0) 2020.03.29
134  (0) 2020.03.29

+ Recent posts