Most contents of this QnA series are based on my own trouble, curiosity and sometimes for reminding.</br> But, if you discovered this article through organic search and If you got an adequate answer, I’d be very grad to help you.</br> And also if someone knows the answer of my questions, feel free to suggests me shortcuts.
Q. Types of antonym
studying augmentation like
rotate, flip, lighten, why there is no option like darkening? -> type of antonym
related keywords: Semantics, Sematic fields(= meaning relations), Componential analysis 1
(1) Gradable antonym: more or less relation
- ex) beautiful/ugly, expensive/cheap, hot/cold
(2) contradictory / complementary antonym: either or not relation
- ex) awake/asleep, dead/alive, on/off, true/false
- The assertion of one implies the denial of the other member of the pair
(3) converse: one expresses the converse meaning of the other
- ex) above/below, before/after, buy/sell, give/receive, woman/man
- reverse of an individual feature of a word give us the other member of the pair
Q. What is the meaning of
a saturated neural network
When the nonlinearity function gets the value near its boundary.
In this case, gradients are small so that we change little of the input.
-> This would not be a big deal if neurons are correct
-> but in other cases, this gives us a big problem.2
Modern3 electronic circuit
Q. OSX comsumes much cpu on
airportd what’s wrong with them?
- WindowServer - Core part of MacOS, as for displaying application on my screen. -> so close the app/windows..(and find alternative if specific app is horrible)4
- airportd - related with network, ofcourse, there’s no certain answer related to this. so I just removed lists of saved wifi. and unchecked remember networks this computer has joined
- hidd related to keyboard&mouse, you can kill using Activity Monitor. But if that persists, maybe it related with your third party input device(it was my case..), or softwares which enables you to customize keybindings.
- kernel_task well, this was the most tricky thing. Because kernel is essential to any kind of os. Apple says it’s okay (if it occupies much cpu even rather doing the job you ran…?) Because it’s for managing your mac, and mainly to preventing from overheating… so… don’t worry (or restart)
Q. I want to get all subdirectory/file in path
- pathlib method
pathlib.Path(path).glob("*/**")gets all nested file/dir.
Q. I want to copy / remove / delete file using pathlib
with destination.open(mode='xb') as fid: fid.write(source.read_bytes())
if not destination.exists(): source.replace(destination)
Q. copy directory including all the contents in it.
- distutils library
unzip and archive folder
- unarchive zip file
with ZipFile(f_path, 'r') as arc: arc.extractall(trg)
shutil.make_archive(base_name, format, ..)
H. Jackson and E. Amvela, Words, Meaning and Vocabulary: An Introduction to Modern English Lexicology, Bloomsbury Publishing, 2007. ↩
sorry if you felt uncomfortable as I’m using vague & subjective term ↩