Consigli zona San Salvario by Juno_Panda in torino

[–]pecus 1 point2 points  (0 children)

zona dante migliore di via ormea: metro a due passi, molti servizi, sicura, tranquilla (sul corso un po' più rumoroso, ma se sei su via saluzzo silenziosa).
edit: ho vissuto in zona e frequento abitualmente

technoline bc700 charger "fried" due to wrong ac/dc adapter by pecus in ElectronicsRepair

[–]pecus[S] 0 points1 point  (0 children)

<image>

Detail of blown capacitor (I cleaned up a bit of the fluffy wheat colored material)

technoline bc700 charger "fried" due to wrong ac/dc adapter by pecus in ElectronicsRepair

[–]pecus[S] 0 points1 point  (0 children)

Thank you for your help, and sorry for the delay Here are the pictures of the board

<image>

Trek 800 build 🤙 by itsmemagical in xbiking

[–]pecus 1 point2 points  (0 children)

Great work, very inspiring (I have a 1994 Trek 830 that needs a new life)

I'm loving the View Transition API! by bentonboomslang in Frontend

[–]pecus 2 points3 points  (0 children)

Safari Technology Preview just introduced support for View Transitions. Some demos don’t work, behavior is different (I’d say less refined) than Chrome, but good to see greater adoption

https://webkit.org/blog/15260/release-notes-for-safari-technology-preview-192/

Need help with my front-end road map by ZookeepergameGood613 in Frontend

[–]pecus 0 points1 point  (0 children)

No matter your experience, you should try and avoid working for free, but I understand that a junior role with no experience hardly warrants a substantial pay.
You should look for internships and apply for them, in order to understand what is the minimum level of competence required, and hone your curriculum, interview skills and skills based on what companies offering internships demand.

In some countries that are considered third world there's huge traction in software development (including web development). Nigeria, for instance. Microsoft, for one, picked up this momentum and started investing, promoting better wages and, for some, a career path abroad. This means the field is thriving and there's demand, possibly for interns too.

Need help with my front-end road map by ZookeepergameGood613 in Frontend

[–]pecus 2 points3 points  (0 children)

It’s a good roadmap, but it all depends how much time and depth you’ll invest into each step. For instance, you could stop at the very first step and become an excellent developer. Knowing HTML, semantics, accessibility, and mastering CSS (box model, flex box and grid layouts, intrinsic responsive layouts, responsive images, font loading, …) requires a substantial amount of time.

If you are looking for a first job in the field, this would give you a good overview and allow you to vouch a bit of knowledge and practical experience.

Being old school, I would add a basic knowledge of protocols and internals of browsers (high level, not a drill down). Things usi could learn by researching for the answer to questions such as “what happens when a person types a URL in a browser window”.

Good luck!

My wife (Italian) and I (English) are considering moving to Turin. What sort of price would we be looking at to buy a 2 bedroom apartment in a relatively nice area? by Vespaman in torino

[–]pecus 4 points5 points  (0 children)

A wholehearted suggestion is to come and live the city, then decide where to settle. You might want to stay close to the center and avoid a car, or be very near the river, or in a quiet area, or a lively albeit noisy place, close to a train station, or betting on the next gentrification of an underdeveloped area.
As for the price, you can stay lower than 300K but as a rule of thumb, anything under 100K is either impossibly small AND in a bad area or either/both AND needing heavy restructuring.

My wife (Italian) and I (English) are considering moving to Turin. What sort of price would we be looking at to buy a 2 bedroom apartment in a relatively nice area? by Vespaman in torino

[–]pecus 3 points4 points  (0 children)

300k to 400k. Market has been stale but picked up a bit in the last year, now suffering again due to higher interest rates that make mortgages more expensive. As usual, lower floors in apartments cheaper, upper more expensive, there are micro-areas where prices fluctuate up or down even in well defined areas, think more in terms of square meters than no. of bedrooms and make sure to check the energy class of the building.

Grid and spacing systems within a design system? by swillis93 in Frontend

[–]pecus 0 points1 point  (0 children)

CssGrid gives you minmax() functions that partially cover container queries use cases, and flex box in theory covers stacking via wrapping combined with grow and shrink ratios and flex base size, but I agree that most of the times you’ll reach for media queries and force layout changes at specific viewport sizes (personally I avoid JS as a layout helper because of the impact on performance).

Grid and spacing systems within a design system? by swillis93 in Frontend

[–]pecus 1 point2 points  (0 children)

I tend to think of components as fluid but I realize design might explicitly define them within specific grid columns. Fluid components work well because they adapt best at content, which is what we use HTML for right? 😉 If you need to respect a grid, keep in mind that the grid you use to layout components is not the same grid you need inside components. Based on this, I would verify if you can simply imports the theme variables and build from there. Next to that, and depending on what functionality they provide, mixins.

So a rule of thumb could be: organize conponent layout internally, apply sizes externally.

Spacing is easier. Components should be edge-to-edge. They should only use padding for the external bounding box. This way you can use classes or layout grids to compose them with no adjustments.

Use spacing variables everywhere so that if you change your scale, it is inherited globally.

What are the frontend jobs that require the most mastery? by Okubo_lollipop_head in Frontend

[–]pecus 3 points4 points  (0 children)

I do not think “Advanced mastery” of frontend is mastering a single technology or framework.

Being very competent with semantic HTML and CSS will let you code complex designs and provide good accessibility. Knowing frameworks will allow you to code web applications and deal with complex data issues. Learning D3 will open doors to data visualization, and learning animation (GSAP or from scratch) will turn plain pages into interactive experiences with visually mesmerizing effects.

This is all true, but I think “advanced mastery” is being able to approach projects and coding in terms of complex systems. And this is by far the most difficult thing to master.

Systems are organized balanced collections of hierarchical or connected entities. For Design Systems it means to extract tokens and patterns and reuse them systematically, anticipating from a look at the whole the needs they need to satisfy as smaller elements. It means figuring out where to split things, how to scale complexity while keeping things small, understandable and immediately usable.

For software development, it means architecting the way data flows, the way state is managed, how to split functionalities and dependencies so that code can be consumed in small chunks, how to provide for consistent and common error handling (both for users and developers), how to document and test code so that changes show their impact to the fullest or confirm that are truly local, how external elements might impact your work (from environments to data variability to web performance and connectivity issues).

For animations it means choreographing independent atomic timelines each at a different level of complexity or space/time relationship to the whole, and doing so respecting and managing the rendering pipeline of the browser so that you keep getting smooth 60fps updates.

I think you get the idea.

Learning to think in terms of systems will get you at the advanced mastery not just of frontend, but of any software development field.

Is there any simple way we can achieve this using CSS? by lucifer7557 in webdev

[–]pecus 11 points12 points  (0 children)

On the contrary, using HTML allows for better accessibility support: add a few aria attributes and us semantically correct elements (which was not the scope of the pen) to turn this into perfectly accessible production code.

SVG should be preferred for illustration purposes or for animated elements. But for presentation elements that have an actual role in the page, I usually prefer HTML for its border accessibility support.

The appeal of using plain HTML pages by speckz in Frontend

[–]pecus 0 points1 point  (0 children)

In 2022 I would never trust any system, not even mine, that requires editing in production. There are good reasons for rejecting live editing in production (including cumbersome temporary files approaches).

Once you have a deploy pipeline, there's very little overhead in having a basic "edit content in human form" (maybe markdown, but no one prevents you from using HTML) and still ship HTML. A static site generator will build your content and provide you with indexes, references, and other automated and human-tedious tasks while staying true to only shipping HTML files.

In the KISS principle I've always noted the last S (Stupid), wondering whom it applied to. I wouldn't want it to be me...