Yeah but those are arguments to cd
, the error says command not found
Edit: Sorry didn’t see /S
Yeah but those are arguments to cd
, the error says command not found
Edit: Sorry didn’t see /S
Now think, patents are similar things but for with more money. And imagine if someone else had similar idea and made slightly similar website you go sue them coz you had the idea first.
What distribution of emacs are you using? What setup for rust? Because the run/debug things work on mine.
Thank you. Yeah, something like this would work for me as I can add in a script and run it before compiling. But it won’t be a cross platform solution and windows/mac users are probably not going to be able to do anything. Maybe if I do the same thing but from build.rs it’ll work. I’ll try that.
That seems like a good compromise if I don’t find something better. Thank you.
I’m hoping to make it easy for people to add more functions, that’s why I want minimal code change required to add more functions.
Thank you for your detailed response.
I am ok using macros. But even proc macro only get the tokens and using in on the whole mod is unstable unless you use use it on mod sth{...}
instead of code being on in a different file (sth.rs).
The plug-in system is dynamic in a sense that my plans for it are loading them through shared libraries (.dll, .so) compiled separately by users. But I also have internally provided core plugins that come with the program. But rust ABI system is not that stable, so in worst case I might have to ask users to just add plugin code to some directory and re-compile program instead of loading from shared libraries. That’s why I’m trying to make it as simple as possible. Asking users to modify the rust code somewhere else yo register the plugin might be met with resistance.
I was thinking that using build script to parse the source code and generating those codes could work, but that seemed hacky. So I was trying to see if there are better solutions, as it felt like a problem people might have come across themselves.
Thank you. I just put the call with !
, I don’t necessarily want a macro solution. Any solution is acceptable, my requirement is that I can just keep adding more mods with functions in src/functions/
and not have to register each function.
Inventory seems like the solution I am looking for. Although in my case, instead of collecting different values of the same type, I want to collect different types that all have same trait. But maybe I can make a temporary struct with Box<dyn _>
member to collect it if trying to collect it directly doesn’t work. I do not plan to support WASM. I am planning to make C/C++ and Python API for the libraries though, so if it has problems with them, then I might have a problem.
I guess yeah. In that condition the algorithm would probably destroy all universe. Although you might be able to set a threshold and not destroy when it is over the threshold.
But situation where you don’t know the answer is not for this algorithm as this one came from sorting problem.
It’s not fun when you have to explain it. But basically it is based on the infinite multiverse theory. Since the multiverse splits whenever you make choices, in this case the program would spawn a large number of multiverses each with different combinations of those bits, which means at least one of them would have the exactly the combination we want. If the program destroys the multiverse it is in after it determines it is not correct, only reality that remains is the one with correct combination of bytes. Making it that we will get the code we want on the first try.
Just ask if it’s correct. If not destroy the universe. Only The correct will survive, it’s O(1)
M-x M-c butterfly
That’s not how tax brackets should work. But sadly for last year’s state tax I came across it. [Example numbers] Previously I had 24,200 annual salary but zero tax as it was below 25,000. Even though personal deductions are 10,000, below 25 was considered too low to tax. This year, due to a mistake from employers I was paid for two weeks retroactively, now I have 25,300. Instead of taxing 300 above 25,000 the tax was for 15,300 after deduction. So I had to pay taxes which decreased the money below 25,000 which should not happen if income below 25,000 pays no tax.
And considering there might be things like not qualifying for financial assistance and other things when you cross 25,000 (again example numbers), the actual benefit of making slightly below that, is higher than making slightly above that…
So the system is putting a resistance to overcome poverty. Either you start making double of what you are making, or stay on your lane. Because trying to improve your situation by only a little is harmful.
Underscore to delineate different parts, hypen to delineate words.
Like: my-resume_draft.pdf
And to make it consistent and easier to reuse parts for project names and such, I have a command line utility written for it. It caches the parts and uses a template system (support for generating current datetime in parts)
Available here (is in AUR too):
I wouldn’t say that. For primitives yeah, day or two. But if you want to build a proper program, it’ll take time to get used to it. For my first few projects I just used clone everywhere. Passing by reference and managing lifetimes, specially when writing libraries is something that takes time to get used to. I still don’t feel confident.
Besides that I do like Rust though. Sometimes I feel like “just let me do that, C let’s me”, but I know it’s just adding safety where C wouldn’t care.
First of all, in many cases, writing new code is lot easier than trying to modify/salvage old code from someone else. Unless you can just plug it in for a modular function in that case your code is not useless.
And if they think your code is valuable enough to save that many people after they improve it, they can approach you for dual license or other agreements. They pay people with patent all the time, so they can do the same for people who’s volunteering their time for open source.
Publishing it under GPL does benefit the humanity because any improvement on it will be also available to everyone. Letting corps take your work and put a monetary/legal block for people to use freely doesn’t seem like benefiting humanity that much.
Yeah. I’m just worried when extractor fails they put it in discard pile, or human pile which’ll delay my application by a lot.
Ocular shows a warning ⚠️ this file requires new version of adobe acrobat DC, press ok to download latest version or see your system administrator.
I was thinking that exact thing lol. I’m like, yes ‘distributions’ are distributing new softwares with the new kernel.
And the improvement in desktop environments does feel like a good improvement considering the user is interacting most with it.
Or maybe I’m just apathetic to these things because most things I care about my distribution are that it provides me a good package manager for external and self made programs. And everything else is just programs installed through said package manager.