Jump to content

infamoustrey

Member
  • Posts

    67
  • Joined

  • Last visited

Reputation Activity

  1. Informative
    infamoustrey got a reaction from mrchow19910319 in Components’ height cannot be manipulated (Materialize CSS)   
    .tabs { height: 100px; } .tab { height: 100% !important; } Seems to work for me.
  2. Funny
    infamoustrey reacted to WereCatf in Python return back   
    .....aaaand you never mention the error you get. Wow, that's very fucking useful.
     
    I assume it's that print-clause where I use an f-string. Well, that's easy to fix: just replace the print-clause with something else! The print-clause wasn't the point there, the point was demonstrating how declaring the variable before the loop fixes the issue.
     
    Also, quote people if you reply to them. I didn't know you had replied until just now, because you didn't quote and thus I never got a notification about it.
  3. Like
    infamoustrey reacted to WWicket in cache files   
    PS> Remove-Item -path c:\Users\* -include *cache*,*temp* -recurse -force -whatif Should be something like this... the '-whatif' will make it show you what it would have deleted so you can test it. Remove the '-whatif' to actually delete stuff. Will need to be run from Powershell with admin. priv.
     
  4. Like
    infamoustrey got a reaction from camjocotem in Professional Advice for Mid Level Developer   
    I think you nailed it.
  5. Agree
    infamoustrey reacted to Mira Yurizaki in Programming - GPU intensive things?   
    Let's take JPEG compression for example. You break up the image into 8x8 blocks (independent data sets) and perform two matrix operations on them to get the final result. The two matrix operations are the same for all of the 8x8 blocks that the image is compromised of. So if we have a UHD image (3840x2160) breaking this up into 8x8 blocks gives up about 129,600 blocks. So you have 129,600 blocks that need to have the same two operations performed on them.
  6. Agree
    infamoustrey reacted to Franck in VS 2019 Change Project titlebar color.   
    This is based of your current windows theme. You cannot change it by code. Your options are :
    - Change your windows theme to what you like
    - use WPF instead of Winform so you can control the look
    - use third party control that have custom winforms
    - create your own winform control from scratch
    - make your form borderless and draw the title bar manually 
  7. Informative
    infamoustrey reacted to Mira Yurizaki in Professional Advice for Mid Level Developer   
    I think job titles are more for HR and bean counters.
     
    If you want to advance your career, you kind of have to figure out what you want to get out of it. If you don't know, then you have to start seizing opportunities and responsibilities as they come available. And if none are available, then look at what you're doing, figure out what could be done better. The bare minimum is just making the product. But if you can leverage your experiences outside of that to help improve things both to your customer and to your colleagues, then hopefully someone's going to notice.
     
    Otherwise, don't expect to advance swiftly. Three years into the career is still pretty fresh.
  8. Agree
    infamoustrey reacted to DevBlox in Professional Advice for Mid Level Developer   
    Your manager isn't completely off with his answer, but I think he did evade the question a bit. These things are often just titles, I know some companies where Senior Developers completely lack the skill to be called Seniors, and some Mids that are very skilled, and deserve the title. I think that nobody really knows for sure, everyone has their own definition and you just go by feel. Then again, I'm nor a Recruiter nor a Manager. My own personal categorization/feel of this is:
    Juniors need guidance to carry out their tasks and learn Mids are perfectly capable to deliver on their own, able to grow on their own Seniors are what they should be - "wise men", knowing pros and cons of different approaches, should guide the team on a path of technical excellence, in both paths of process and implementation. It's all experience and knowledge. What I'm basically trying to say, there is no event or thing, after which *kablamo!* you're a Senior Developer. You just gradually get there.
  9. Agree
    infamoustrey reacted to elpiop in constantly adding a new element with js   
    use createElement
    https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
  10. Agree
    infamoustrey reacted to straight_stewie in Memory Management   
    Realistically, to an experienced developer it doesn't matter. On a desktop PC, only applications requiring the absolute highest performance can actually benefit from C type memory management, and even then, you need extremely experienced developers to not make the problem worse. Think writing a program that manages a section of memory using malloc/free to emulate a collection of arrays vs an actual collection of arrays created using the new operator. The first can be more performant if and only if there is a huge number of arrays and the developer is good enough to optimize it. The second is much easier to maintain, modify, and use.

    The tactic that most modern languages like C# or Java use is to show a programmers model where everything acts like it's on the free store (i.e uses the new operator). Then the compiler figures out whether to place things on the stack or in the free store. According to Eric Lippert, an ex developer of C#, the tactic that C# uses is to place everything that can possibly be placed on the stack, on the stack, regardless of how or where the object was initialized. Of course, that is the CLR stack, which is not necessarily implemented as an actual stack on the processor.
     
    With embedded systems, sometimes manual memory management is beneficial from a space consumption perspective, other times it's required because toolchains for languages other than C might not actually exist for that processor.
  11. Agree
    infamoustrey reacted to mariushm in Is there any way to automatically collect specific text from the internet?   
    You can download WIkipedia to your computer
    You can download books (legally) from Project Gutenberg  http://www.gutenberg.org/
    You can download loads of books and magazines and scientific material from Genlib (check menus, they have torrent dumps of all content, terrabytes of books and scientific material) : http://gen.lib.rus.ec/
     
    You can build a list of your favorite online newspapers and whatever and then use website downloaders to download the websites but it would take ages unless you rent a bunch of servers from Amazon for example and have each work on individual websites to speed things up.
     
    Python, php, even visual basic / free pascal are programming languages that are super easy to use to parse text and pages once downloaded and extract/separate etc
     
  12. Informative
    infamoustrey got a reaction from BLLDoesTech in Need help with a Python script   
    If you are just looking for rando image links try here
    https://picsum.photos/
     
    Discord uses oEmbed for slapping images in messages on their servers so that ref is here:
    https://oembed.com/
     
    Discord Docs:
    https://discordpy.readthedocs.io/en/latest/api.html#message
     
    Behold the power Google Fu young grasshopper
  13. Agree
    infamoustrey reacted to Unclescar in Major Australian telcos block access to Liveleak, 4chan & others   
    "we are punishing masses because of the misdeeds of a few"
  14. Informative
    infamoustrey reacted to yian88 in Over 2500 Windows games now run in Linux, thanks to Proton   
    The biggest linux problem for desktop is not what people think.
    These are the biggest issues i found with linux that if they are not solved linux cant evolve, thats what linux needs is evolution, not marketing or just games or just x, y,z software, linux needs to become a platform, not just a kernel with hacked togheter parts.
     
    https://itvision.altervista.org/why.linux.is.not.ready.for.the.desktop.current.html
     
     
  15. Agree
    infamoustrey got a reaction from ShrunkWisard98 in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  16. Agree
    infamoustrey got a reaction from Sfekke in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  17. Agree
    infamoustrey got a reaction from CR16 in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  18. Agree
    infamoustrey got a reaction from TheSLSAMG in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  19. Agree
    infamoustrey got a reaction from ARikozuM in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  20. Agree
    infamoustrey got a reaction from TheKDub in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  21. Agree
    infamoustrey got a reaction from EarthWormJM2 in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  22. Like
    infamoustrey got a reaction from sanfilippo12 in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  23. Agree
    infamoustrey got a reaction from TacoSenpai in Facebook allows NASA child slave colony on Mars posts   
    Agreed, it's up to the individual not a corporation with it's own sets of interests and agendas to determine which information is relevant and factual. If you believe everything you see on the internet, that's your own fault. It's basic common sense to take everything you see on the web with a grain of salt.
  24. Agree
    infamoustrey reacted to TacoSenpai in Facebook allows NASA child slave colony on Mars posts   
    I'll take the potentially unpopular opinion here.  Why should I let Facebook...no anyone for that matter tell me what is fake news?  Are they basically trying to tell the individual that they are incapable of doing that themselves and we need Big Brother Zucc to do it for us?
  25. Like
    infamoustrey got a reaction from Blademaster91 in Github about to be Miscrosofted?   
    Everyone needs to calm down. If Microsoft goes evil on this then another better service will arise, but more than likely this will result in more good than bad.
     
    Remember, its a free market.
×