Skip to main content

Search

Items tagged with: code


PHP people,

I'm trying to convert some python that I wrote many years ago to #PHP. The code takes a word (string) and converts it into IPA(International Phonetic Alphabet) based on an alphabet character=>IPA dictionary (array).

In Python every string is an array, but in PHP it's not.

How do I iterate over a string not just seeking for individual characters but also for groups of characters? For instance the word 'light' I'd want to seek for 'igh', which would be converted to 'aɪ'

TIA

#Programming #Python #ConLang #Code


He’s the #hackathon king of SF — and he doesn’t even know how to #code


Source: sfstandard.com/2025/07/05/rene…

“Vibe-coding” was coined by AI researcher Andrej Karpathy this year to describe the process of using AI to translate natural language prompts into functional code. The practice has become widespread as startups vibe-code products and Big Tech companies demand employees use coding assistants like Cursor and Claude.


#program #Software #ai #ChatGPT #technology #news #SanFrancisco #usa #coder #developer #programmer #vibe #coding


You can't delete what's committed to #GIT


Source: trufflesecurity.com/blog/guest…

#Github #password #Leak #security #cybersecurity #delete #Problem #secret #code #Problem #knowlege #news #Software


#Laravel is a dictatorship, not a democracy.

Some great PR get shot down because Taylor simply doesn't want to.

It would be great to make a fork and make all PR be vote based. Who knows if I fork it and make an app just for that.

#Programming #PHP #Software #Code #Coding #


The image shows a screenshot of a social media post. The post has a dark background with white text. At the top, there is a title that reads "Markdown syntax refreshment." Below the title, there is a code snippet enclosed in triple backticks, which reads:

golang<br>JSR $FDD2<br>BRK<br>

The post includes a comment that says, "Prefect I remembered the syntax well." Below the comment, there are several hashtags: #Markdown, #code, #backticks, #programming, #RetroComputing, #C64, and #Assembly. The post has 4827 likes, as indicated by the number next to a blue button with a right-pointing arrow. The interface includes various icons for actions such as sharing, commenting, and liking, along with a microphone icon for voice input. The user's profile picture is visible in the top right corner, showing a small image of a bird on a red background.

Provided by @altbot, generated privately and locally using Ovis2-8B

🌱 Energy used: 0.235 Wh


»6 Fehler, die sich Rust-Devs sparen sollten:
Wenn Sie Rust-Code schreiben, sollten Sie dieses halbe Dutzend Verfehlungen tunlichst vermeiden.«

Das Programmieren in Rust auch nicht an einem Wochenende gelernt ist, wie viele Scriptsprachen, ist klar. Durch deren Präzision aber auch sehr sicher (Fehler sind überall von Menschen einfließbar) und schnell, auch per WASM im Webbrowser.

🦀 computerwoche.de/article/28340…

#rust #rustdev #rustlang #programmieren #code #kodieren #wasm #webdev #dev



An Alternative Way to Install Home Assistant Core
Hass-Core-Installer Version 2025.5.1 Released

Official support for installing Home Assistant Core, Supervised, and some other methods will soon end (see announcement). If you still want to run Home Assistant Core on your own hardware, I have good news!

I’ve released a new and improved version of hass-core-installer. This tool makes it easy to install Home Assistant Cor
joseph.zikusooka.com/?p=2658
#Apps #Code #Linux #Tools


Here's the source #code for the unofficial #Signal #app used by #Trump officials


source: micahflee.com/heres-the-source…

The source code contains hardcoded credentials and other #vulnerabilities.


#software #fail #bug #vulnerability #security #communication #chat #cybersecurity #whitehouse #usa #politics #government #problem #news


Why did #Windows7, for a few months, log on slower if you have a solid color #background?


source: devblogs.microsoft.com/oldnewt…

The code to report that the wallpaper is ready was inside the wallpaper #bitmap code, which means that if you don’t have a #wallpaper bitmap, the report is never made, and the logon system waits in vain for a #report that will never arrive.


And who uses #Microsoft bitmap #image format?

#fail #problem #boot #windows #code #omg #wtf #problem #news #program #picture


me guarding my spaghetti code like it's sacred

#coding #code #programming #meme #funny


My Laravel PR was shot down, but I may give it a chance later in the year to use Property Hooks as attribute cast.

Why? I blindly guess that using Property Hooks are less computationally costly but also IDE friendly.

#PHP #Laravel #PHP8 #PHP84 #Programming #Code #Coding #SoftwareDevelopment #WebDevelopment #WebDev


Let's see what the PHP gods say about that "bug"

github.com/php/php-src/issues/…

#PHP #Programming #SoftwareDevelopment #Development #Coding #Code #Software #WebDevelopment #WebDev #Bug #GitHub #Git


I fully expect #Laravel to start deprecating the `Attribute` cast starting with Laravel 13.x.

I have, quite literally, no argument to use Attribute casts over Property Hooks. Plus, because these are native, there is no overhead.

#PHP #Programming #WebDevelopment #Technology #Code #Coding #SoftwareDevelopment #WebDev #PHP84 #PHP8


You want a crazy idea? Add an "__outScope" built-in method for classes.

It will run when the scope of the variable that holds the class instance ends.

Imagine the possibilities.

#PHP #Programming #Software #SoftwareDevelopment #WebDevelopment #WebDev #ApplicationDevelopment #AppDevelopment #Coding #Code


GitLab CFO, Brian Robins, says they are “aligned with the goals of DOGE, because the company’s software tools aim to help people do more with less. What the Department of Government Efficiency is trying to do is what GitLab does.”

archive.is/okSlz

You either support fascism or you don’t. It’s binary. There’s no gray area or “aligning.”

Considering GitLab? Don’t. Use @Codeberg.

(Hat tip @aphyr)

#Code #Dev #Development #Codeberg #GitLab #Fascism #GIT


«Kleine Code-Anpassung in Linux soll in Datenzentren viel Strom sparen:
Kanadische Informatiker haben eine Möglichkeit entdeckt, den Energieverbrauch von Rechenzentren wahrscheinlich erheblich zu senken - und das mit einer Anpassung von nur 30 Zeilen Code im Linux-Betriebssystem.»

Das ist moderne Software Entwicklung und nicht das verschwenden von Energie um deren Aufwand zu rechtfertigen.

🐧 winfuture.de/news/148400

#linux #umweltschutz #energie #code #stromsparen #informatik #software #it


My latest blog post: STM32 to Blinky with Rust – Part 2 – Development and Debug Toolchain

mikecoats.com/stm32-blinky-rus…

This time we’re creating a basic embedded project in Rust that prints “Hello, world!” over the debug interface.

#cargo #code #debian #embedded #firmware #linux #opensource

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos