首页 文章 精选 留言 我的

精选列表

搜索[web],共10000篇文章
优秀的个人博客,低调大师

web-3g-163(网易)-邮箱和博客-数据架构设计

专题图编号:ylbtechASPNET 1,功能描述 2,技术与环境 3,数据库设计 3g163EMail.sql USE MASTER go -- ============================================= -- ylb: 3g版网易邮箱 -- url: http://m.mail.163.com/ -- devloper:ylb,tech -- author: YuanBo -- date: 11:11 2012-07-05 -- ============================================= IF EXISTS ( SELECT * FROM master..sysdatabases WHERE name = N '_3g163EMail' ) DROP DATABASE _3g163EMail GO CREATE DATABASE _3g163EMail GO USE _3g163EMail GO -- ============================================= -- ylb: 1.1邮箱帐户表 -- ============================================= create table MailUsers ( mailUser varchar (100) primary key , --帐号名称[PK] pwd varchar (100) not null --密码 ) /1, 3g163EMail/1, MailUsers.sql View Code 3,数据库设计 2, 3g163Blog.sql USE MASTER go -- ============================================= -- ylb: 3g版网易博客 -- url: http://3g.163.com/blog/ -- devloper:ylb,tech -- author: YuanBo -- date: 11:11 2012-07-05 -- ============================================= IF EXISTS ( SELECT * FROM master..sysdatabases WHERE name = N '_3g163Blog' ) DROP DATABASE _3g163Blog GO CREATE DATABASE _3g163Blog GO USE _3g163Blog GO --ylb:1, 用户 GO -- ============================================= -- ylb: 1.1,用户基本资料表 -- ============================================= create table Users ( userId int primary key identity(100,1), --编号【PK】 nickname varchar (200) not null , --昵称 realname varchar (200) null , --真实姓名 sex char (1) check (sex in ( 'M' , 'F' , 'N' )) default ( 'N' ), --性别M:男;F:女;N:未知 birthday datetime, --生日 constellation int , --星座 province varchar (100), --现居住地-省 city varchar (100), --现居住地-市 county varchar (100), --现居住地-县 mailUser varchar (100) not null --用户账号[FP], 于网易登录系统MailUser表的mailUser列相关 ) GO -- ============================================= -- ylb: 1.2,博客统计表 -- ============================================= create table BlogStatistics ( blogStatisticsId int primary key identity(100,1), --编号【PK】 todayAccessNo int default (0), --今日访问量 sunAccessNo int default (0), --总访问量 integral int default (0), --博客等级 userId int references Users(userId) --积分【FK】 ) --ylb:2,日志 GO -- ============================================= -- ylb: 2.1,日志分类表 -- ============================================= create table BlogClass ( blogClassId int primary key identity(100,1), --编号【PK】 className varchar (100) not null , --分类名称 userId int references Users(userId) --用户编号【FK】 ) GO -- ============================================= -- ylb: 2.2,日志表 -- ============================================= --drop table Article create table Article ( articleId int primary key identity(1,1), --编号【PK】 title varchar (200) not null , --标题 content varchar (5000), --内容 blogClassId int references BlogClass(blogClassId), --分类编号【FK】 pubdate datetime default (getdate()), --分布日期 readCnt int default (0), --阅读数量 replyCnt int default (0), --回复数量 allowView int default (0), --显示范围权限 -100:公开;100:好友;1000:私人 draftFlag int default (0), --0:发送;1:保存草稿 userId int references Users(userId) --用户编号[FK] ) GO -- ============================================= -- ylb: 2.3,日志评论表 -- ============================================= create table ArticleReply ( articleReplyId int primary key identity(100,1), --编号【PK】 content varchar (200) not null , --内容 pubdate datetime default (getdate()), --回复时间 userId int references Users(userId), --回复人,用户编号【FK】 articleId int references Article(articleId) --文章编号[FK] ) --ylb:3, 相册 GO -- ylb: 3.1 相册类别表 -- ============================================= -- ylb: 3.1.1 相册类别表 -- ============================================= create table Album ( albumId int primary key identity(1,1), --编号【PK】 albumName varchar (100) not null , --相册名 pubdate datetime default (getdate()), --创建时间 userId int references Users(userId), --用户编号【PF】 albumUrl varchar (100) --封面图片 ) GO -- ============================================= -- ylb: 3.1.2 相册类别评论表 -- ============================================= create table ReplyAlbum ( replyAlbumId int primary key identity(100,1), --编号 content varchar (200) not null , --评论内容 pubdate datetime default (getdate()), --评论时间 baseId int default (0), --评论级次 0:发表;其他:回复|跟贴 albumId int references Album(albumId), --相册编号[FK] userId int references Users(userId) --用户编号[FK] ) -- ylb: 3.2 相册表 GO -- ============================================= -- ylb: 3.2.1 相册表 -- ============================================= create table Photo ( photoId int primary key identity(100,1), --编号【PK】 imgUrl varchar (100), --保存地址 imgDesc varchar (100), --描述 [注:3g版不显示] albumId int references Album(albumId), --相册编号[FK] userId int references Users(userId) --用户编号[FK] 有争议 ) GO -- ============================================= -- ylb: 3.2.2 相册评论表 -- ============================================= create table ReplyPhoto ( replyPhotoId int primary key identity(100,1), --编号 content varchar (200) not null , --评论内容 pubdate datetime default (getdate()), --评论时间 baseId int default (0), --评论级次 0:发表;其他:回复|跟贴 photoId int references Photo(photoId), --照片编号[FK] userId int references Users(userId) --用户编号[FK] ) GO -- ============================================= -- ylb: 4,博友组表 -- ============================================= create table FriendsGroup ( friendsGroupId int primary key identity(100,1), --编号【PK】 friendsGroupName varchar (100), --组名 userId int references Users(userId) --用户编号【FK】 ) GO -- ============================================= -- ylb: 4,博友表 -- ============================================= create table Friend ( friendId int references Users(userId), --编号 userId int references Users(userId), --用户编号 pubdate datetime default (getdate()), --加添时间 friendsGroupId int references FriendsGroup(friendsGroupId) --好友分组【FK】 ) -- ylb: 5,消息 GO -- ============================================= -- ylb: 5, 消息表 -- ============================================= create table Msg ( msgId int primary key identity(100,1), --编号【PK】 inUserId int references Users(userId), --接受用户编号【FK】 sendUserId int references Users(userId), --发送用户编号【FK】 content varchar (200), --内容 pubdate datetime default (getdate()) --发送时间 ) GO -- ============================================= -- ylb: 6, 留言表 -- ============================================= create table Note ( noteId int primary key identity(1,1), --编号 content varchar (200), --内容 pubdate datetime default (getdate()), --时间 inUserId int , --主人编号 sendUserid int --发送人编号 ) GO -- ============================================= -- ylb: 7, 通知表 -- ============================================= create table Notice ( noticeId int primary key identity(1,1), --编号 content varchar (200), --内容 pubdate datetime default (getdate()), --时间 remark varchar (200), --备注 inUserId int --主人编号 ) GO -- ============================================= -- ylb: 7, 最近访客 -- ============================================= create table RecentVisitor ( recentVisitorId int primary key identity(1,1), --编号 hostId int , --主人编号 visitId int , --来访者编号 pubdate datetime default (getdate()) --时间 ) GO -- ============================================= -- ylb: 7, 最近走访 -- ============================================= create table RecentVisited ( recentVisitedId int primary key identity(1,1), --编号 hostId int , --主人编号 visitId int , --来访者编号 pubdate datetime default (getdate()) --时间 ) GO -- ============================================= -- ylb: 7, 最近走访 -- ============================================= create table RecentVisit ( recentVisitId int primary key identity(1,1), --编号 hostId int , --主人编号 visitId int , --来访者编号 pubdate datetime default (getdate()), --时间 type varchar (100) --类型 ) GO -- ============================================= -- ylb: 8, 心情随笔 -- ============================================= create table Feeling ( feelingId int primary key identity(1,1), --编号 content varchar (200), --内容 pubdate datetime default (getdate()), --时间 baseId int , --baseId=0:首发;baseId=num:则恢复 userId int --用户编号 ) GO print '网易博客数据创建完成' /2, 3g163Blog/1, Users.sql View Code /2, 3g163Blog/2, BlogClass.sql View Code /2, 3g163Blog/3, Article.sql View Code /2, 3g163Blog/4, ArticleReply.sql View Code /2, 3g163Blog/5, Album.sql View Code /2, 3g163Blog/5, Photo.sql View Code /2, 3g163Blog/7, ReplyAlbum.sql View Code /2, 3g163Blog/8, ReplyPhoto.sql View Code /2, 3g163Blog/9, Note.sql View Code /2, 3g163Blog/10,Notice.sql View Code /2, 3g163Blog/11,Feeling.sql View Code /2, 3g163Blog/12, RecentVisit.sql View Code /2, 3g163Blog/13, FriendsGroup.sql View Code /2, 3g163Blog/14,Friend.sql View Code /2, 3g163Blog/ 4.1,前台 5,代码分析 解决方案属性图 6,示例|讲解案例下载 博客园讲解:http://ylbtech.cnblogs.com/ 百度文库开发文档:http://passport.baidu.com/?business&aid=6&un=ylbtech#7 谷歌开源代码下载:http://code.google.com/p/ylbtechopensource/downloads/list 请单击“搜索框设默认DropDown” 本文转自ylbtech博客园博客,原文链接:http://www.cnblogs.com/ylbtech/archive/2012/09/05/2672244.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

《Web安全之机器学习入门》一 2.2 TensorFlow简介与环境搭建

2.2 TensorFlow简介与环境搭建 TensorFlow是一个采用数据流图、用于数值计算的开源软件库(见图2-5)。节点在图中表示数学操作,图中的线则表示在节点间相互联系的多维数据数组,即张量。它灵活的架构使你可以在多种平台上展开计算,例如台式计算机中的一个或多个CPU(或GPU)、 服务器、移动设备等等。TensorFlow 最初由Google大脑小组(隶属于Google机器智能研究机构)的研究员和工程师们开发出来,用于机器学习和深度神经网络方面的研究,但这个系统的通用性使其也可广泛用于其他计算领域。 TensorFlow的特点:高度的灵活性;真正的可移植性;将科研和产品联系在一起;自动求微分;多语言支持;性能最优化。安装方法如下: # 仅使用 CPU 的版本 $ pip install https: //storage.go

优秀的个人博客,低调大师

谷歌也发布了Web前端机器学习库,就叫deeplearn.js

雷锋网 AI 科技评论按:在人工智能时代,不管是音箱、手机、汽车、app,自家产品没有用上深度学习都不好意思跟别人打招呼;另外,谷歌和 Facebook 都分别在 TensorFlow 和 Caffe 2 里提出了在移动设备上运行机器学习算法的目标和相关支持,更优秀的框架和更低的计算力要求确实是移动应用开发者的福音。不过这还没完,在浏览器上以 WebApp 的形式做模型推理甚至模型训练也有重要的开发和应用需求。 以往大家对前端机器学习库的关注度较低,不外乎人们认为JavaScript 运行速度低、应用范围窄、支持前端的库少等几个原因。不过许多JS图形库已经有力地证明了 JavaScript 不是低速的代名词,带有构建好的机器学习算法的库也确实有一些,比如 brain.js、Synaptic、Natural、ConvNe

优秀的个人博客,低调大师

为 Web 开发者准备的 UI 设计工具和资源

Lumzy Fillerati Fivesecondtest GuideGuide MockFlow Adobe Kuler Android Asset Studio DIY Kit The White Stripes UI Kit Gliffy Flow – Mobile App Landing Page Template User Interface Design Framework The Ero Widget UI Kit iPhone Mockup Eclipse Stencil for OmniGraffle OSX Leopard GUI Set DHTMLX LivePipe UI Small GUI Pack Android UI Elements Set The Pencil Project iPlotz Editable Grid Scripty 2 ZKoss Dojo DesignerVista Napkee Echo 3 Go Mockingbird via inspiretrends 文章转载自 开源中国社区 [http://www.oschina.net]

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码