While we have opened up community creation for users, please refrain from misusing the feature.
Also, as specified in our code of conduct, try to avoid personal attacks. @Lmaydev@programming.dev
While we have opened up community creation for users, please refrain from misusing the feature.
Also, as specified in our code of conduct, try to avoid personal attacks. @Lmaydev@programming.dev
Please refrain from using slurs and disparaging people for no good reason on our instance.
The person has previously been warned to stop posting links to the site. They’ve now been given a temp ban, if that doesn’t deter them, they’ll be given a permanent ban and we might ban the site from our instance.
Please refrain from using personal insults in this community. You’re free to express your opinion, but personal insults does nothing but make the community more toxic. c/programming is a gathering ground for both inexperienced and experienced programmers, so this level of lashing out is uncalled for.
Appreciate the offer, but we want to try to avoid another situation with reports not being seen by mods for weeks.
Added as moderator
Added as a moderator, we will likely add at least one more if there are more volunteers showing up.
programming.dev will migrate over to (lemmy compatible) Sublinks once it’s ready, which will feature a different set of mod features. For that reason we will need new moderators to have an active programming.dev account. If you’re willing keep an active user account on our instance let me know. We would prefer people we know will actively use their mod account to make sure reports are handled in a timely manner.
Personally I would recommend to use regex instead for parsing, which would also allow you to more easily test your expressions. You could then get the list as
import re
result = re.findall(r'[\w_]+|\S', yourstring) # This will preserve ULLONG_MAX as a single word if that's what you want
As for what’s wrong with your expressions:
First expression: Once you hit (
, OneOrMore(Char(printables))
will take over and continue matching every printable char.
Instead you should use OR (|
) with the alphanumerical first for priority OneOrMore(word | Char(printables))
Second expression. You’re running into the same issue with your use of +
. Once string.punctuation takes over, it will continue matching until it encounters a char that is not a punctuation and then stop the matching.
Instead you can write:
parser = OneOrMore(Word(alphanums) | Word(string.punctuation))
result = parser.parseString(yourstring)
Do note that underscore is considered a punctutation so ULLONG_MAX will be split, not sure if that’s what you want or not.
And if Google went nuclear and starts embedding the ad into the videos themselves?
I don’t have any experience with pipx and personally prefer to just skip the .toml and place the whole pyprojectsetup in setup.py.
With that method, I would write inside setup()
packages=find_packages() # Include every python packages
package_data={ # Specify additional data files
'yourpackagename': [
'config/*'
etc...
]
}
This would however require you to have a package folder which all your package files/folders are inside, meaning the top level repo folder should not have any files or other folders that you want to distribute. Your MANIFEST.in looks fine.
If you believe it’s an bug with our instance, try making a post over at !meta@programming.dev . Posting here is unlikely to grab the attention of an admin unless the post gets reported (which it did). Before that though, look up if isn’t just the more likely scenario of a general lemmy bug/quirk caused by mismatched lemmy versions, etc…
I don’t believe for one bit that windows will move to a pure subscription based model. They are greedy, but not stupid.
What’s more believable is that the base OS will be the same as usual, but if you want fancy AI assistants in your OS, you must subscribe, with the justification being that MS must pay for the servers running the models you’re using.
if Valve isn’t selling at a loss to poorer regions then they are simply extracting additional profit from higher-income regions on the assumption that those customers can afford it.
Valve can’t sell for a loss the same way ebay can’t. Valve simply takes a percentage of the price everytime a game is bought, publishers are in complete control of the price they want to sell. Often, publishers will let Steam automatically set regional pricing based e.g. the American price though.
The way these publishers operate, they will simply set the price at the highest possible value to extract as much as money ad they can from those willing to spend 60+$. Those unwilling or incapable of spending that amount of money, will just buy the game later on a sale. Price skimming has only become more and more prevalent in PC gaming with steam being the “innovator” of frequent sales.
Yes I did read it. I was pointing out that all this will do is screw over citizens of poorer EU countries. India vs USA was simply to make it obvious why the concept of geo blocking makes sense. Germans will on average have stronger buying power than someone in Latvia.
Steam is a storefront, not a competitor to game publisher. It’s effectively no different than Lidl agreeing to run a regional rebate program for Samsung TVs in Latvia for whatever reason.
The geo blocking enabled cheaper prices for certain countries, not higher. The only people who would have an issue with it is people from richer countries that for some reason are jealous of lower prices in some countries.
Localised pricing is good though? Is it really fair ask someone in India to pay the same price as an American? If you can’t geo block keys, you can’t stop people taking advantage by using a VPN to buy games from whatever country got the lowest price. The result will just be publishers keeping the high price for every country, screwing poorer regions over.
Also, what they did wouldn’t really qualify as price fixing.
Valve won’t break the law for other publisher’s profits. Steam is just a store front, they were geo blocking on behalf of other publishers.
Valve also doesn’t take a cut from steam key sales not bought directly through their storefront, so the geoblocking keys isn’t something that will impact them. More likely, this will result in citizens of poorer EU countries getting screwed over by having to pay higher prices for games, since they can’t stop EU citizens from taking advantage of buying the game from the poorest EU country.
Nynorsk supporters just never quit do they. Half the country wants it gone and less than 10 percent of the country uses it, still it’s on the list while Swedish and Danish aren’t, lmao.
from typing import Union
is what you’re looking for, but yes, I’d argue you should try to avoid that kind of pattern, even if it’s convenient.
@jnovinger@programming.dev
Just a reminder that we sent you a DM some time ago, but have yet to receive an answer. Happy cake day :)
-The admin team