heiglandreas, to random
@heiglandreas@phpc.social avatar

Really ? I can use 2.537 different databases as datasource but the only plugin that allows me to use LDAP as datasource is 3rd party provided and 4 years old?

So back to Apache Directory Studio again... ๐Ÿ˜ก

A well. Who needs a fast and reliable tree-structured NoSQL datastore anyhow ๐Ÿคท

secana, to neovim
@secana@mastodon.social avatar

What's the best plugin to view and query databases in ? Something like from but for the console.

ramsey, to random
@ramsey@phpc.social avatar

Every time I paste code in Nova, it tries to run some โ€œCode Cleanupโ€ tool, and I canโ€™t figure out why. I have to undo it because it keeps changing many of the lines in the file Iโ€™m working in.

I donโ€™t know what setting controls this, or how it got turned on. Maybe itโ€™s a bug in โ€œNova?โ€ This is my first time using it, and itโ€™s still in โ€œbeta.โ€

terrehbyte, to Anime
@terrehbyte@sakurajima.moe avatar

TIL there's a (relatively) high effort anime memes plugin for JetBrains IDEs

https://github.com/ani-memes/AMII

Get anime memes delivered to your IDE when tests fail, keyphrases appear in logs, builds finish, or even on demand!

Can also be hidden on demand with Discrete Mode for screensharing or w/e.

A screen capture of an IDE displaying some code. A semi-colon is left intentionally missing, allowing the plugin to showcase its ability to overlay an anime meme on top in response. In this case, the GIF is an image of an anime girl, Tohsaka Rin, turning around with a surprised expression on her face.

0x58, to Cybersecurity

๐Ÿ“จ Latest issue of my curated and list of resources for week /2023 is out! It includes the following and much more:

โž ๐Ÿ”“ ๐Ÿ‡บ๐Ÿ‡ธ U.S. nuclear research lab impacts 45,000 people
โž ๐Ÿ‡ฉ๐Ÿ‡ช Germany Says Customer Data Stolen in Attack
โž ๐Ÿ”“ ๐Ÿง ATM company Coin Cloud got hacked. Even its new owners donโ€™t know how
โž ๐Ÿ”“ ๐Ÿ‡บ๐Ÿ‡ธ Norton discloses data breach after May ransomware attack
โž ๐Ÿ‡ท๐Ÿ‡บ Russian SVR-Linked Targets TeamCity Servers in Ongoing Attacks
โž ๐Ÿ‘ฅ ransomware now poaching , NoEscape affiliates
โž ๐Ÿ‡ป๐Ÿ‡ณ ๐Ÿ’ป seizes domains used to sell fraudulent accounts
โž ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ’ธ French police arrests Russian suspect linked to ransomware
โž ๐Ÿ‡จ๐Ÿ‡ณ Chinese APT Volt Typhoon Linked to Unkillable SOHO Router
โž ๐Ÿ‡บ๐Ÿ‡ฆ ๐Ÿ‡ท๐Ÿ‡บ Ukrainian military says it hacked 's federal tax agency
โž ๐Ÿ‡จ๐Ÿ‡ณ ๐Ÿšช Researchers Unmask Sandman APT's Hidden Link to China-Based Backdoor
โž ๐Ÿ‡บ๐Ÿ‡ฆ ๐Ÿ“ก โ€™s largest mobile communications provider down after apparent
โž ๐Ÿ‡ช๐Ÿ‡ธ Kelvin Security hacking group leader arrested in
โž ๐Ÿ”ป ๐Ÿ‘ฎ๐Ÿปโ€โ™‚๏ธ ransomware site outage rumored to be caused by law enforcement
โž ๐Ÿ“น ๐Ÿ•ต๐Ÿปโ€โ™‚๏ธ devices broadcasted private video to other usersโ€™ accounts
โž ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡ช๐Ÿ‡บ Russian Diplomat Expelled Amid EU Spy Purge Is Now An OSCE Election Observer In Serbia
โž ๐Ÿ‡บ๐Ÿ‡ธ Harry Coker confirmed to be the next National Cyber Director
โž ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡บ๐Ÿ‡ธ Spain expels two US spies for infiltrating secret service
โž ๐Ÿ“ Unveils EMB3D Threat Model for Embedded Devices Used in Critical Infrastructure
โž ๐Ÿฉน Patch Tuesday: Electromagnetic Fault Injection, Critical Redis Vulnerability
โž ๐Ÿฆ  ๐Ÿ‡ต๐Ÿ‡ธ New Pierogi++ by Cyber Gang Targeting Palestinian Entities
โž ๐Ÿฆ  ๐Ÿ‡ฎ๐Ÿ‡ท Iranian State-Sponsored Group Deploys 3 New Malware Downloaders
โž ๐Ÿฆ  ๐Ÿ‡ฉ๐Ÿ‡ช New MrAnon Stealer Malware Targeting German Users via Booking-Themed
โž ๐Ÿช 's New Tracking Protection in Chrome Blocks Third-Party
โž ๐Ÿ› ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Unveils Open Source Vulnerability Impact Scoring System
โž ๐Ÿฉน ๐Ÿงฑ backports RCE fix after attacks on unsupported
โž ๐Ÿ”“ ๐Ÿงฑ Over 1,450 servers exposed to RCE attacks via bug chain
โž ๐Ÿฉน ๐Ÿ Ships iOS 17.2 With Urgent Security
โž ๐Ÿ› Over 30% of apps use a vulnerable version of the library

๐Ÿ“š This week's recommended reading is: "Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters (2nd Edition)" by Justin Seitz and Tim Arnold

Subscribe to the newsletter to have it piping hot in your inbox every week-end โฌ‡๏ธ

https://infosec-mashup.santolaria.net/p/infosec-mashup-week-502023

mistersql, to random
@mistersql@mastodon.social avatar

AI, and plain autocomplete are now in my IDE. I will hit tab and...

hankg, to OpenAI

I am happy to try LLMs that run locally in my IDE. I never want to stream all my data to OpenAI or any other service's data vacuum as I code. Which leads me to ask which of the two categories do these plugins fall into, JetBrains? I'm disabling them because they aren't doing squat for this Dart/Flutter developer anyway right now but I'm not going to activate them until I'm certain they aren't streaming every flipping keystroke back to the usual suspects. I'd say state explicitly in the overview whether it runs local or does network stuff or even better have a setting to disable all network traffic of this sort across the board since plugin manufacturers could be up to similar things. Hell maybe I need a firewall rule to block outgoing network traffic from the IDE, assuming I could do that without breaking all the local network traffic needed to connect to apps, emulators, etc. for debugging...

securityaffairs, to Russia Italian
heisedeveloper, to Kotlin German

Kotlin lernt WebAssembly โ€“ jetzt aber wirklich

Die Programmiersprache Kotlin startet die Alphaphase fรผr die Anbindung von WebAssembly als Zielplattform bei der Cross-Plattform-Entwicklung.

https://www.heise.de/news/Kotlin-lernt-WebAssembly-jetzt-aber-wirklich-9573392.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

We have an upcoming and release party. Hope you folks join us. Also talking about and development.

https://www.youtube.com/watch?v=lOIHOLQBk8w

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Using Annotations in , you can get endpoint code completion for any method that takes a URL from existing endpoints within the current solution.

This is pretty powerful stuff for developers.

hankg, to Flutter

Update on the whole Flutter Plugin not working with the latest IntelliJ 2023.3 that was released on December 2nd. As of yesterday afternoon the Flutter Plugin is again working. Not a moment too soon either, I needed all my Flutter tools again so had to find a 2023.2 install that morning only to find the update pushed out a few hours later :).

bitbonk, to dotnet German
@bitbonk@mastodon.social avatar

Nice, you can use to compare assemblies, nuget packages, zip files or whole directories.
https://www.jetbrains.com/decompiler/whatsnew/

dr_cox1911, to ai
@dr_cox1911@masto.ai avatar

@khalidabuhakmeh Sorry for pinging you directly, but you are the one that I follow that might have an answer for me:

regarding the new #JetBrains #AI When I activate it in Fleet is it active for every file I open in Fleet? I basically use Fleet nowadays as my "normal" text editor but I would like to not have the AI doing stuff for normal files.

cazabon, to money

Dear ,

> Itโ€™s finally here! Weโ€™ve just released our long-awaited AI Assistant publicly! It is now
> available for the millions of developers using JetBrains IDEs and coding tools.
> With AI Assistant, weโ€™re bringing the latest generation of AI to you: in your
> editor, in your workflows, right where you do your work.

Does "I they're going to this someday" count as "long-awaited"?

I have no interest in this BS. Nice to see you're wasting my .

hankg, to Flutter

Speaking of IntelliJ updates, I do hate when the Flutter or Dart Plugins are broken right after a release...like they apparently are today. I often wonder if it is an overly stringent version check or a legitimate problem. Thankfully today I can just get by on CLI and using IntelliJ just for the editor.

hankg, to ai

With this morning's IntelliJ update I started seeing these AI prompts. While it is exciting to see it coming to desktop software not just up running in the browser I'm still not touching these things until it goes to local only running models. Even if I trusted all these companies with all this data I'm sick of feeding evena higher precentage of our digital lives into the data lakes of the same companies or their proxies (yes I'm referring to you OpenAI).
Introducing JetBrains AI and the In-IDE AI Assistant | The JetBrains Blog

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Iโ€™ve partnered with to develop a course that helps learn how to spell correctly.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Interacting with folks in the AI Assistant event and found a problem that users may run into. ๐Ÿ˜…

fallenhitokiri, to VisualStudio
@fallenhitokiri@social.screamingatmyscreen.com avatar

Anyone thoughts on vs for development?

Iโ€™d prefer to do most of my dev work on Linux and Iโ€™m using IDEs for all other languages, so Rider seems like a good choice.
But I remember some people complaining it cannot match Visual Studio when it comes to .net in certain areas?

heiglandreas, to random
@heiglandreas@phpc.social avatar

Thank you for supporting amazing contributors of the PHP ecosystem!

maartenballiauw, to random
@maartenballiauw@mastodon.online avatar

Pretty excited for tomorrowโ€™s release of the AI Assistant tomorrow. Been using it for a while and itโ€™s pretty awesome!

Link to the stream: https://www.youtube.com/watch?v=SN51H_q9wBg

Will you be joining?

khalidabuhakmeh, to blazor
@khalidabuhakmeh@mastodon.social avatar

Someone left this comment on the blog about our Developer Ecosystem survey regarding . ๐Ÿซจ

Update: not sure I agree considering Blazor has multiple serving models.

kaschu, to django German
@kaschu@mastodon.social avatar

Oh, what a great review of some of the new parts of Django 5.0 by @sarahboyce What a lovely video! She mentioned some of the great people behind the changes, too!

Go straight to: https://www.youtube.com/watch?v=lPl5Q5gv9G8

๐Ÿ˜

louis, to webdev
@louis@emacs.ch avatar

In the last few days Iโ€™m experimenting with substituting CRUD API code with Stored Procedures which directly produce the endpoints JSON as a single-row scalar value. API is then just a wrapper that authenticates, validates input and streams the DBโ€™s JSON directly to the client.

  • No ORMs, no SQL generators etc.
  • All SQL is where it should belong: in the database
  • API does only single โ€žCALL myfunc(โ€ฆ)โ€œ db calls
  • A simple centralised error handler can accurately report errors from the database
  • No weird mixed row/json columns scanning into structs and re-marshalling everything to JSON
  • Codebase is collapsing to 20% (by LOCs)
  • Stored Procedures can use wonderfully declarative SQL code
  • Response times in the microseconds, even for multiple queries, all happens inside the DB

More side effects:

  • the data model can change and evolve without touching the API at all
  • Zero deploys mean zero downtime
  • the API application is so tiny, I could easily switch it to any programming language I want (yes, even Common Lisp) without worrying about available databases libraries, type mapping and rewriting tens of thousands of lines of intermixed language/SQL-code.

The general direction of the dev industry is heading in the opposite direction. More ORMs, more layers, more database abstraction. More weird proprietary cloud databases with each their own limited capabilities and query language.

So you tell me: Is it crazy? Is it wrong? Why do I have doubts despite everything working out beautifully?

louis,
@louis@emacs.ch avatar

Intermediate report 2 on my "Stored Procedure" project (long post).

I think it's time to talk about some of the downsides of Stored Procedures.

I think I've now accumulated enough knowledge to do so. The following applies mostly to MySQL.

  1. Drivers

Support for Stored Procedures in Go is terrible. It is clear that maintainers of the drivers do not care to implement full functionality for Stored Procedures, just because "nobody uses them".

One notable exception is the Go driver for SQL Server, which is now maintained by Microsoft itself and is excellent.

I patched the MySQL driver for Go to support OUT parameters, after studying the MySQL Client/Server protocol and writing a small prototype driver myself. The MySQL driver[1] project is plagued by lack of interest and rudeness of the maintainers ("you are wasting my time" is a common response). What makes the situation even more complex is that there is also MariaDB and both act slightly different and start to diverge more and more.

I think it would be wise for to step in and produce an official Go driver for MySQL exclusively.

However, after some hours I figured out the issue and I was able to implement full support for OUT parameters and multi-resultsets.

  1. Tooling

There are many UI tools for macOS but the only one that is capable of serious database development is DataGrip from . Other UI tools either have no support for Stored Procedure development at all or are too rudimentary in that they provide no language support. I've tried them all.

  1. Dev experience

I love writing SQL for Stored Procedures but there are some unique downsides I want to highlight.

โ€“ Passing table data between Stored Procedures is only possible either by creating temporary tables and "by convention" use them in the other SP or by creating JSON Arrays. Since tools do not know about these temporary tables, they will regard their usage as a potential error in your code.

TEMPORARY TABLEs are also the only way to collect multi-row SELECT results of a Stored Procedure.

โ€“ MySQL does not support the INSERT INTO/UPDATE ... RETURNING clause [unlike PostgreSQL], meaning that if you do multiple inserts/updates and want to know the auto-created IDs of these rows, this is only possible by using a CURSOR with a LOOP and accumulate the results in a TEMPORARY TABLE.

โ€“ CURSORs are ugly beasts. You have to DECLARE them (which is only allowed at a specific position in your code), OPEN them, FETCH row by row into user variables (which you are have to declare, too) and CLOSE them.

โ€“ Exception handling in Stored Procedures is somewhat convoluted. There is no Try/Catch construct. You can "SIGNAL" errors or warnings and can optionally write HANDLERs for specific exceptions but these do not transfer execution, you need to create and modify variables that you have to check in your code, since the SP just continues to run.

โ€“ MySQL gladly accepts SPs with buggy code. It is imperative to write "Test-SPs" to make sure they run as intended.

โ€“ Since SPs are defined in the same namespace (database) with your tables, views, functions etc. it is important to find a clear naming scheme, otherwise it will get very messy. There are no "packages" or "schemas" in MySQL.

โ€“ MySQL does not have user-defined types. If you declare variables for a specific column over and over, you have to rephrase theirs data types. PostgreSQL has a way to say "this variable is of type [table.column_xyz]". Not so in MySQL.

Having said all that, writing pure SQL with all these limitations provides a sense of clarity to focus on the problem at hand. Instead of thinking about "how" to solve, you focus on "what" to solve. Because you can solve anything with SQL [2] :-). Also, your app will be damn fast with Stored Procedures.

I hope I can cross the finish line next week and have actual results to share.

[1] https://github.com/go-sql-driver/mysql
[2] https://emacs.ch/@louis/111533663401601630

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines