[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File deleted.
What are you maids working on?

Last one: >>106482423
>>
Have any of you read books when you were learning? I really dont have the attention span for these 800 page ones, but i really want a good solid foundation instead of a basic concept only
>>
how would you solve the type noise problem in modern languages?
>>
>>106505508
I read the first two chapters of K&R and it literally shaped the rest of my life
>>
staking contract in Anchor (Solana)
also a frontend for it
it pays the bills so whatever
>>
>>106505513
Type inference shows that writing down every type isn't necessary for the language. Types are still useful documentation for humans, but not if they become too complicated. So you should require that humans write down a simple version of the type. Then let the language infer the exact specification of the type.
>>
sex with Eli
>>
>>106505513
a := b;
>>
I'd like to write a painting program for my XP Pen tablet
Seems like my options are OS APIs (WinTablet, Windows Ink) and the native XP Pen library (like 5 C functions in a DLL and header with comments in Chinese)
I will try my hand at the latter
>>
>>106505649
I'm not Eli. Eli got banned for posting about math.
>>
>>106505513
what do you mean
just use types
>>
C++ is such fucking useless garbage holy shit
The language has been around for 50 years and it doesn't have a half-decent build system, let alone package manager
You need 75 PhDs just to build a fucking project with a folder structure that isn't vile ass
Just fucking kill me holy shit
>>
void thing(const Data data) {

kill yourself, you're fired, DONE, delete yourself from the premises
void thing(const Data& data) {

ah, I see you're a fellow 40 year experience wizard, welcome
>>
>>106506394
every maidposter deserves my love.
>>
>>106506517
Janny deleted the maid.
>>
i see a certain someone has made preposterous claims about Eli in the other thread.

>>106506651
what a disaster.
>>
File: 1757197715375.jpg (968 KB, 4032x3024)
968 KB
968 KB JPG
>>106505464
1500 iterations/second NIGGER
>>
>>106506651
lmao eli btfo
based janny
>>
File: 1757195568416146.png (387 KB, 1072x1543)
387 KB
387 KB PNG
>>106506651
sipser was really solid
>>
>>106506446
I build C++ using a simple Makefile, yes, it's one directory with no subdirectories, but let me guess, you need to turn simple into overcomplicated mess, neurotic kike
>>
>>106506446
Use meson, especially if your deps can be found at https://mesonbuild.com/Wrapdb-projects.html
>>
>>106506446
>folder structure
lmao
>>
File: carbon.png (403 KB, 2600x2356)
403 KB
403 KB PNG
Nice
>>
Rust doesn't even have GADTs
>>
>>106505697
The drivers really don't like it when you use the official SDK god damn
Leaves the tablet in a strange state until reset even though I'm calling all the teardown functions presumably in the right way
>>
File: dual boot.png (2.18 MB, 1938x2334)
2.18 MB
2.18 MB PNG
cd ./family

sudo apt sex -preggers 

ntfsfix dev/sda2

Ctrl+R,cmd,enter
cd C:\family

mkdir children

start baby_making_sex.exe
>>
>>106507282
A maid offering snacks gets deleted, but this garbage is left up. What is wrong with janny?
>>
>>106507853
It's only been an hour + "SEX = FUNNY" for most of the retards here.
>>
>>106507860
Maybe janny is just trying to repress her own desire to wear a maid outfit? Everybody reading this falls into one of three categories. Either she is currently wearing a maid outfit, wishes she was wearing one openly, or wishes she was and is trying to repress the desire. Literally nobody else even comes here.
>>
>>106507934
This stupid maid schizo shit is the most forced unfunny shit we've had in quite a while.
>>
File: 1726049221984219.jpg (24 KB, 622x745)
24 KB
24 KB JPG
>>106508073
Do you know what else has been " most forced unfunny shit we've had in quite a while"? You're not gonna like the answer.
>>
>>106508073
So, you're in the repression group then.
>>
File: 1756915871061167.mp4 (2.04 MB, 480x720)
2.04 MB
2.04 MB MP4
>>106508098
>Do you know what else has been " most forced unfunny shit we've had in quite a while"? You're not gonna like the answer.
what?
>>
File: 1737414455929984.jpg (11 KB, 340x296)
11 KB
11 KB JPG
>>106508116
>what?
nothing man, i'm just passing time.
>>
>>106508133
okay lil buddy
what did you do today?
I drank wine and worked on a project
currently listening to blackbird blackbird Hearts LP (what we've built)
shits inspiring
>>
>>106508098
The older example was that fucking programmer sock shit.
>>
>>106508165
>what did you do today?
reorganized my music collection and wrote a shitty c program to test something out. i'm currently waiting for pizza to finish baking.
>>
File: 35822e05280.jpg (58 KB, 778x413)
58 KB
58 KB JPG
>>106508199
gonna watch a sick kinolicious film with your za za? mhm?
>>
I implemented LZW-like dictionary compression and (non-adaptive) canonical Huffman entropy coding in my exploration of compression

I'm still not clear on how you decide things like alphabet size for entropy coding. I've read that things like LZ77, LZ78, BWT, BPE, RLE, MTF, etc. are really data transforms that (I think?) should make data more amenable to entropy coding, but it seems like your choice of alphabet size and specifically "what" you apply entropy coding to matters a lot, since the distribution of input symbols will determine if you get any compression from it.
Interestingly, Huffman(text) < Huffman(LZW(text)) < LZW(text) for the ~18kB of English text I'm testing with.

I have variable bit length codes in from LZW that get serialized into a byte sequence, but the LZW codes (that have structure relative to each other) will straddle byte boundaries, so I'm guessing this is why just applying Huffman coding to the serialized bytes doesn't work very well, since it's kind of seeing mangled fragments of the longer codes. I imagine if I only entropy coded the 8-bit symbols in the LZW code stream it would work better (since the symbols that appear in the text are a small subset of ASCII), but I think it would require more coupling between the LZW encoder/decoder and the Huffman encoder/decoder. For example, when the LZW decoder is about to read a symbol, where it currently reads a fixed 8-bits, it would need to call the Huffman decoder to read a single code out since the codes are variable length. Encoding also gets more complicated.
>>
>>106508227
Try feeding it a KJV Bible to benchmark it against Maid-LZW.
>>
>>106505508
>Have any of you read books when you were learning?
I learnt a long time ago, so that was the only option (other than being actually taught in class, which never suited me so much).
Keep a bookmark handy; you won't digest it all in one go, and you should attempt the exercises (if the book has them).
>>
In C++, is there something like an std::pair, but for 3 objects?
>>
>>106509614
std::tuple
>>
>>106509614
no std::triple. There is std::tuple but you need to use a structured binding to get the data out of it



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.