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
Behind the scenes with the Labubu-loving hackathon king of SF
Rene Turcios has attended over 200 hackathons in two years — and he doesn’t even know how to code.Rya Jetha (The San Francisco Standard)
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
Guest Post: How I Scanned all of GitHub’s “Oops Commits” for Leaked Secrets ◆ Truffle Security Co.
GitHub Archive logs every public commit, even the ones developers try to delete. Force pushes often cover up mistakes like leaked credentials by rewriting Git history. GitHub keeps these dangling commits, from what we can tell, forever.trufflesecurity.com
I should freshen up on my golang language skills
go.dev/doc/tutorial/getting-st…
#code #golang #programming #ModernComputing #portable #Markdown
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
Markdown syntax refreshment
This is the screencap of the post
#Markdown #code #backticks #programming #RetroComputing #C64 #Assembly
»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
Good Internet
A magazine for the non-corporate web, using code as an art medium, and web development enthusiasm of hobbyists and professionals alike.Good Internet
Is PHP still relevant in 2025?
accesto.com/blog/is-php-still-… #php #code #webdevelopment #programming #ProgrammingLanguages
Is PHP still relevant in 2025?
Yes, it is. Period. End of article 😉 Source: isphpstillrelevant.comPiotr Golofit (Accesto Blog)
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
I have to say, Property Hooks in PHP allows for some wacky things.
#PHP #Programming #Coding #Code #SoftwareDevelopment #WebDevelopment #WebDev
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
Here's the source code for the unofficial Signal app used by Trump officials
💡Update May 4, 2025: I have published quite the follow-up story, if I may say so myself: The Signal Clone the Trump Admin Uses Was Hacked Yesterday, I published an analysis of what I could publicly find about TM SGNL, the obscure and unofficial Sign…Micah Lee (micahflee)
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
Why did Windows 7, for a few months, log on slower if you have a solid color background? - The Old New Thing
It's waiting for Godot and eventually gives up.Raymond Chen (The Old New Thing)
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
PHP 8.4: Virtual Property with `set` returning a value stores the value · Issue #18341 · php/php-src
Description 3v4l reproduction When using a virtual property, if the set hook returns a value, that value get stored inside the object. While that would be expected as the value is returned, it coll...GitHub
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.”
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)
«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.
#linux #umweltschutz #energie #code #stromsparen #informatik #software #it
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-Kernel.Christian Kahle (WinFuture.de)
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.