Hi there! I'm a general enthusiast of computing! I write books and blogs and I teach and code.
🏍️ 🥾 💻 👾 ☠️ 🥁 🎹 🎸 🐐
Beej's Guide to Network Programming source
Hi there! I'm a general enthusiast of computing! I write books and blogs and I teach and code.
🏍️ 🥾 💻 👾 ☠️ 🥁 🎹 🎸 🐐
how can I set the input size,when the new image size is not euqal with training data size, using padding or crop ? it seems that crop or padding will influence the stereo matching result,is there any general ways ?
Thank you for a fantastic resource. I wanted to add a pull request with <style>
for a dark theme to activate if the user's platform requests one @media (prefers-color-scheme: dark)
, but I couldn't find the stylesheet used. Here it is in case you want to add it:
<!-- Dark mode -->
<style>
@media (prefers-color-scheme: dark) {
html {
color: #abb2bf;
background-color: #282c34;
}
a {
color: #abb2bf;
}
a:visited {
color: #abb2bf;
}
hr {
background-color: #abb2bf;
}
table {
border-top: 1px solid #abb2bf;
border-bottom: 1px solid #abb2bf;
}
th {
border-top: 1px solid #abb2bf;
}
tbody {
border-top: 1px solid #abb2bf;
border-bottom: 1px solid #abb2bf;
}
blockquote {
border-left: 2px solid #282c34;
color: #5c6370;
}
div.sourceCode {
border: 1px solid #abb2bf;
background-color: #282c34;
}
code:not(.sourceCode) {
background: #4b5263;
}
pre.numberSource { border-left: 1px solid #282c34; }
pre > code.sourceCode > span > a:first-child::before { color: #5c6370; }
code span.al { color: #e06c75; font-weight: bold; } /* Alert */
code span.an { color: #56b6c2; font-weight: bold; font-style: italic; } /* Annotation */
code span.at { color: #d19a66; } /* Attribute */
code span.bn { color: #98c379; } /* BaseN */
code span.bu { color: #98c379; } /* BuiltIn */
code span.cf { color: #98c379; font-weight: bold; } /* ControlFlow */
code span.ch { color: #61afef; } /* Char */
code span.cn { color: #be5046; } /* Constant */
code span.co { color: #5c6370; font-style: italic; } /* Comment */
code span.cv { color: #56b6c2; font-weight: bold; font-style: italic; } /* CommentVar */
code span.do { color: #e5c07b; font-style: italic; } /* Documentation */
code span.dt { color: #be5046; } /* DataType */
code span.dv { color: #98c379; } /* DecVal */
code span.er { color: #e06c75; font-weight: bold; } /* Error */
code span.fl { color: #98c379; } /* Float */
code span.fu { color: #61afef; } /* Function */
code span.im { color: #98c379; font-weight: bold; } /* Import */
code span.in { color: #56b6c2; font-weight: bold; font-style: italic; } /* Information */
code span.kw { color: #98c379; font-weight: bold; } /* Keyword */
code span.op { color: #abb2bf; } /* Operator */
code span.ot { color: #98c379; } /* Other */
code span.pp { color: #d19a66; } /* Preprocessor */
code span.sc { color: #61afef; } /* SpecialChar */
code span.ss { color: #c678dd; } /* SpecialString */
code span.st { color: #61afef; } /* String */
code span.va { color: #61afef; } /* Variable */
code span.vs { color: #61afef; } /* VerbatimString */
code span.wa { color: #56b6c2; font-weight: bold; font-style: italic; } /* Warning */
}
</style>
I'm reading the example program of the section 6.1 of your very instructive guide. I'm not sure but I think that the *servinfo
data may be leaked.
It's allocated here:
Line 61 in cce225a
Line 89 in cce225a
freeaddrinfo()
:Lines 74 to 78 in cce225a
continue
instead of exit()
ing. I don't understand why there is a need to exit()
.talker.c appears to send udp datagrams over both ipv4 and ipv6 but listener.c appears to only listen on ipv4.
A few months ago the user cv8minix3 was updating this translation to the most recent version. However, later his github account is no longer available along with the repositories (one of them was the translation).
Before this happened (luckily) I ended up saving and converting to pdf and deleting the original content, because he was translating the html file.
Note: I tried to convert it to html but I don't know if it would help.
Files:
Beej Networking - cv8minix3[converted].tar.gz
Version: 3.1.2
I want to contribute without any expectation. For translation, documentation and coding itself without hackish code. Because I'm reading your work http://beej.us/guide/bgnet/html/
I noticed a couple items on the accept()—“Thank you for calling port 3490” example:
the netinet/in.h header is included but never used.
the netdb.h header needed for the AI_PASSIVE reference, the addrinfo declarations, and the getaddrinfo call is missing.
(From Kevin S)
My personal biggest use case for this would be reducing eye strain, since the format allows custom font families and weights, plus changing colors. I'd love it if we can get .epub files :)
What is the license of the guide? We want to make it available as documentation package via the nixpkgs package repository, but since there is no explicit license, so far we had to mark it as unfree.
Dear Beej
First of all, thank you for an excellent networking resource. I turn to my physical copy of the book whenever I turn my hand to networking and have done for many years.
An entry in the first column of the table in fcntl manpage section is not rendering correctly on the online copy I'm currently viewing.
I gather that:
i[O_ASYNC macro]i]O_ASYNC
should be
[i[O_ASYNC macro]i]O_ASYNC
Best regards
Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.