The use of a pretrained model to create Code Generators is bad enough. It's not impossible to see what was created, but not directly easy, either. And how many people would bother to even try? For those who do care about what code generators are putting into their code any WHY, then being able to see the algorithm being injected via source code of the generator is helpful, but here all you have is a collection of Tensors that are impossible to reverse engineer. If stuff like this becomes common, we are doomed.
Sharp Ninja
Posts
-
I had been looking for ideas for a code generator -
Visual Studio for Macintosh> Cordially yours, p!ssed off with Xcode. Totally understandable. :wtf:
-
Elon goes to warMetallica's One is a near perfect adaptation of the store.
-
Underappreciated feature...works surprisingly wellXi Jinping is a real life Bind villian.
-
Would a desktop document management application be something that people would want?How about the fact that Google Docs are barely compatible with each other and don't allow live content embedding between documents.
-
Would a desktop document management application be something that people would want?Not all document types are searchable as plain text.
-
Software Development: The Great EqualizerStarted programming at 13 (1984) and never considered that my goal, which was computer engineering. Dropped out of engineering school 3 times, then lived for four years just wearing different hats. Went back to school to do Computer Science after doing web development from 94 to 96. Learned the fundamentals and left school in 2000 without a degree and have had a very successful career thereafter. But its hard emotionally, I think this profession tends to chew people up with the hours and mind games some people play.
-
Binding is the new SpaghettiBinding in UWP and WinUI not only gives you binding on functions, but allows you to specify a callback for two-way binding.
-
Binding is the new SpaghettiAre you reading the code in Notepad? Simply right-click the path of the binding and select "Go To Declaration". Also, the value in the `DataContext` property is a dead giveaway, too.
-
What tools and services do you now consider part of your daily workflow?* Visual Studio 2019 + Re# 2020 * VSCode plus about 5000 extensions * Azure Data Studio plus lots of extensions * Windows 10 20H1 (.net Framework 4.8) * Windows Terminal * WinGet/Chocolatey/Scoop * WSL2 + Pengwin * Docker Desktop (Linux in WSL2) * SQL Server * Azure DevOps (Git, Pipelines) * Azure WebApps * Azure SQL
-
Programming languages - fun vs. disciplinedIn summer of 2000, I printed the C# language spec on the day of the first public CTP release, went to a coffee shop and read all of it. I then got giddy as a guy stuck between VN6 and Java and knew salvation had come.
-
Use SQL Server database as Windows file systemThis is the response I was looking for! Going to definitely check these out.
-
Use SQL Server database as Windows file systemAre there and drivers for Windows that can use a SQL Server database as a file system?
The Sharp Ninja
-
Need a word"Who knows?"
-
So ... Brexit is due in two weeks. But what if other countries decided to leave?Why would France do it lie anyone else?
-
Offline web appsUno Platform is what you want. It supports all phone and desktop platforms from a single codebase.
-
Copy text from console windowJust did an experiment. I opened CMD.exe and CTRL-A worked. Then I typed powershell.exe and powershell opened in the CMD.exe window. CTRL-A no longer works. Exit powershell to CMD.exe and CTRL-A works again. So PowerShell is eating CTRL-A and not doing anything with it.
-
call enum as argument in Method?In your UI, you have an event handler for the dropdown list, so we'll start from that perspective. ```csharp public void DropDownSelectChanged(object sender, EventArgs args) { // assuming the sender is the drop down var ddl = sender as DropDown; // whatever the actual control is in your GUI Calculate(ddl.SelectedItem); } ``` The Calculate method will then call the appropriate Action to react to the state of the application. ```csharp // These get set in your constructor. public Action MoreApplesAction {get; set;} public Action FewerApplesAction {get; set;} public void Caclulate(Fruit selectedFruit) { // Of course, these should be properties somewhere var Apple = 5 var Orange = 1 // It's OK to create guards like this to // enhance readability, but don't be surprised // when someone objects because of the memory // allocation. var MoreApples = Apple > Orange; var FewerApples = Apple < Orange; switch(selectedFruit) { case Apple: if(MoreApplies) MoreApplesAction?.Invoke(); break; case Orange: if(FewerApples) FewerApplesAction?.Invoke(); break; } } ```
The Sharp Ninja
-
Copy text from console window`CTRL-A` is supposed to select all text in a control or context in Windows. However, it doesn't seem to work in either the PowerShell window or Windows Terminal. I would be very curious about a solution as well.
-
The Wonders of Team ViewSo I'm now working 100% remote. Loving it. New work sent me an really powerful laptop to use. The screen is dying, and so I'm using Team View to remote into it from another laptop and it's practically perfect since Team View gives you access to everything, not just a virtual screen.