SoulSeek Protocol

QMK固件OLED显示屏配置教程:从零开始实现个性化键盘显示(实操部分) 本教程详细介绍了如何从零开始配置QMK固件的OLED显示屏,实现个性化键盘显示。首先,文章解释了OLED显示屏的基本概念及其在键盘中的应用,并介绍了I2C和SPI两种通信方式。接着,教程逐步指导用户如何在QMK固件中启用OLED功能,包括在rules.mk中启用OLED、在halconf.h和mcuconf.h中配置I2C功能,以及在config.h中设置I2C和OLED参数。最后,教程展示了如何在keymap.c中编写代码,实现OLED显示内容,并提供了进阶定制功能,如显示当前层信息、按键状态和QMK L 阅读详情

SoulSeek Protocol Documentation


Version History

2003-10-05: Added integer to the Login message containing the IP of the client. Arend van Beelen jr.
2003-10-04: Correct statement about Soulseek message byte-ordering. They are little-endian. Robert Sayre
2003-03-16: Added PierceFW message summary, added to PlaceInQueueRequest message summary, Robert Sayre
2003-01-26: Added peer messages and login sequence, had revelation about reusing existing peer socket from search result for file request, BriEnigma
2003-01-20: Initial revision, BriEnigma
CVS version ID: $Id: protocol.html,v 1.11 2003/10/12 19:23:18 franklinmint Exp $
Mental Note: When updating this document, remember to upload the latest version to the SourceForge project documentation web page.

Introduction

The SoulSeek protocol is not officially documented anywhere. This document is the result of effort by members of the SoleSeek project team. It was pieced together by examining the Python SoulSeek source code, as well as sniffing network packets. (Hey, Nir! Please don't sue us inder the DMCA for reverse engineering the protocol!) This document should not be considered the official specification. It is our best guess at how the protocol works.

Overview

The SoulSeek protocol consists of a finite number of messages. Some of these messages are used for communicating between the client and server. Others are used for communications between a client and a peer (another client). All of these messages (with the exception of a couple of peer messages TODO:...are PeerInit and PierceFW the only exceptions?...) follow a standard format.

There are a few datatypes that the message blocks use:
(TODO: endian-ness? I always get mixed up.)

Integer4 bytes, little endian
Byte1 byte
Stringan integer (4 bytes) that specifies the length of the string, followed by the string data as 8-bit characters. The string is not null-terminated.
TODO:are other datatypes used?

The standard message blocks start with an integer. This integer defines the size of the message payload--everything contained in the message, but not including the 4-bytes length. The payload starts with an integer that we shall call the message code that describes what type of message this is. The datatype and meaning of the remaining payload data is dependant on the message code. For example, the following is a very simple message, the Login message from the client to the server:

Message LengthMessage Payload
4-byte-integer: 304-byte-integer: 14-byte-integer: 8JohnGalt4-byte-integer: 6secret4-byte-integer: 200
Message Code 1 == "Login" (4 bytes)String, length 8 (12 bytes)String, length 6 (10 bytes)Version (4 bytes)
This sends a message to the server with message code 1. Since message code 1 is the Login message, the server knows to expect two strings and an integer. The fist string, we can see is of length 8 and contains the letters "JohnGalt". The second string is of length 6 and contains the letters "secret". The remaining integer is the number 200.

It is worth noting that messages with the same code may have different payloads, depending on the direction of the message: client-to-server (generally, a request) or server-to-client (generally, a response). In the above example, the message is a Login message from the client to the server. The server responds to the client with message that also has the message code 1 ("Login"), but has a different payload. Login messages originating at the server (we can think of it as a Login response message) contain a byte (1/0 for success/fail) followed by a string (a message about the results of the login or a server greeting).

Constants

The SoulSeek protocol makes use of several constants:

Status Codes
-1Unknown
0Offline
1Away
2Online
Transfer Direction
0Download
1Upload
TODO: There are probably more...

Messages

Jump directly to a server message: Login:1 SetWaitPort:2 GetPeerAddress:3 AddUser:5 GetUserStatus:7 SayChatroom:13 JoinRoom:14 LeaveRoom:15 UserJoinedRoom:16 UserLeftRoom:17 ConnectToPeer:18 MessageUser:22 MessageAcked:23 FileSearch:26 SetStatus:28 SharedFoldersFiles:35 GetUserStats:36 QueuedDownloads:40 PlaceInLineResponse:60 RoomAdded:62 RoomRemoved:63 RoomList:64 ExactFileSearch:65 AdminMessage:66 GlobalUserList:67 TunneledMessage:68 PrivilegedUsers:69 AddToPrivileged:91 CheckPrivileges:92 CantConnectToPeer:1001
Jump directly to a peer message: PeerInit PierceFW GetSharedFileList:4 SharedFileList:5 FileSearchResult:9 UserInfoRequest:15 UserInfoReply:16 FolderContentsRequest:36 FolderContentsResponse:37 TransferRequest:40 TransferResponse:41 PlaceholdUpload:42 QueueUpload:43 PlaceInQueue:44 UploadFailed:46 QueueFailed:50 PlaceInQueueRequest:51

Server Messages

Login:1

Client-to-Server (attempt to login)
integer1 (Message Code)
stringUsername
stringPassword
integerVersion

Server-to-Client (login success/fail)
integer1 (Message Code)
bytesuccess (0=fail, 1=success)
stringLogin message (error message or greeting message)
integerOptional integer containing the external IPv4 address of the client. Only sent if the login was successful.

SetWaitPort:2

Client-to-Server
This is sent to the server to tell it what port we are listening on.
integer2 (Message Code)
integerport number (generally 2234)

Server-to-Client
It is believed that SetWaitPort messages are not sent from the server to the client.

GetPeerAddress:3

Client-to-Server
This is sent to the server to ask for a peer's address (IP address and port), given the peer's username.
integer3 (Message Code)
stringusername

Server-to-Client
This is the response from the server.
integer3 (Message Code)
stringusername this address belongs to
integerIP address
integerport number

AddUser:5

Client-to-Server
This message is sent when you want to start monitoring the online status of a user. Once we start "watching" a user by sending this message, the server will send (TODO: is the message AddUser or GetUserStatus) messages to us whenever the user changes status (away, back, offline, etc).
Note: There also seems to be a GetPeerAddress response message returned automatically, along with the AddUser response message--even though the GetPeerAddress request was never made. Can anyone confirm this?
integer5 (Message Code)
stringusername to start watching

Server-to-Client
integer5 (Message Code)
stringusername being watching
bytewhether the user exists

GetUserStatus:7

Client-to-Server
This message is used to request a user's current status.
integer7 (Message Code)
stringusername to get status of

Server-to-client
This message is used by the server to report back to us a user's current status.
integer7 (Message Code)
stringusername this status applies to
integerstatus code, see above

SayChatroom:13

Client-to-Server
This message is sent to say something in a chatroom.
integer13 (Message Code)
stringroom
stringmessage

Server-to-Client
Somebody said something in a chatroom we are in.
integer13 (Message Code)
stringroom
stringusername
stringmessage

JoinRoom:14

Client-to-Server
We would like to join a chatroom.
integer14 (Message Code)
stringroom

Server-to-Client
We have joined the room. Here is a list of all the people in the room. (This could very easily be a giant set of data!)
integer14 (Message Code)
stringroom
integernumber of users in this room
stringusername #1
stringusername #2
:
:
stringusername #n
integernumber of status code intgers (should be the same as number of users in the above field)
integerstatus code of username #1
integerstatus code of username #2
:
:
integerstatus code of username #n
integernumber of statistics records (should be the same as number of users in the above field)
integerstats record 1: avgspeed of username #1
integerstats record 1: downloadnum of username #1
integerstats record 1: something of username #1
integerstats record 1: files of username #1
integerstats record 1: dirs of username #1
integerstats record 2: avgspeed of username #2
integerstats record 2: downloadnum of username #2
integerstats record 2: something of username #2
integerstats record 2: files of username #2
integerstats record 2: dirs of username #2
:
:
integerstats record n: avgspeed of username #n
integerstats record n: downloadnum of username #n
integerstats record n: something of username #n
integerstats record n: files of username #n
integerstats record n: dirs of username #n
integernumber of slotsfull records
integerslotsfull field of username #1
integerslotsfull field of username #2
:
:
integerslotsfull field of username #n

LeaveRoom:15

Client-to-Server
We would like to leave a chatroom.
integer15 (Message Code)
stringroom

Server-to-Client
Server tells us we have left the room. Note that, in theory, this could happen at any time--it may not necessarily be a response to a LeaveRoom message. It is entirely possible that the server could send this to kick you out of a room (although this author has never seen it happen).
integer15 (Message Code)
stringroom

UserJoinedRoom:16

Client-to-Server
This message is not sent from the client.

Server-to-Client
User "x" has entered chat room "y".
integer16 (Message Code)
stringroom
stringusername

UserLeftRoom:17

Client-to-Server
This message is not sent from the client.

Server-to-Client
User "x" has left chat room "y".
integer17 (Message Code)
stringroom
stringusername

ConnectToPeer:18

Client-to-Server If we cannot establish a direct connection to a user (for example, they are behind a firewall), we send this message to the server, which will tell the peer to connect back to us.
integer18 (Message Code)
integertoken
stringusername
stringtype: "P"/"F" (see PeerInit)

Server-to-Client
If someone cannot establish a connection with us (for instance, we are behind a firewall), the server sends this message to us. We then attempt to establish a direct connection to the peer.
integer18 (Message Code)
stringusername
stringtype: "P"/"F" (see PeerInit)
integerip address
integerport
integertoken

MessageUser:22

Client-to-Server
Send a private chat message to a user
integer22 (Message Code)
stringusername
stringmessage

Server-to-Client
Somebody sent us a private chat message
integer22 (Message Code)
integermessage ID
integertimestamp
stringusername
stringmessage

MessageAcked:23

Client-to-Server
Confirmation of receiving a private chat message. If we do not send it, the server will keep sending the chat phrase to us.
integer23 (Message Code)
integermessage ID

Server-to-Client
This message is not sent from the server to the client.

FileSearch:26

Client-to-Server
We send this to the server when we want to search for something.
integer26 (Message Code)
integertoken
stringsearch text

Server-to-Client The server sends this to tell us someone is searching for something.
integer26 (Message Code)
stringusername
integertoken
stringsearch text

SetStatus:28

Client-to-Server
Change my away/online status.
integer28 (Message Code)
integernew status, see above

Server-to-Client
This message is not sent from the server to the client.

SharedFoldersFiles:35

Server-to-Client
We send this to the server to tell it how many files and folders we are sharing.
integer35 (Message Code)
integerfolder count
integerfile count

Server-to-Client
This message is not sent from the server to the client.

GetUserStats:36

Client-to-Server This message is not sent from the client to the server.

Server-to-Client
The server sends this message to us to indicate a change in a user's statistics.
integer36 (Message Code)
stringusername
integeravgspeed
integerdownloadnum
integersomething
integerfiles
integerdirs

QueuedDownloads:40

Client-to-Server
It is unknown whether this is valid.

Server-to-Client
The server sends this to indicate if someone has download slots available.
integer40 (Message Code)
stringusername
integerslotsfull

PlaceInLineResponse:60

Client-to-Server
Ask the server what place in line we are ...?
integer60 (Message Code)
stringusername
integertoken (token of original file request?)
integerplace (...?)

Server-to-Client The server sends this to indicate change in place in queue while we're waiting for files from the other peer.
integer60 (Message Code)
stringusername
integertoken (token of original file request?)
integerplace

RoomAdded:62

Client-to-Server
Unknown if this is valid.

Server-to-Client
The server tells us a new room has been added
integer62 (Message Code)
stringroom name

RoomRemoved:63

Client-to-Server
Unknown if this is valid.

Server-to-Client
The server tells us a room has been removed
integer62 (Message Code)
stringroom name

RoomList:64

Client-to-Server
Request a list of rooms?
integer64 (Message Code)

Server-to-Client
The server tells us a list of rooms.
integer64 (Message Code)
integernumber of rooms
stringname of room #1
stringname of room #2
:
:
stringname of room #n
integeruser count records
integeruser count in room #1
integeruser count in room #2
:
:
integeruser count in room #n

ExactFileSearch:65

Client-to-Server
It is unknown whether this is valid. Normal file search is a symmetric operation (the Client-to-Server and Server-to-Client messages are exactly the same and both valid), which would lead one to believe that maybe the ExactFileSearch works the same way.

Server-to-Client
Someone is searching for a file with an exact name
integer65 (Message Code)
integertoken
stringfilename
stringfolder
integersize
integerchecksum
stringusername

AdminMessage:66

Client-to-Server
unknown if this is valid

Server-to-Client
The admin is sending a broadcast message. ("The service is going down for maintenance in 10 minutes!")
integer66 (Message Code)
stringmessage

GlobalUserList:67

Client-to-Server
We send this to get a global list of all users online.
integer67 (Message Code)

Server-to-Client
The list of users.
integer67 (Message Code)
See user list format in JoinRoom message

TunneledMessage:68

Used to tunnel a message through the server, I would assume...(?)
integer68 (Message Code)
stringusername (to? from? depends on direction?)
integercode
integertoken
integerIP address
integerport
stringmessage

PrivilegedUsers:69

Client-to-Server
Get a list of all users that made a donation
integer69 (Message Code)

Server-to-Client
The returned list of users
integer69 (Message Code)
integernumber of users
stringusername #1
stringusername #2
:
:
stringusername #n

AddToPrivileged:91

TODO, but likely something only an admin can do. We would assume it takes a username and a duration.

CheckPrivileges:92

Client-to-Server
How much privileged time do I have left from my donation?
integer92 (Message Code)

Server-to-Client
You have this many days.
integer69 (Message Code)
integernumber of days(?)

CantConnectToPeer:1001

Client-to-Server
We send this to say we cannot connect to a peer after it has asked us to connect.
integer1001 (Message Code)
integertoken
stringusername

Server-to-Client
The server sends this if we asked a peer to connect and it cannot do it. This means a connection cannot be established in either direction--both parties are firewalled.
integer1001 (Message Code)
integertoken



Relogged?

Server sends this if someone else logged in under our nickname then disconnects us.

RemoveUser?

Client-to-Server
Used when we no longer want to be kept updated about a user's status. This message is defined in the Python code, but not associated with a message code. Maybe it falls into one of the message code gaps?
integer??? (Message Code)
stringusername to stop watching

CantCreateRoom?

Server-to-Client
The server sends this to tell us a new room cannot be created?

Peer Messages

Jump directly to a peer message: PeerInit PierceFW GetSharedFileList:4 SharedFileList:5 FileSearchResult:9 UserInfoRequest:15 UserInfoReply:16 FolderContentsRequest:36 FolderContentsResponse:37 TransferRequest:40 TransferResponse:41 PlaceholdUpload:42 QueueUpload:43 PlaceInQueue:44 UploadFailed:46 QueueFailed:50 PlaceInQueueRequest:51

PeerInit

This message is sent by peer that initiated a connection, not necessarily a peer that actually established it. Token apparently can be anything. Type is 'P' if it's anything but filetransfer, 'F' otherwise.
byte1 (Message Code) Note that this is a BYTE!
stringusername
stringtype
integer??? This seems to always be a constant (300 or 0x0000012c)
integertoken

PierceFW

Client has asked the server to tell the peer to contact us. The token should be associated with the peer user.
byte0 (Message Code) Note that this is a BYTE!
integertoken

GetSharedFileList:4

Client-to-Peer
The client sends this to a peer to ask for a list of files.
integer4 (Message Code)

Peer-to-Client
It is unknown whether this is used.

SharedFileList:5

Client-to-Peer
It is unknown whether this is used.

Peer-to-Client
A peer responds with this message when sent a GetSharedFileList. This message can be a little complex, considering it contains data from three nested loops: directories, which contain files, which contain attributes. When implementing parsing of this message, it may be helpful to note that within each directory, the list of files (each with its own list of sttributes) is in the exact same format as the list of files returned from FileSearchResult.
integer5 (Message Code)
The following data is zlib compressed:
integerNumber of directories
stringDirectory name #1
integerNumber of files in directory #1
byte?Dir#1, File#1 code(?)
stringDir#1, File#1 filename
integerDir#1, File#1 size1
integerDir#1, File#1 size2
stringDir#1, File#1 ext
integerDir#1, File#1 number of attributes
integerDir#1, File#1, Attr#1 type
integerDir#1, File#1, Attr#1 value
:
:
integerDir#1, File#1, Attr#n value
:
:
:
:
integerDir#n, File#n, Attr#n value

FileSearchResult:9

Client-to-Peer
It is unknown whether this is used.

Peer-to-Client
This is sent in response to a file search match. Token is taken from original FileSearch message. You will note that the file data is similar to that of SharedFileList, only without the outermost loop (directories). It contains simply a list of files, each with a list of attributes.
integer9 (Message Code)
The following data is zlib compressed:
stringusername
integertoken
integerNumber of files
byteFile #1, code
stringFile #1, filename
integerFile #1, size1
integerFile #1, size2
stringFile #1, ext
integerFile #1, number of attributes
integerFile #1, Attr #1 type
integerFile #1, Attr #1 value
:
:
integerFile #n, Attr #n value
byteFree upload slots
integerUpload speed
integerIn Queue

UserInfoRequest:15

Client-to-Peer
integer15 (Message Code)

Peer-to-Client
It is unknown whether this is used.

UserInfoReply:16

Client-to-Peer
It is unknown whether this is used.

Peer-to-Client
integer16 (Message Code)
stringUser's description
byteDoes this user have a pic?
stringThis data element is only present if the previous byte is true. This string contains the user pic file content
integerUser uploads
integerTotal uploads
integerQueue size
integerSlots available

FolderContentsRequest:36

FolderContentsResponse:37

TransferRequest:40

Client-to-Peer
Ask a peer for a file. See the sequences section at the bottom of this document. Token is [new, unique token? taken from another message?].
integer40 (Message Code)
integerDirection constant, see above
integerToken
stringfilename
integerThis data field is only present if direction==1. File size.

Peer-to-Client
Tell a peer we are about to send them a file. (Used when piercing a firewall?) The message format is exactly the same as the client-to-peer version.

TransferResponse:41

Client-to-Peer or Peer-to-Client
This is the proper response to a TransferRequest message. "Yes, I agree to take the file" or "no, I do not agree to take the file." Token is taken from TransferRequest message.
integer41 (Message Code)
integerToken
byteAllowed?
If Allowed is true:
integerOptionally, the file size
If Allowed is false:
stringOptionally, a message explaining why the request was denied

PlaceholdUpload:42

Not sure yet.
integer42 (Message Code)
stringFilename

QueueUpload:43

Not sure yet.
integer43 (Message Code)
stringFilename

PlaceInQueue:44

Client-to-Peer
It is unknown whether this is used.

Peer-to-Client
You are in queue position x for file y. This is the response to a PlaceInQueueRequest.
integer44 (Message Code)
stringfilename
integerplace

UploadFailed:46

Not sure yet.
integer46 (Message Code)
stringFilename

QueueFailed:50

Not sure yet.
integer50 (Message Code)
stringFilename
stringReason

PlaceInQueueRequest:51

Client-to-Peer
What place in your queue am I? The response is a PlaceInQueue message.
integer51 (Message Code)
stringFilename

Peer-to-Client
It is unknown whether this is used.

Message Sequences

This section will attempt to describe the message sequences for common operations.

Login

User logs in successfully, gets server greeting, gets privileged user list, gets chat room list, starts monitoring buddies
  • client sends Login message
  • client sends SetWaitPort message
  • server sends Login response message
  • server automatically sends a RoomList response
  • server automatically sends a PrivilegedUsers response
  • client sends SharedFoldersFiles message
  • client sends AddUser message for each buddy in buddy list
  • server sends AddUser response for each buddy in the buddy list

Search

TODO: User performs a search

Chat

TODO: User enters a room, listens, speaks, then exits room

Obtaining Peer Address, basic

This sequence will grab a peer's address (ip+port), given the username, in the most simple manner.
  • Client sends GetPeerAddress message
  • Server sends GetPeerAddress response

Obtaining Peer Address, advanced

This sequence will start monitoring a user (as if that user were on your buddy list), and use that information to not only obtain the address, but get notified if the user goes offline. This is the method that the Python SoulSeek client uses.
  • client sends GetUserStatus message to server
  • server responds with GetUserStatus message with status
  • client sends AddUser message to server
  • server responds with AddUser message
  • server sends unsolicited GetPeerAddress message

 

Note: The following File Transfer scenarios cover every combination and permutation of the three states (client FW, peer FW, queue). They all assume the peer address has been obtained by one of the above methods.

File Transfer, basic

Client may or may not be firewalled, peer is not firewalled, peer has no wait queue
  • client opens a "P" type socket to the peer. This need not be a NEW socket. If a "P" type connection to the peer has already been established (for instance, because the peer has sent you a search result), it can be reused.
  • client sends PeerInit "P" message immediately followed by TransferRequest message
  • peer optionally sends back 12 bytes (the 5th is zero or one)
    (Note from Brian: I am a little bit worried about the random 12 bytes that sometimes get sent before a TransferResponse message. The first four bytes are obviously not a message length. Like I said in the comments, the Python code (slskproto.py:SlskProtoThread..process_peer_input()) has some wacky if-elseif-else logic in there that gets called only if it is a non "F" peer connection and it is the first message received.)
  • peer sends back TransferResponse message
  • client opens second socket to peer
  • client sends PeerInit "F" message to peer
  • peer sends file
  • client closes second socket to peer

File Transfer, firewall

TODO: Client is not firewalled, peer is firewalled, peer has no wait queue

File Transfer, two firewalls

Client is firewalled, peer is firewalled, wait queue does not matter
  • A peer-to-peer connection in this situation is impossible

File Transfer, queue 1

TODO: Client is not firewalled, peer is not firewalled, peer has wait queue

File Transfer, queue 2

TODO: Client is not firewalled, peer is firewalled, peer has wait queue

File Transfer, queue 3

TODO: Client is firewalled, peer is not firewalled, peer has no wait queue
End of Document
jre9下载 jdk9 (Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】 立即下载

相关推荐

PICO+Unity MR空间网格开发实战:从零构建透视交互场景

本文详细介绍了使用PICO 4 Ultra与Unity引擎进行MR空间网格开发的完整实战流程。从环境准备、项目初始化、核心组件配置,到空间网格的生成、可视化与物理交互实现,手把手教你构建一个能识别真实环境并发射虚拟小球的透视交互场景。文章重点解析了PICO SDK中空间网格功能的关键配置与优化技巧,并提供了真机部署与调试的实用指南。

e3f4g5的博客 490

protocol

/*  跟swift的协议基本一样  用@optional来定义可以选的参数  */ #import @protocol ProtocolName @property int protocolProperty; - (int)protocolMethod; @optional //@optional

Good good study! 609

BOSS直聘数据采集实战:八爪鱼工具高效爬取职位信息的完整指南

本文提供了一份使用八爪鱼采集器高效爬取BOSS直聘职位信息的完整实战指南。针对非技术用户,详细讲解了从软件安装、网址规律分析到流程配置、数据导出的每一步操作,并分享了提升采集稳定性的高级设置与避坑技巧,帮助用户轻松实现数据采集自动化。

weixin_29061509的博客 1473

hadoop historyserver启动,无法访问,查看报错等问题

记录下hadoop遇到的问题。

m0_67391518的博客 2626

微信小游戏审核避坑指南:如何一次性通过微信审核(附最新审核要求)

本文详细解析微信小游戏审核全流程,提供从开发到上线的关键策略,帮助开发者一次性通过审核。涵盖合规性自查、材料优化、开发环境配置、版本管理、审核材料填写技巧等核心内容,并附最新审核要求和常见驳回问题解决方案,显著提升审核通过率。

weixin_28454475的博客 1410

GPU运维面试题

【代码】GPU运维面试题。

u011220233的博客 695

Centos 服务器 无法启动 Failed to start Login Service

Centos 服务器 无法启动 Failed to start Login Service 1在选择内核界面按E编辑内核 现在,向下滚动到内核引导行,并在行尾即UTF8后面添加 init=/bin/bash,如下所示。 按ctrl +x启动 mount -o remount,rw / vim /etc/sysconfig/selinux SELINUX=disable 保存 重启 sbin/reboot 如报错....fa...

FUCK——GUN的博客 1万+

气象干旱触发水文(农业)干旱的概率及其触发阈值的动态变化-贝叶斯copula模型

本文通过建立不同类型干旱传播过程的触发阈值模型,解析了在不同等级气象干旱胁迫下诱发次一级干旱类型的触发阈值。通过贝叶斯概率模型,我们推导了气象干旱与水文干旱、农业干旱、地下水干旱之间的条件概率关系,进一步明确了气象干旱引发水文干旱、农业干旱和地下水干旱的概率及其触发阈值。该模型有效揭示了气象干旱对各级干旱类型的传播机制及其动态变化,为干旱预警系统的建立和水资源管理提供了理论依据和技术支持。

frankgis的博客 2502

spark 配置historyserver进程 报错:failed to launch org.apache.spark.deploy.history.HistoryServer

查看日志 发现是Exception in thread "main" java.lang.reflect.InvocationTargetException 然后后面还有fail on connection 这个大概是接口防火墙错误了 我检查之后 端口没有被占用 ,防火墙也关闭了 那怎么回事呢? 后来才发现,因为我配置historyserver的存储目录是hdfs:/...

IT_NEU_Lee的博客 2193

java实现自动发送微信QQ消息(可发图片)

自动发送微信/QQ/微博等消息 一:功能:实现发送QQ/微信/微博消息,程序控制。 效果演示(实现自动发生QQ微信消息给女友,发微博信息也可以就不演示了) 二:原理讲解:将剪贴板的内容给发送到QQ微信中去,复制粘贴发送。 模拟真实操作进行发送信息。 三:前期准备,软件安装,及初步测试。...

XURUNFA950827的博客 1万+

蓝桥杯FPGA赛道积分赛

代码如下: 按键驱动 代码如下 按键驱动 代码如下: 顶层文件 按键驱动 数码管驱动 声明:本代码借鉴网络资料,如有侵权和错误请联系作者删除。我是从寒假开始备赛的,由于我基础不行,备赛过程中也是混混呃呃的,备赛效率不高,总体来说备赛不认真,有点拖拉,但是最后我也坚持备赛到了今天,在备赛过程中,即复习了旧的东西,也学到了新的东西,总结起来还是有点收获的,后天北京、天津、河北地区就要进行省赛了,我会全力以赴,不管结果怎么样,尽力就好,最后祝大家都能

weixin_69804913的博客 1981

Hadoop配置和使用问题记录

关于hadoop如何配置的教程网上已经有不少了,配合hadoop主页上的说明,基本可以顺利在多台机器上配置好hadoop集群。这里记录的是我在实际配置和使用hadoop时遇到的问题,其中一些属于hadoop周边,如ssh配置时容易遇到的问题和解决方法,供大家参考。我目前是在windows xp里通过cygwin安装的hadoop,版本是0.17.2.1。 1. 安装cygwin。在...

diaozhuo4700的博客 164

YOLO26中 RepVGGBlock_OREPA 架构的设计与性能提升分析(mAP +4.89)

REPVGGOREPA模块代表了重参数化技术的最新发展,它通过巧妙的架构设计实现了训练时的丰富表达和推理时的高效计算。其核心创新包括多分支特征聚合、动态权重生成、频域先验知识融合等技术,为深度学习模型的效率优化提供了新的解决方案。这种设计理念不仅在技术上具有重要意义,在实际应用中也展现出了显著的优势,特别是在需要高精度和高效率的工业场景中表现突出。随着重参数化技术的不断发展,REPVGGOREPA为未来的网络架构设计提供了重要的参考和启发。

know_F0727的博客 66

解决:Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;

发生这一错误的主要原因是Controller类中需要接收的是Date类型,但是在页面端传过来的是String类型,最终导致了这个错误。 这里提供两种解决方案,一种是局部转换,一种是全局转换。 一.局部转换 @Controller public class UserController{ @RequestMapping(value="/login.do") public Str

东天里的冬天 26万+

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

SIMATIC S7-1200, S7-1500 PID 控制[手册]

SIMATIC S7-1200, S7-1500 PID 控制[手册]

中国招商银行的网上银行专业版

中国招商银行的网上银行专业版前些天办理了一张招行的usb加密的U盘,花费了人民币88元,昨天晚上闲的无聊,简单分析了一下,发现了一些问题,具体内容请参考:http://www.liveaa.com/categories/120-Software-internal-analyze.首先, 关于usb读取方面,主要在开始登陆的时候使用,退出的时候也要被检测一下(次要), 在使用过程中,

vptr_grid的专栏 5625

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

SOCKS4: A protocol for TCP proxy across firewalls

SOCKS: A protocol for TCP proxy across firewalls Ying-Da Lee Principal Member Technical Staff NEC Systems Laboratory, CSTC ylee@syl.dl.nec.comSOCKS was originally developed by D

vptr_grid的专栏 2597

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

How to compile ACE lirbrary

SpringBreak78 at yahoo dot com dot cn现在的Ace非常好编译,几乎不需要做什么修改。简单的编译方法可以如下:1。Uncompress the ACE distribution into a directory, where it will create a ACE_wrappers directory containing the distribution. T

vptr_grid的专栏 1528

BT种子文件格式

BT种子文件使用了一种叫bencoding的编码方法来保存数据。bencoding现有四种类型的数据:srings(字符串),integers(整数),lists(列表),dictionaries(字典)编码规则如下:strings(字符串)编码为::例如: 4:test 表示为字符串"test" 4:例子 表示为字符串“例子”字符串长度单位为字节没开始或结束标记integers(整数)编码为:i

vptr_grid的专栏 1411

alexa js codes

主题:  [原创]alexa 工具条全部js源代码  浏览人数:1470  [这个贴子最后由cee999在 2005/07/28 09:49pm 第 1 次编辑]使用,请把‘〈’、‘〉’替换为‘’。〈!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"〉〈html〉〈head〉       〈OBJECT STYLE

vptr_grid的专栏 1285

SOCKS Protocol Version 5

Network Working Group M. LeechRequest for Comments: 1928 Bell-Northern Research LtdCategory: Standards Track

vptr_grid的专栏 1224

How to download the LFS tarballs via eDonkey

AUTHOR: Jeroen Coumans DATE: 2003-11-07LICENSE: GNU Free Documentation License Version 1.2SYNOPSIS: How to download the LFS tarballs via eDonkeyDESCRIPTION:A legitimate and increasin

vptr_grid的专栏 1159

How to compile openssl library

如转载,请著名出处。SpringBreak78 at yahoo dot com dot cn可参照openssl/install.w32文件的指示。我是做如下编译步骤的,并且成功。1。 下载perl, 参考http://www.activestate.com。2。 下载nasm, 参考http://www.kernel.org/pub/software/devel/nasm/binaries/w

vptr_grid的专栏 1142

Username/Password Authentication for SOCKS V5

Network Working Group M. LeechRequest for Comments: 1929 Bell-Northern Research LtdCategory: Standards Track

vptr_grid的专栏 1132

SOCKS 4A: A Simple Extension to SOCKS 4 Protocol

SOCKS 4A: A Simple Extension to SOCKS 4 Protocol Ying-Da Lee yingda@best.com or yingda@esd.sgi.comPlease read SOCKS4.protocol first for an description of the version 4protocol. This

vptr_grid的专栏 1132

Google Desktop plugin---Your favorites menu!

Today I release my one plugin program---google desktop plugin. Its a favorites menu plugin. It reads the menu items from your local current favorites dir.You can view it item by item. When you click

vptr_grid的专栏 1117
上一篇: 谈Ajax技术
下一篇: Bittorrent 精彩代码分析
阿里教主
博客等级 码龄22年 12粉丝 30原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值