- Home
- Categories
- Uncategorized
- You should be able to remove your arms at bedtime to go to sleep.
You should be able to remove your arms at bedtime to go to sleep.
-
You should be able to remove your arms at bedtime to go to sleep. Have a lovely night's sleep and them pop them back on in the morning.
-
undefined aeva shared this topic on
Gli ultimi otto messaggi ricevuti dalla Federazione
-
@filobus
Il fatto è che questi lo pensano davvero.
Dio fà.
-
@emilia Central Italy
-
@stefano Where was this taken?
-
A log. But not a file.
Always stay strong, even when the waves of life crash upon you.
#Photography #Photo #Picture #Pic #Sea #Waves #Sky #Waves #MeerMittwoch #SeaWednesday
-
@mynameistillian the first time or two I get my hands on them each season I just wash them, put them in the oven at 180°C and cook them until they are soft when poked with a fork, and then eat them as is, enjoying the taste I had missed for the rest of the year.
this last time I had a bit of a leftover, and I've cut one of the baked sweet potatoes in cubes, dropped them in hot dashi (kombu-only) stock with a bit of wakame, heated the think for a couple of minutes more and then added miso, and I think it was even better than my usual quick miso soup with regular potatoes and wakame (they were the white variety of sweet potatoes, not the orange one)
-
Mozilla porta la VPN direttamente in Firefox. È gratis, ma non è una rivoluzione
#CyberSecurity
https://insicurezzadigitale.com/mozilla-porta-la-vpn-direttamente-in-firefox-e-gratis-ma-non-e-una-rivoluzione/
-
Summary of A Philosophy of Software Design by John Ousterhout
Source: danlebrero.comThese are notes by Daniel Lebrero Berna on John Ousterhout’s A Philosophy of Software Design.
Some advice in the book goes against the current software dogma. The current dogma is the result of previous pains, but has now been taken to the extreme, causing new pains.
What the author solves with “Comment-First Development,” others solve with Test-Driven Development. The excuses for not writing comments mirror those for not writing tests.
Key Insights It’s easier to see design problems in someone else’s code than your own. Total complexity = Σ(complexity of part × time spent on that part). Goal of good design: make the system obvious. Complexity accumulates incrementally, making it hard to remove. Adopt a “zero tolerance” philosophy. Better modules: interface much simpler than implementation (Deep modules). Design modules around required knowledge, not task order. Adjacent layers with similar abstractions are a red flag. Prioritize simple interfaces over simple implementations. Each method should do one thing and do it completely. Long methods are fine if the signature is simple and the code easy to read. Difficulty naming a method may indicate unclear design. Comments should add precision or intuition. If you aren’t improving the design when changing code, you’re probably making it worse. Comments belong in the code, not commit logs. Poor designers spend most of their time chasing bugs in brittle code. Preface The most fundamental problem in computer science is problem decomposition. The book is an opinion piece. The goal: reduce complexity. 1. Introduction (It’s All About Complexity) Fight complexity by simplifying and encapsulating it in modules. Software design is never finished. Design flaws are easier to see in others’ code. 2. The Nature of Complexity Complexity = what makes code hard to understand or modify. Total complexity depends on time spent in each part. Complexity is more obvious to readers than writers. Symptoms: change amplification, cognitive load, unknown unknowns. Causes: dependencies, obscurity. Complexity accumulates incrementally; remove it aggressively. 3. Working Code Isn’t Enough Distinguish tactical (short-term) from strategic (long-term) programming. The “tactical tornado” writes lots of code fast but increases complexity. 4. Modules Should Be Deep A module = interface + implementation. Deep modules have simple interfaces, complex implementations. Interface = what clients must know (formal + informal). Avoid “classitis”: too many small classes increase system complexity. Interfaces should make the common case simple. 5. Information Hiding (and Leakage) Information hiding is key to deep modules. Avoid temporal decomposition (ordering-based design). Larger classes can improve information hiding. 6. General-Purpose Modules Are DeeperMake modules somewhat general-purpose.
Implementation fits current needs; interface supports future reuse.
Questions to balance generality:
What is the simplest interface covering current needs? How many times will it be used? Is the API simple for current use? If not, it’s too general. 7. Different Layer, Different Abstraction Adjacent layers with similar abstractions are a red flag. Pass-through methods and variables add no value. Fix pass-throughs by grouping related data or using shared/context objects. 8. Pull Complexity Downwards Prefer simple interfaces over simple implementations. Push complexity into lower layers. Avoid configuration parameters; compute reasonable defaults automatically. 9. Better Together or Better Apart?Combine elements when they:
Share information. Are used together. Overlap conceptually. Simplify interfaces or eliminate duplication.Developers often split methods too much.
Methods can be long if they are cohesive and clear.
Red flag: one component requires understanding another’s implementation.
10. Define Errors Out of ExistenceException handling increases complexity.
Reduce exception points by:
Designing APIs that eliminate exceptional cases. Handling exceptions at low levels. Aggregating exceptions into a common type. Crashing when appropriate. 11. Design It Twice Explore at least two radically different designs before choosing. 12. Why Write Comments? The Four ExcusesWriting comments improves design and can be enjoyable.
Excuses:
“Good code is self-documenting.” False. “No time to write comments.” It’s an investment. “Comments get outdated.” Update them. “Comments are worthless.” Learn to write better ones. 13. Comments Should Describe Things That Aren’t Obvious Comments should add precision and intuition. Document both interface and implementation. 14. Choosing Names Names should be precise and consistent. If naming is hard, the design likely isn’t clean. 15. Write the Comment First Like TDD, comment-first helps design, pacing, and clarity. 16. Modifying Existing Code Always improve design when changing code. Comments belong in code, not commit logs. 17. Consistency Don’t “improve” existing conventions without strong reason. 19. Software Trends Agile and TDD often promote tactical programming. 20. Designing for Performance Simpler code tends to be faster. Design around the critical path. 21. Conclusion Poor designers spend their time debugging brittle systems.
-
Stop using Cloudflare, not only according to us for GDPR reasons.
@cwebber told you as well. Shown in Antjes @ifrik talk at #drupalCon
Post suggeriti
-
Stop using Cloudflare, not only according to us for GDPR reasons.@cwebber told you as well.
Watching Ignoring Scheduled Pinned Locked Moved Uncategorized drupalcon1
0 Votes1 Posts0 Views -
ADUC - Articolo - Cibi contraffatti.
Watching Ignoring Scheduled Pinned Locked Moved Uncategorized1
0 Votes1 Posts0 Views -
bought some sweet potatoes for the first time.
Watching Ignoring Scheduled Pinned Locked Moved Uncategorized cooking askfedi0 Votes2 Posts0 Views -
Looking for sites that show popular Linux packages by category and popularity
Watching Ignoring Scheduled Pinned Locked Moved Uncategorized linux0 Votes2 Posts0 Views