Jump to content

shadow_ray

Member
  • Posts

    398
  • Joined

Reputation Activity

  1. Informative
    shadow_ray reacted to zentada in LMG Sponsor Complaints   
    In the most recent video Double your FPS for FREE!\*\*\* - Nvidia DLSS 3.0, there is an ad spot for a company called Mine.
     
    Mine requires access to your entire email history, which is uploaded to their servers, so that they can go through each email to find services you signed up for.
     
    Aside from actually providing Mine with more sensitive data in emails than the data other companies hold of you:
    Several links are broken on the website linking to their privacy policy. They say the service is free on their site, but there are reviews of people saying things are paywalled after you give them your email history.  
    A third party requesting access to your emails should never be trusted. Not only have you likely shared sensitive and personal information with friends/family, but these services like Mine can send emails on your behalf. They now have the ability to reset your password for any site. I'm not saying Mine does this, but they and similar services certainly have the ability to. Which is why you should never authorize access to your emails.
     
    By using Mine's services you are giving up more personal data than you are reclaiming with them.
  2. Like
    shadow_ray reacted to Crad in Enhancing Twitter experience - When everybody is verified, no-one is.   
    I've never created a Chrome Extension before. Nor am I a JS developer. I just figured that this would be a fun little project, and maybe someone will like it or fiddle with it on their own.
     
    With the most recent events, especially adding buy-able verification checkmarks and sudden influx of impersonation accounts, I've decided that by getting rid of the checkmarks completely (or by giving them to everyone), the experience would be much better and nobody would feel left out by not shelling out 8 bucks for stupid blue checkmark.
     
    I've made this initially to completely remove them, but later on decided that it would be funnier to make every account verified. Unfortunately, Elon has announced that they'll be implementing new colours for government entities and media people. I'll hold off with adding any new features until those are added - there already is this damn "Official" note as "Verifiedest person" and I have yet to figure out how to mess around with this - I'm most inclined to just get rid of it completely, but who knows.
     
    Whole thing is completely open source (under WTFPL) so feel free to modify it however you want and install it as a developer. I found this to be quite an enjoyable entry project since it's rather small.
    Link to source code: https://github.com/rgryta/Verified-Bird
     
    If you think you would like it, but don't really want to mess with manual installation, I also published it on Web Store: https://chrome.google.com/webstore/detail/verified-bird/ljmlgobgmbddpldljkhejpcpjimmhjoc
     
    I'm open to any ideas to make Twitter more enjoyable. I've never really used Twitter before these recent events, but it has been tons of fun so far watching everything being lit on fire.
  3. Agree
    shadow_ray reacted to riklaunim in Where to start for game development with python?   
    There is limited emphasis on game development in Python. There is PyGame and few other libraries but most traffic (guides, tutorials, resources and tools) are for Unity and Unreal (C#).
     
    And don't expect to master anything faster than in few years at minimum. You can watch a guide for some simple showcase game, try to create something similar and hit a wall of actual complexity of game dev. And if you want to get a job later on - for Python it will be mostly web dev so you should know that. Plus if it's boring for you then I doubt you get  a job as for junior positions there is a lot of applicants. Bad code, lazy/lack of skill is first to get rejected.
  4. Agree
    shadow_ray reacted to wasab in What computer is satisfactory for programming?   
    Like i said, no official support. I can install linux on a windows microsoft pro or maybe a hackingtosh but just because it can doesnt mean you should do this to power your bussiness IT infrastructure. Big benefits of having big vendor behind them is precisly you can point finger and let someone else handle the mess should things go wrong. 
  5. Agree
    shadow_ray got a reaction from Eigenvektor in [python] how do i create a function that only runs 1 time?   
    just call the function once and it will only run once
     
    or use the hasattr function:
    def funcWithState(): if not hasattr(funcWithState, "cache"): print("this part only runs once") funcWithState.cache = "stuff" #put sutff into the cace during first call return funcWithState.cache; print(funcWithState()) print(funcWithState()) print(funcWithState()) Edit: this is the result:
    this part only runs once
    stuff
    stuff
    stuff
  6. Agree
    shadow_ray got a reaction from wanderingfool2 in [python] how do i create a function that only runs 1 time?   
    just call the function once and it will only run once
     
    or use the hasattr function:
    def funcWithState(): if not hasattr(funcWithState, "cache"): print("this part only runs once") funcWithState.cache = "stuff" #put sutff into the cace during first call return funcWithState.cache; print(funcWithState()) print(funcWithState()) print(funcWithState()) Edit: this is the result:
    this part only runs once
    stuff
    stuff
    stuff
  7. Informative
    shadow_ray got a reaction from TheInternet in What computer is satisfactory for programming?   
    I guess cloud storage and thumb drives don't exist in India.  /s
    You should disable usb and network connectivity on those machines as well.
     
    I can't tell if it's a fake question or not but I hope you are just sh¡tposting. Starting  a company in an industry you know little about.. well.. it's a good recipe for disaster (unless you find a competent person who can lead your company for you)
  8. Like
    shadow_ray got a reaction from WWicket in What computer is satisfactory for programming?   
    I guess cloud storage and thumb drives don't exist in India.  /s
    You should disable usb and network connectivity on those machines as well.
     
    I can't tell if it's a fake question or not but I hope you are just sh¡tposting. Starting  a company in an industry you know little about.. well.. it's a good recipe for disaster (unless you find a competent person who can lead your company for you)
  9. Funny
    shadow_ray reacted to TheInternet in What computer is satisfactory for programming?   
    That's not going to happen my dude. Here have a laptop. Then it's gone and so is your IP. 
  10. Agree
    shadow_ray reacted to WWicket in What computer is satisfactory for programming?   
    Okay - here is information. Rust is hard. Rust has an extremely small marketshare. The combination means (good) Rust developers are relatively highly-paid and hard to find. Rust is great, but Rust isn't a language you use without knowing why you are using it. 
     
    I have no issue with people not being experts. This is effectively: 'I am starting a 3PL business. We are going to be moving some things, some amount of distance, across some kind of terrain. Not sure yet or won't tell you. But I am planning on buying 50 vehicles and am wondering what kind I should get. I like hydrogen powered thing. I'm not really that up-to-speed on supply chain management or transport.'
  11. Funny
    shadow_ray reacted to TheInternet in What computer is satisfactory for programming?   
    If you don't know anything about programming it's not like people are just walking around trying to help you. They're not. I have no idea what I need. I just know what I want to do. I just started a company. I'm not going to go around telling everyone what I'll be doing. So yeah Rust because with some modest research anyone could tell you that you can't make an app with html and css. I figured I need about 10 people, not 50. I have to wait to talk to people that know what I don't. When was the last time you tried to do something you don't know and had to wait on people that could tell you what you don't know.
     
    Continue to call sus. I'm seeking information. If you have none keep calling sus.
  12. Agree
    shadow_ray reacted to Sauron in Simple C code would not compile because of matrix with variable length   
    Just to clarify - does the compiler give you a segmentation fault, or the program itself when you test it?
     
    Anyway this is pretty much the reason Windows comes with a Linux subsystem now; setting up build environments is a huge pain in normal Windows. If you have a cygwin installation have you tried compiling the program manually outside of vscode? it's possible the extension for vscode is misconfigured or bugged
  13. Like
    shadow_ray reacted to Paul Rudd in Warhammer Vermintide 2 FREE on Steam November 3rd   
    Warhammer Vermintide 2 is FREE right now on Steam.

    83% Very Positive reviews. Free to keep when you get it before Nov 7 @ 1:00pm.
     
    Not to be confused with last Novembers giveaway...
  14. Agree
    shadow_ray reacted to manikyath in Run Python Scripts on startup   
    just stick a shortcut to the python script in the startup folder?
  15. Agree
    shadow_ray reacted to dilpickle in Can it be that Desktops become 'Obsolete' for the average user?   
    Desktops became obsolete for the average user a LONG time ago. 
  16. Agree
    shadow_ray reacted to Coolmaster in Can it be that Desktops become 'Obsolete' for the average user?   
    I think Desktops are already going obsolete, their sales having been decreasing year over year. Most people just need a computer that can run a browser, which laptops can do perfectly fine and have the benefit of being portable and can use a dock to connect to desktop peripherals. And 90% of gamers are perfectly fine using a console. It's only really people who need the very best performance who need desktops, and a lot of professionals with intense applications have the heavy computing running on a company server.
     
  17. Agree
    shadow_ray got a reaction from nightmarevoid in Simple C code would not compile because of matrix with variable length   
    Interesting. What happens if you set the standard to -std=c99 or -std=c11 ?
     
    Edit: I compiled this code with gcc 11.3.0 under WSL (ubuntu) and it works just fine, but some versions of C only allow const size arrays.
  18. Agree
    shadow_ray reacted to Eigenvektor in Determining system requirements.:.   
    Hardware requirements are pretty much irrelevant for a small program like this, I wouldn't worry about it. If you want to make sure it's compatible with multiple Windows versions, you could try it out in a virtual machine. Or go the easy route and say "Tested on Windows 10, should be compatible with …, but hasn't been tested". You probably want a disclaimer like the "provided as-is" that the MIT license has at its bottom in any case: https://opensource.org/licenses/MIT
     
    Hardware requirements are mostly important for stuff that runs in the foreground (like a game) that consumes a considerable amount of resources. In that case you could test it on multiple hardware configurations to guess/estimate what hardware is needed to e.g. run at 60 fps with minimum details ("minimum") and what is needed to run at 60 fps with high details ("recommended"). In many cases these requirements are not something that's been rigorously tested, but rather something that's extrapolated based on performance of hardware that's on hand.
  19. Agree
    shadow_ray got a reaction from wasab in (VBS) Add program to startup folder?   
    The simplest solution is probably just to copy a shortcut file to the startup folder: C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
     
    The task scheduler can also do this.
  20. Agree
    shadow_ray got a reaction from maplepants in (VBS) Add program to startup folder?   
    The simplest solution is probably just to copy a shortcut file to the startup folder: C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
     
    The task scheduler can also do this.
  21. Agree
    shadow_ray reacted to C2dan88 in Python SQLite Auto Increment - 3 columns needed but 2 supplied   
    Specify the column names you are inserting values into
    INSERT INTO drugs (column1, column2) VALUES(?, ?) .....
  22. Agree
    shadow_ray got a reaction from Needfuldoer in (VBS) Add program to startup folder?   
    The simplest solution is probably just to copy a shortcut file to the startup folder: C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
     
    The task scheduler can also do this.
  23. Like
    shadow_ray got a reaction from RetroSmoo in Programmers Lounge   
    Performance of different programming languages often times comes up as a question on this forum so i think i should mention this video. A bunch of people spontaneously created a competition to beat a youtuber's code. One guy speed it up 40,832,277,770%, reducing the runtime from a month to 7ms. 😄
     
  24. Like
    shadow_ray got a reaction from mercurial in School Coding Help Java   
    I would overcomplicate this for no good reason as i always do 😄
     
    python version cuz it's shorter
    import math options = [{"name": "granola pack", "max": 2, "portions": 12}, {"name": "bear paw", "max": 10, "portions": 1}, {"name": "apple", "max": 420, "portions": 1}]; #almost infinite while True: n = int(input("peers: ")) remaining = n res = "Chaim needs to buy: " for o in options: ratio = remaining / o["portions"]; to_buy = min(math.ceil(ratio), o["max"]) #only whole amounts and no more than max remaining -= to_buy * o["portions"]; res += str(to_buy) + " " + o["name"] if(to_buy > 1): res += "s" if(remaining <= 0): break; else: res += ", " print(res)  
  25. Like
    shadow_ray reacted to wanderingfool2 in School Coding Help Java   
    Hey lol, you took a very similar approach to what I was going to suggest.
×