Posts

Interesting news to share

Solar farm

http://9gag.com/gag/a8GQBeZ

534 points, 133 comments.

4y | 1x Good post
Upgrading Symfony Websites to AssetMapper

During the past weeks, we've been upgrading Symfony websites like symfony.com, live.symfony.com and certification.symfony.com to use AssetMapper instead of Webpack Encore. This blog posts explains how we did it.

Initial Situation: Webpack Encore All Symfony… https://symfony.com/blog/upgrading-symfony-websites-to-assetmapper?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

11mo | 1x Good post | Symfony
How to Build a Robust Flutter App Initialization Flow with Riverpod

Some useful Riverpod techniques you can use to initialize async dependencies, show some loading UI, and handle errors during app startup. https://codewithandrea.com/articles/robust-app-initialization-riverpod/

11mo | 1x Good post | Code with Andrea
CVE-2023-41336: symfony/ux-autocomplete Prevent injection of invalid entity ids for "autocomplete" fields

Affected Versions Versions < 2.11.1 are of the symfony/ux-autocomplete package are affected by this security issue. Description Under certain circumstances, an attacker could successfully submit an entity id for an EntityType that is not part of the… https://symfony.com/blog/cve-2023-41336-symfony-ux-autocomplete-prevent-injection-of-invalid-entity-ids-for-autocomplete-fields?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

1y | Symfony
Symfony 7.0 Type Declarations

Symfony has been on a multi-year effort to add all PHP type declarations to its code. After adding parameter types in Symfony 5, and many return types in Symfony 6, we are getting close to end of the initiative in Symfony 7.0. Adding type declarations need… https://symfony.com/blog/symfony-7-0-type-declarations?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

1y | Symfony
A Comparison of Popular Flutter App Architectures

Comparing my Riverpod App Architecture with other popular ones such as MVC, MVVM, Bloc, Stacked, Clean Architecture, and Android App Architecture. https://codewithandrea.com/articles/comparison-flutter-app-architectures/

Using context.mounted in Flutter 3.7

Since Flutter 3.7, BuildContext has a mounted property that we can check after an asynchronous gap. Here's how to use it. https://codewithandrea.com/tips/flutter-3.7-using-context-mounted/

Ask HN: Those making $0/month or less on side projects – Show and tell

Not sure about anyone else, but I enjoy seeing the posts on side projects making money. Often while reading all of the comments I find new products or services I want, so I buy them and contribute further to that hustle's success. But for every hacker making $100 or more per month with their idea, there are hundreds more working hard, making nothing, struggling to get started. Does that describe you? Maybe the community just needs to hear about what you're offering, what you've been working

Česká aplikace od BudgetBakers pomáhá lidem zkrotit finance. Po světě má už 800 tisíc uživatelů

Vedle vlastní úspěšné aplikace teď český startup pracuje s nizozemskými investory na novém projektu. Opět bude chtít zlepšovat finanční zdraví.

Článek Česká aplikace od BudgetBakers pomáhá lidem

Ask HN: What are 100K dollar ideas but not million dollar ideas?

Forget about billion dollar ideas, I am not even interested in working on million dollar ideas. There are multiple ideas or projects which are left because they don't have potential to scale. They are very specific to a niche set of customers or teams. Many people wanted to work on the solution but dropped off as they had bigger fishes to fry or knew the idea wouldn't scale. But the idea would scale up to a certain limit.

e.g. https://arstechnica.com/tech-policy/2022/08/man-who-built-isp-i

#333 – Andrej Karpathy: Tesla AI, Self-Driving, Optimus, Aliens, and AGI

Andrej Karpathy is a legendary AI researcher, engineer, and educator. He’s the former director of AI at Tesla, a founding member of OpenAI, and an educator at Stanford. Please support this podcast by checking out our sponsors: – Eight Sleep: https://www.eightsleep.com/lex to get special savings – BetterHelp: https://betterhelp.com/lex to get 10% off – Fundrise: https://fundrise.com/lex – Athletic Greens: https://athleticgreens.com/lex to get 1 month of fish oil EPISODE LINKS: Andrej’s Twitter: h

WEBUILD Free CSS Template

The WEBUILD Template has a Responsive layout with 4 Columns and uses an HTML 5 doctype.

     <p>It is a Dark on Light design developed by "HTML Codex".</p> 

https://www.free-css.com/free-css-templates/page283/webuild

2y | Css
Lodge Free CSS Template

The Lodge Template has a Responsive layout with 3 Columns and uses an HTML 5 doctype.

     <p>It is a Dark on Light design developed by "HTML Design".</p> 

https://www.free-css.com/free-css-templates/page283/lodge

2y | Css
Dárkové bedýnky s páčidlem vymysleli u piva. České Manboxeo jich loni prodalo za čtvrt miliardy

V prvním roce rozeslal Lukáš Legát, zakladatel firmy Manboxeo, celkem 850 bedýnek. Nyní dárkových boxů nejen pro muže posílá 120 tisíc.

Příspěvek Dárkové bedýnky s páčidlem vymysleli u piva. Č

Našeptávač: šikovný rádce, který má na práci 50 milisekund

V tomto článku popíšeme v detailu, co je našeptávač a jak přesně funguje. Nahlédnete pod pokličku této vychytávky, která pomáhá uživatelům vyhledávačů, ale také mnoha dalších produktů, které určitě používáte. https://www.root.cz/clanky/naseptavac-sikovny-radce-ktery-ma-na-praci-50-milisekund/?utm_source=rss&utm_medium=text&utm_campaign=rss

3y | 1x Good post | root.cz
Flutter App Architecture: The Application Layer

Service classes are the ideal place to store logic that depends on multiple data sources or repositories. Let's explore them by building a shopping cart feature. https://codewithandrea.com/articles/flutter-app-architecture-application-layer/

Spouštíme Startup Awards. Hledáme ty nejlepší startupy Česka, rozhodnete o nich i vy

Startupy jsou naše srdcovka. Proto vyhlašujeme ocenění, které získají ty nejoblíbenější i nejzajímavější. Nominovat své favority můžete už teď. Příspěvek Spouštíme Startup Awards. Hledáme ty nejlepší startupy Česka, rozhodnete o nich i vy pochází z CzechCrunch

https://cc.cz/spoustime-startup-awards-hledame-ty-nejlepsi-startupy-ceska-rozhodnete-o-nich-i-vy/

Ruští vojáci zezadu zastřelili dva civilisty, jejich autosalon pak vyrabovali

Video z bezpečnostních kamer ukazuje vraždu dvou neozbrojených civilistů ruskými vojáky v autosalonu nedaleko obléhaného Kyjeva v březnu roku 2022. Rusové po exekuci mužů autosalon vyrabovali. Ukrajinci nyní vyšetřují čin jako válečný zločin, uvádí stanice CNN, která video získala. https://www.idnes.cz/zpravy/zahranicni/rusko-ukrajina-vojaci-civiliste-valecny-zlocin-vrazda-zabiti-autosalon.A220512_100509_zahranicni_jhr#utm_source=rss&utm_medium=feed&utm_campaign=zpravodaj&utm_content=main

3y
Vyhrožují mi, tvrdí Musk. Šéf Roskosmosu mluví o následcích za pomoc Kyjevu

Jestli zemřu za podivných okolností, tak jsem vás všechny rád poznal. V pondělí to na Twitteru napsal nejbohatší muž světa Elon Musk, který tak reagoval na slova šéfa ruské kosmické agentury Roskosmos Dmitrije Rogozina. Ten na platformě Telegram prohlásil, že miliardář ponese následky za svou pomoc Ukrajině. https://www.idnes.cz/zpravy/zahranicni/rusko-valka-invaze-ukrajina-elon-musk-dmitrij-rogozin-roskosmos-stralink.A220509_181112_zahranicni_dtt#utm_source=rss&utm_medium=feed&utm_campaign=zpra

3y
How to Use Super Arguments in Dart 2.17

Since Dart 2.17, you can pass arguments to the super class with a new shorthand syntax. Here's how. https://codewithandrea.com/tips/dart-2.17-super-arguments/

New in Symfony 6.1: Simpler Bundle Extension and Configuration

Contributed by Yonel Ceruto in #43701.

Symfony bundles provide ready-to-use features to Symfony applications. In some cases, bundles include their own configuration and can even extend the application configuration adding new options. These extension and configuration features are implemented via dedicated classes that extend/implement other Symfony classes. This process is wel

3y | Symfony
How to update a Map of key-value pairs in Dart

Ever needed to update a value if a given key already exists, or set it if it doesn't? Here's how to use the Map.update() method to solve this. https://codewithandrea.com/tips/dart-map-update-method/

Ask HN: How do you cope with possible nuclear threat?

What are some coping skills you use or can recommend to tackle or just mitigate the impending doom that's hanging over our heads? I've noticed I'm becoming more scared, demotivated and depressed as the Ukraine conflict marches on and irrational people make nuclear threats. Comments URL: https://news.ycombinator.com/item?id=30526022 Points: 38

Comments: 66

https://news.ycombinator.com/item?id=30526022

Klaun Lavrov

"Ruský ministr zahraničí Sergej Lavrov ve středu řekl, že pokud by došlo ke třetí světové válce, zahrnovalo by to jaderné zbraně, a bylo by to destruktivní. Informovala o tom agentura RIA."

Ak su tie ich rakety pripravene tak ako armada, tak je to v klude...

3y | 1x Good post
Standardní šablonovací systém jazyka Go a šablony HTML stránek

Navážeme na předchozí články o využití šablonovacího systému v jazyce Go. Ukážeme si, jak je možné použít HTML šablony a jak je lze integrovat do služeb postavených na HTTP serveru. https://www.root.cz/clanky/standardni-sablonovaci-system-jazyka-go-a-sablony-html-stranek/?utm_source=rss&utm_medium=text&utm_campaign=rss

3y | root.cz
Dešifrujeme HTTPS pomocí nástroje Wireshark

Celý svět začal šifrovat a skrývat tak komunikaci před nezvanými hosty. Někdy se ale jako správci potřebujeme podívat, co se přenáší. Naštěstí nám s tím může snadno pomoci Wireshark. Ukážeme si, jak na to. https://www.root.cz/clanky/desifrujeme-https-pomoci-nastroje-wireshark/?utm_source=rss&utm_medium=text&utm_campaign=rss

3y | 1x Good post | root.cz
New in Symfony 5.4: PHP Enumerations Support

PHP Enumerations, or "PHP enums" for short, is one of the most anticipated new features of PHP 8.1 (released on November 25, 2021). Their most common use case is to group several related values. In previous PHP versions you had to define a series of related constants to achieve that. In PHP 8.1 you can do this:

    1

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // Defining the enumeration and its values namespace App\Config;

enum TextAlign { case Left; case Ce

3y | 1x Good post | Symfony
Flutter Tutorial: Mood Tracking App with Firebase Cloud Functions

A simple Flutter app illustrating how to work with Firestore, Cloud Functions, and the Firebase Local Emulator. https://codewithandrea.com/articles/flutter-tutorial-firebase-cloud-functions/

3y
New in Symfony 5.4: Faster Security Voters

Contributed by Jérémy Derussé in #43066.

Security Voters are the recommended way to check for permissions in Symfony applications. They allow to centralize the permission logic so you can reuse it from controllers, templates and services. During runtime, whenever Symfony finds a isGranted() method call, it iterates over all the voters, and stops when the configured access decision strategy is met. This wo

3y | Symfony