ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86
I don't think this will necessarily help solve issues you wouldn't be able to solve without this, though I used similar tools in the past (Ozcode) and it did make debugging easier / faster
preemptively running source as it was written
It's not preemptively running source as it's being written, it's preemptively evaluating methods as you're debugging it
This looks like it's preemptive compiling, which isn't just unwise, it's potentially dangerous.
So I think what you might mean is preemptively evaluating methods at runtime? - which would be unwise / potentially dangerous - since it could cause side effect
For example, evaluating a method that increments something and modifies the state. So if it's preemptively called by the debugger, the state would be modified, and the actual invocation would be different
I installed the Resharper RC, and this is how it looks like in a small project that parses an excel file: https://i.imgur.com/g4s0P3h.png
So, in the example my debugger is still on the
allTheFieldsEmptyline and hasn't ran it yet, but resharper already evaluated it to false. Then it also greyed out everything in theif(allTheFieldsEmpty)block, since it knows it wouldn't hit thatThe next line you can see there was a warning, "Possible impure evaluation" - which is that I assume you were talking about, and it didn't evaluate that yet. I can click the box and make it evaluation it.
The debugger inspects the method, as the article mentions, it check for the PureAttribute - indicating that it's safe to use
After I marked that
GetMappingFieldmethod as Pure, it actually did evaluate it without any interaction, and it predicted it would throw an exception https://i.imgur.com/zQ0K3Ge.png - seems pretty useful so faram unsure just how revolutionary this feature is
It's not. This feature existed for dotnet in bugaid (which then got renamed to Ozcode) (which then got killed by Datadog) for the last 10 years already
Pretty cool that Jetbrains is adding this, but it's not as "Groundbreaking" "Game-Changing" "Futuristic" as they make it out to be.
This feature existed for dotnet in bugaid (which then got renamed to Ozcode) (which then got killed by Datadog) for the last 10 years already
Resharper can do this:
Extensions -> Resharper -> Architecture -> Show Project Dependency Graph
I can't even "scrub my post history" anymore... The account is in readonly mode basically - and I can't delete or edit anything from my history
Another thing that surprised me was how much chatGPT bot spam there is
Not really a bad thing. Part of the protest was to devalue the platform...
See what /r/ProgrammerHumor/ is doing - all titles are camelCase, and all the comments started
includingandreturningthings. It's not really something anymore that reddit could sell to AI content farms.If mods are removed for participating in the blackout, the next best thing is probably to let their sub go completely unmoderated and let things turn into a shitshow with unable content by spam bots.
Don't think you can really teach an AI bot something by letting it regurgitate it's own output
Personally I don't have any problems with it (if that was directed at me) - I've added 418 as "unhandled exception code" response to a bunch of applications, so I can easily differentiate whether my application is throwing an error, or whether it's some middleware gateway AWS io-thing
I was just curious what OP thought about it, since in the early days it wasn't uncommon to add goofs or easter-eggs into software, but nowadays not done so much... and apparently the "HTTP Working Group" doesn't like it either... So I was curious whether OP though in hindsight whether it should've been added or not
I usually generate an API client in C#, and just use that. For example, and entire integration CRUD test for a user would just be something like:
csharp
var user = TestClient.CreateUser(1234, "Bob"); user.Id.ShouldBe(1234); user.Name.ShouldBe("Bob"); var userThroughGet = TestClient.GetUser(1234); userThroughGet.ShouldNotBeNull(); TestClient.EditUser(1234, "John"); userThroughGet = TestClient.GetUser(1234); userThroughGet.Name.ShouldBe("John"); TestClient.DeleteUser(1234); userThroughGet = TestClient.GetUser(1234); userThroughGet.ShouldBeNull();Trying to set up those kinda scenarios quickly with Postman was getting pretty tedious
Do you regret adding it, or with the knowledge you have today, would you still add the 418?
Since a bunch of languages have not implemented it, or/and has long discussions about it:
https://github.com/dotnet/runtime/issues/15650https://github.com/golang/go/issues/21326https://github.com/nodejs/node/issues/14644https://github.com/psf/requests/issues/4238https://github.com/aspnet/HttpAbstractions/issues/915
I'm not familiar yet with the Lemmy API, but isn't there a possibility to move posts around?
For example someone posts "[HELP][Python] How to use Selenium correctly" in /c/Programming... A moderator could suggest the user to move their post to /c/Python instead
As I mentioned in a post that presumably sparked this vote - communities are theoretically a node-tree - (/c/Python being a child of /c/Programming)
so option #2 here would help people find the correct community for their next post, but that seems like a weird "sorting algorithm" - "this post is in the wrong spot, hopefully you'll do better next time" - why not just move stuff around this time, instead of next time
- JumpDeleted
I solved the C# mystery...
Sounds like someone is not familiar with Terryology... https://youtu.be/ENSq1lw__AU?t=356
- JumpRemoved
Help! I'm dumb!
There is a "normal Desktop Linux experience" in WSL - you just have to install it on the linux distro :) https://programming.dev/comment/602185
- JumpRemoved
Help! I'm dumb!
I’ve installed Fedora/Alpine/Ubuntu
Where did you install it, and how did you install it? Did you install it as WSL? If so, you might just have to install a GUI - something like xfce. Next you should install xrdp. Once you have that up and running you do "
ip a" and see the local network address of your Linux MachineThen you can RDP into your GUI. (using mstsc which comes pre-installed with windows, or a manager like mRemoteNG) - You should follow a tutorial on youtube about using Ubuntu on WSL for this.
For example, this is me running Kali on WSL: https://i.imgur.com/ecJzpQ3.png
I think the lines are pretty blurred about what is “general purpose programming” and what is “Language specific”
For example, if you have a post about C#, the community inheritance chain would be something like: /c/programming -> /c/dotnet -> /c/csharp or /c/programming -> /c/dotnet -> /c/VisualStudio
Once you start getting more specific communities, the parent “general purpose” communities would become dead / unsorted / random
In reddit people would often post their stuff somewhere in the tree of communities, and would often get a response of either "This community is too niche, you’ll probably get more responses in {Community Node up the tree} OR “This community is too general, you’ll probably get more expert opinions in {Community Node down the tree}”
It would be an interesting idea if it would be possible to set up Lemmy like this, as a node tree of communities… So if you subscribe to /c/programming, all posts in communities that are more specific would show up in the parent communities. So for example if you’d want to see all dotnet stuff you subscribe to /c/dotnet, and you’d see posts from all children (/c/csharp, /c/VisualStudio) - if you have more niche interests you only subscribe to /c/csharp.
I'm hoping they're still going to respond to the appeal, as my first appeal wasn't really a real one, just basically a "lol wtf?" one... Considering maybe it was just one random "hardcore" rogue admin on a banning spree for things they didn't like. - And that if I just submitted an appeal another admin would see it and unban me. But that didn't go as expected
So I'm hoping they at least answer the second appeal asking to give me a reason. I'm curious if they're going to admit it's for the John Oliver post, or if they're going to pull something from the history and be like "2 years ago you said something mildly problematic we just discovered" - or most likely, just keep it vague and say I violated the content policy without explanation

I also use Azure Devops + GitHub - What kind of integration are you looking for? I have my source in Github, and use Azure as build server
If you're using Azure as the build server, you can also publish your Nugets into a private feed in Azure