Piráti posilují, ODS padá


Nejnovější volební průzkum říká, že zatímco vládní ODS i nejsilnější opoziční ANO oslabují, pozice Pirátů roste. Důvodem může být chronické selhávání ODS i přechod ANO k národnímu konzervativismu. Svou roli ale jistě hrají i kvality Pirátů.

in reply to une_abeille

Oh yes, osm usernames are strange: they can also contain any unicode characters, spaces, emojis, and you can change them anytime. I don't know any other site where username requirements are these lax.

There were already minor abuses, a troll registered as the username of a DWG member, but replaced one letter with a homoglyph. E.g. these are different unicode letters: oоο Just copy them to a unicode decoder.

in reply to Tutorial

tupambae.org/admin/themes/frio

Service Unavailable
unable to create directory /var/www/html/view/smarty3/compiled/90/4f/52

Exception thrown in /var/www/html/src/Core/Renderer.php:90
Stack trace:
#0 /var/www/html/view/theme/frio/config.php(199): Friendica\Core\Renderer::replaceMacros()
#1 /var/www/html/view/theme/frio/config.php(141): frio_form()
#2 /var/www/html/src/Module/Admin/Themes/Embed.php(89): theme_admin()
#3 /var/www/html/src/BaseModule.php(244): Friendica\Module\Admin\Themes\Embed->content()
#4 /var/www/html/src/App.php(703): Friendica\BaseModule->run()
#5 /var/www/html/index.php(52): Friendica\App->runFrontend()
#6 {main}

#3 #1 #2 #4 #5 #6
in reply to Tutorial

Update:

Correct CHMOD settings for smarty3, subfolders and their users


Correct CMOD settings for smarty3, subfolders and their users


Hi there @Friendica Support ,
this question is related to this help request:
frio theme - Service Unavailable
tupambae.org/display/0ac89072-…

I had a look at the smarty CHMOD settings and found the following:

drwxrwxr-x 3 www-data www-data 4096 Nov 8 20:23 smarty3
If I'm not wrong that's CMOD 775 (rwx|rwx|r-x) (?)

In the installation process the commands to create the smarty folders were:
www-data@VPShosting:~/html$ mkdir -p view/smarty3
www-data@VPShosting:~/html$ chmod 775 view/smarty3
see:
squeet.me/display/962c3e10-156…
tupambae.org/display/0ac89072-…
--
I looked into the subfolders and found:

rootname@VPShosting:/var/www/html/view/smarty3# ls -l
drwxr-xr-x 222 www-data www-data 4096 Nov 25 17:20 compiled => CMOD 755 (rwx|r-x|r-x) (?)
--
The folder "compiled" has a long list of sub-folders apparently each having 2 more steps of sub-folders.

rootname@VPShosting:/var/www/html/view/smarty3/compiled# ls -l
total 880

I found two types of folders, some few created on different dates strangely belonging to the user root instead of www-data, here two examples and how those two types of subfolders look like.
I guess the folders owned by root are wrong?
--------------------
drwxr-xr-x 3 root root 4096 Nov 12 04:35 00
-
rootname@VPShosting:/var/www/html/view/smarty3/compiled/00# ls -l
drwxr-xr-x 3 root root 4096 Nov 12 04:35 d4 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/00/d4# ls -l
drwxr-xr-x 2 root root 4096 Nov 12 04:35 ec => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/00/d4/ec# ls -l
-rw-r--r-- 1 root root 675 Nov 12 04:35 00d4eca105abd94437094f3d4409477acb55526a_2.string.php => CMOD 644 (rw-|r--|r--) (?)
--------------------
drwxr-xr-x 3 www-data www-data 4096 Nov 22 20:25 01
-
rootname@VPShosting:/var/www/html/view/smarty3/compiled/01# ls -l
drwxr-xr-x 3 www-data www-data 4096 Nov 22 20:25 97 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/01/97# ls -l
drwxr-xr-x 2 www-data www-data 4096 Nov 22 20:25 f2 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/01/97/f2# ls -l
-rw-r--r-- 1 www-data www-data 6140 Nov 22 20:25 0197f2d4b23957a898d38870d6c6a3775da487ff_2.file.group_side.tpl.php => CMOD 644 (rw-|r--|r--) (?)


Západ si neví rady s Orbánem, česká vláda mlčí


Alibistické mlčení současné české vlády, která mimo jiné vznikla jako koalice proti Orbánovu obdivovateli Babišovi, k situaci v Maďarsku, napomáhá tomu, aby se po sněmovních volbách v roce 2025 i Česká republika vydala maďarskou cestou.

Odhaleno: obžaloba rožnovské Energoaquy z otravy Bečvy je založena na podvodu


Klíčovým argumentem v obžalobě rožnovské Energoaquy z otravy řeky Bečvy je tvrzení soudního znalce, podle nějž toxická látka tekla přes tři kilometry při břehu, a teprve pak se rozmísila do celého koryta. Znalec posudek založil na podvodu.

cheaply print processors onto materials like plastic and paper

215974

Known for its core design IP that ends up in everything from IoT to smartphones to servers, Arm is now presenting that it has enabled one of its key microcontrollers in a new form factor: rather than using silicon as a base, the company has enabled a processor core in plastic. The technology has been in the works for almost a decade, but Arm has...
in reply to Ecosystems ~ LivingLabs ~ Bio shelters

@chrysn please follow @Ecosystems * Living labs * Bio shelters * for the conversation to be included on the main channel page!


If I understood the recent news articles right, the PlasticARM was of limited success due to low yield. The more recent work of PragmatIC <spectrum.ieee.org/plastic-micr…> seems to fix that by lowering processor complexity -- but in the end, the complexity bound will need to be pushed.

in reply to Ecosystems ~ LivingLabs ~ Bio shelters

Flexible plastic microprocessors cost less than a penny – The IC Informations

278951

IC Information, Speicfication, Pin Configration & Marketing Researchers from The Grainger College of Engineering at the University of Illinois Urbana-Champaign (UIUC), in collaboration with PragmatIC Semiconductor, a flexible electronics manufacturer, have claimed the first commercially viable flexible plastic microprocessors. For less than a...

Logging C Functions

justine.lol/ftrace/

The Cosmopolitan Libc _start() function starts by intercepting the --ftrace flag. If it exists, then it opens and sorts of the symbol table from the elf binary. Then it changes the protection of memory so it’s able to iterate over the program’s memory to look for nop instructions it can mutate. Those NOPs were inserted by GCC. It’s easy to self-modify them in memory, since they have the same byte length as the CALL instruction. Think of it like a mini linker. It just relinks the profiling nops. Once they’ve been rewritten, functions will start calling ftrace_hook() which is an assembly function that saves the CPU state to the stack. That means ftrace kind of acts like an operating system kernel. Once the assembly saved the CPU it can call the ftracer() C code that acquires a reentrant mutex and unwinds the RBP backtrace pointer (via __builtin_frame_address(0)) to determine the address of the function that called it. Once it has the address of the function, it passes it along to kprintf() which has a special %t syntax for turning numbers into symbols.


#c #investigation #programming #systems

Fixing the entire SM64 Source Code (Insane N64 performance)

youtube.com/watch?v=t_rzYnXEQl…

Recap of a lot of work, optimizing and rewriting code to squeeze out performance on limited hardware.

#gaming #gl #graphics #perf #programming #video #video

CVE-2022-21449: Psychic Signatures in Java

neilmadden.blog/2022/04/19/psy…

One side of the equation is r and the other side is multiplied by r and a value derived from s. So it would obviously be a really bad thing if r and s were both 0, because then you’d be checking that 0 = 0 ⨉ [a bunch of stuff], which will be true regardless of the value of [a bunch of stuff]! And that bunch of stuff is the important bits like the message and the public key. This is why the very first check in the ECDSA verification algorithm is to ensure that r and s are both >= 1.
Guess which check Java forgot?


#bugfix #crypto #java #security