• 0 Posts
  • 30 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • By using the AST? Do you really not know how languages work? I mean seriously, this is incredibly basic stuff. You don’t need to know the type to jump to the ast node location. Do you think that formatters for dynamic languages need to know the type in order to format them properly? Then why in the world would you need it to know where to jump to in a type definition!?!

    Edit: also in the case of Ruby, the entire thing runs on a VM which used to be YARV but I think might have changed recently. So there’s literally bytecode providing all the information needed to run it. I highly recommend reading a book about how the Ruby internals work since you seem to think you understand but it’s quite clear you don’t, or for some reason think “jump to” is this magical thing that requires types.







  • Maybe other Ruby code is better, but people always say Rails is the killer app of Ruby so…

    I’ve literally never heard anyone say that…

    That only works if you have static type annotations, which seems to be very rare in the Ruby world.

    no. it literally works for any ruby code in any project. you do not need static type annotations at all. I can tell you’ve literally never even tried this…

    Well, I agree you shouldn’t use Ruby for large projects like Gitlab. But why use it for anything?

    because it’s a fantastic scripting language with a runtime that is available on almost every platform on the planet by default (yes most linux distributions include it, compared to something like python which is hardly ever included and if it is it’s 2.x instead of 3.x). It’s also much more readable than bash, python, javascript, etc. so writing a readable (and runnable everywhere) script is dead simple. Writing CLIs with it is also dead simple, while I think Python has a few better libraries for this like Click, Ruby is much more portable than Python (this isn’t my opinion, this is experience from shipping both ruby and python clis for years).


  • You’re talking about rails. That’s like saying Kotlin is a terrible language because your only exposure to it is with something that decided to use Glassfish Webfly Swarm and Camel.

    type annotations

    You can literally follow code perfectly fine in an IDE like RubyMine. It actually works much better than Python because Ruby is incredibly consistent in its language design, while Python is an absolute mess (same with JS. Try opening a large Python or JS project in PyCharm or WebStorm).

    No clue what you’re talking about with grepping though. Use an IDE like I said and you can literally just “Find all usages” or “Jump to declaration”, etc.

    In any case, you shouldn’t be using any of these for large projects like gitlab, so it’s completely inconsequential. Saying something like “Java is terrible, have you ever used it for a CLI? It’s so slow it’s impossible to do anything!” is idiotic because of course it is. That’s not what it’s built for. Ruby is a scripting language. Use it for scripting. It kicks Python’s ass for many reasons, JS is terrible for scripting, and while you can use something like bash or rust, the situation is incredibly painful for both.

    None of this has absolutely anything to do with the language design. You’re talking about language design and equating it to being terrible and then saying it’s because you don’t use any sort of tools to actually make it work.





  • I wonder why anyone would downvote you. to break down what you said:

    The primary problem is using agile all the time instead of when it is actually intended to be used

    this applies to everything in life. zero reason to downvote this unless you’re a zealot who doesn’t understand nuance

    short term work that needs to be done quickly by a small team that are all on the same page already.

    the whole point of agile is to be short term, maybe your downvoter thinks that the team doesn’t need to be on the same page??? don’t know how that is in any way a good idea. it means you haven’t done a good job communicating…

    Some parts of it are still helpful as part of a blended process, like more collaboration with the customer and responding to change, but those can easily derail a project if not everyone is on the same page through scope creep or losing sight of long term goals.

    anyone that disagrees with this hasn’t actually gone through with Agile according to all the tenets. It sucks for anything more than the tiniest projects that don’t need long term maintainability. I’m guessing this is where someone disagrees, but I can’t fathom why. Maybe they’ve only worked at one place, they think it actually is working, yet haven’t been there long enough to see the downsides or something.





  • someone commented on the article and better explained what is going on.

    This is a classic case of someone demonstrating themselves as being victimized in an effort to get others to sympathize with them. All the while, creating artificial ill will towards a vendor.
    
    Imagine the horror of a company trying to run a sustainable business model where they return a profit???!!!
    
    I read this and I see someone that's portraying their role in the situation as "we've done nothing wrong and they want to make us pay $120K to continue doing business." This requires peeling back the layers of the onion to see where the fault truly lies.
    
    Since you’re openly sharing domains/emails of who you spoke with at the vendor, surely you could share the domains you using for your business.
    
    If it’s a casino, it should be something we could go look at and become a customer of, right?
    
    I mean...who doesn’t love a little online gambling in the middle of the night, right?
    
    Why not come clean with the details of what they observed you doing to level the playing field?
    
    This following statement is utter BS and IMHO, discredits anything else you've shared:When we told them we were also in talks with Fastly, they suddenly "purged" all our domains, causing huge downtime in our core business, sleepless nights migrating away from CF, irreparable loss in customer trust and weeks of ongoing downtime in our internal systems.”
    
    Clearly your talking to Fastly had nothing to with your domains being purged.
    
    Your domains were purged because you were in violation of terms of service. Not because you were talking to a competitor.
    
    "Your account and domains were brought to our attention following intelligence of your account being involved in domain rotation activities, namely, activities to evade or otherwise circumvent blocks being placed on you by a third party."
    
    In other words, you allegedly knew there were attempts by third parties to place the Cloudflare owned IPs associated with your account on block lists. Cloudflare detected said alleged activities carried out by your organization to circumvent them from being added to block lists.
    
    And of course, this is all being done with IP addresses that belong to Cloudflare - not to you.
    
    Anyone that understands how Cloudflare works knows their IP address space is shared across all of their customers. I would hope they would care a lot about the reputation of their IP address space.
    
    Any actions that put their IP addresses at risk subsequently puts their other customers at risk.
    
    Had you been using BYOIP all along, this probably would not have even been an issue and you probably would still be on their platform.
    
    But BYOIP is only available to customers on an Enterprise plan so it isn't cheap.
    
    I guess it's a calculated risk on your part. What is the cost to your organization if it was blocked vs. the cost to your organization for services that provide you with the ability to do what you need with your own addresses?
    
    The email from support on 05/03/2024 informed you that you had 48 hours to provide them with what they requested or discontinue the activities:
    
    "Usage of Cloudflare services for this purpose is strictly prohibited, and we would request you provide information as to what your account and domains are being used for within the next 48 hours. Note that your account may be terminated should you fail to respond, or otherwise react to this notice."
    
    Based on what support said, they would have purged your domains on May 5th, had they followed what they said they were going to do.
    
    The log you shared show your domains were purged on 05/16/2024 - 13 days after the day they reached out to you.
    
    They were actually very generous seeing as how they provided an additional 11 days to get things under control and to move you to a plan that was more in line with your actual utilization and requirements.
    
    They kept up with their commitment until they determined you were in violation of the terms of service.
    
    Once you violate terms of service, it doesn’t matter who the provider is, the provider has every right to shut you down.
    
    This is all too typical. Most people do not realize how much bandwidth, infrastructure, colocation facilities, R&D, support, etc. cost. Even on a Business plan for $250/month I would have to think they were losing money on your account.
    
    Anyone can spend time going through the Cloudflare subreddit and read of the horrors of how they treated someone on a Free ($0)/Pro ($25)/Business ($250) plan.
    
    Pricing is not based sheerly on the amount of bandwidth consumed or data transferred. There is a wide range of factors that influence the price.
    
    It would be interesting to see what services Fastly required you to sign up for. Or how long you last on Fastly should you end up violating their TOS.
    
    Hopefully your risk management team has a contingency plan in place in the event that you get booted from Fastly as well.
    
    I don't think any of us want to see you go additional sleepless nights!