Skip to main content

GPT For Regex - Pros And Cons

 RegExGPT is a online playground that lets you enter a source  and a target string to let GPT generate the regular expression for a match. But what are the pros and cons of the GPT approach to regex code generation?

Despite their power, regular expressions come with their own challenges; they have a tendency to quickly become unreadable so that understanding them becomes a matter of deobfuscation as well as learning how to use them involves a steep curve.


Popular posts from this blog

Fable - Write Front-end apps for the Web in F#

 How would it sound to be able to write front-end apps for the Web in  functional style and with type safety? Enter Fable, a F# to Javascript compiler with both those in mind. Fable transpiles F# to ES2015 JavaScript so code written in F# can run anywhere JavaScript runs - the browser, Node.js, Electron,React Native or generally V8. Yes of course with Typescript you can have type safety when transpiling to Javascript and since Fable does the same for F#, in terms of performance they should be equivalent. The difference is in the language itself. Although F# is a multi-paradigm language, it's big advantage is its concise syntax which renders it much easier to read and comprehend, and its default properties of immutability, rich types which let you easily represent your data or your domain and powerful pattern matching abilities for defining complex behaviors. full article on

Eclipse Temurin OpenJDK Now Supported By Red Hat

 There's now yet another reason to opt for Eclipse's Temurin version of OpenJDK among the rest of the builds - LTS support provided by Red Hat. There are so many builds of OpenJDK from a variety of vendors that it is difficult to tell them apart and to choose which to go for: OpenJDK builds by Oracle Adoptium Eclipse Temurin AdoptOpenJDK Azul BellSoft Liberica JDK IBM Semeru Runtime Amazon Corretto Microsoft Build of OpenJDK Alibaba Dragonwell SapMachine Red Hat OpenJDK GraalVM To that end, the Eclipse Foundation has launched the Adoptium Marketplace to provide a vendor-neutral home for the Java ecosystem that gives developers access to standard Java binaries from multiple sources, to make life just a little bit easier. As noted in "Eclipse Launches Java Binaries Marketplace", Mike Milinkovich, executive director of the Eclipse Foundation, said that the move was necessary in order to establish quality across OpenJDK: full article on i-programmer: https://www.i-program

Running PostgreSQL Inside Your Browser

 Yes it is possible thanks to, what else, WebAssembly.  And with it, the emergence of the Postgres playground, brought to us by Crunchy Data, with live-guided SQL exercises for any level. One of PostgreSQL's engineers had a crazy idea which he has now managed to realize.The idea came from the fact that it was possible to run SQLite inside your browser, so the reasoning was could the same happen for Postgres too? But compiling an embedded and small in size and scale DBMS to Webassembly (as sql.js does for instance) is one thing; compiling a full scale client-server one is another. Proof of that is, as the folks at Cruncy Data found out that the web browser simply did not offer the networking features that Postgres needed which was deemed a pretty big obstacle.Or was it ? full article on i-programmer :