[-] jim@programming.dev 18 points 1 month ago

The complainant suggested other manga to replace the series such as Chainsaw Man, To Your Eternity, and The Seven Deadly Sins among others.

lol

[-] jim@programming.dev 11 points 1 month ago

Do you use it? When?

Parquet is really used for big data batch data processing. It's columnar-based file format and is optimized for large, aggregation queries. It's non-human readable so you need a library like apache arrow to read/write to it.

I would use parquet in the following circumstances (or combination of circumstances):

  • The data is very large
  • I'm integrating this into an analytical query engine (Presto, etc.)
  • I'm transporting data that needs to land in an analytical data warehouse (Snowflake, BigQuery, etc.)
  • Consumed by data scientists, machine learning engineers, or other data engineers

Since the data is columnar-based, doing queries like select sum(sales) from revenue is much cheaper and faster if the underlying data is in parquet than csv.

The big advantage of csv is that it's more portable. csv as a data file format has been around forever, so it is used in a lot of places where parquet can't be used.

[-] jim@programming.dev 10 points 2 months ago

They're asking for TV manufacturers to block a VPN app in the TV. Not to block VPN in general.

[-] jim@programming.dev 23 points 2 months ago

Please read this and try again.

https://www.gnu.org/philosophy/free-sw.en.html#packaging

Rules about how to package a modified version are acceptable, if they don't substantively limit your freedom to release modified versions, or your freedom to make and use modified versions privately. Thus, it is acceptable for the license to require that you change the name of the modified version, remove a logo, or identify your modifications as yours. As long as these requirements are not so burdensome that they effectively hamper you from releasing your changes, they are acceptable; you're already making other changes to the program, so you won't have trouble making a few more.

[-] jim@programming.dev 9 points 2 months ago

Password managers support passkeys.

[-] jim@programming.dev 22 points 9 months ago

Yes it can be an issue because the GPS doesn't know where you are and thinks you are on an aboveground street. Freeway tunnels can have multiple exits too.

[-] jim@programming.dev 10 points 1 year ago

I've turned off the bot for now.

[-] jim@programming.dev 17 points 1 year ago

Ah yes, I'm sure the formal training received by doctors, nurses, lawyers, teachers, and engineers is just an over-hyped "education" that can all be replaced by online MOOCs.

There are real problems with education, especially with the costs, but "anything can be learned online" is the worst take I've heard in a long while.

[-] jim@programming.dev 9 points 1 year ago

The first way to use it is with any type annotation: you just use it for documentation.

# int annotation
def add_1_to_number(x: int) -> int:
    return x + 1

# callable annotation
def printer(x: int, func: Callable[[int], int]) -> None:
    results = func(x)
    print(f"Your results: {results}")

These type annotations can help document and make editors parse your code to make suggestions/auto-complete work better.

The second way to use it is by creating a callable. A callable is an abstract base class that requires you to implement the __call__ method. Your new callable can be called like any function.

class Greeter(Callable):

    def __init__(self, greeting: str):
        self.greeting = greeting

    def __call__(self, name: str):
        print(f"{self.greeting}, {name}")


say_hello = Greeter("Hello") # say_hello looks like a function
say_hello("jim")  # Hello, jim
[-] jim@programming.dev 9 points 1 year ago

I feel the opposite. We should have mandatory voting for all federal general elections. Treat it like jury duty or taxes - voting is a civic duty. You should be compelled to cast a ballot even if you leave it blank because you have no preference.

Of course, this can only workwith automatic voter registration and 100% mail-in ballots.

12

Here's a hypothetical scenario at a company: We have 2 repos that builds and deploys code as tools and libraries for other apps at the company. Let's call this lib1 and lib2.

There's a third repo, let's call it app, that is application code that depends on lib1 and lib2.

The hard part right now is keeping track of which version of lib1 and lib2 are packaged for app at any point in time.

I'd like to know at a glance, say 1 month ago, what versions of app is deployed and what version of lib1 and lib2 they were using. Ideally, I'm looking for a software solution that would be agnostic to any CI/CD build system, and doubly ideally, an open source one. Maybe a simple web service you call with some metadata, and it displays it in a nice UI.

Right now, we accomplish this by looking at logs, git commit history, and stick things together. I know I can build a custom solution pretty easily, but I'm looking for something more out-of-the-box.

1
submitted 1 year ago by jim@programming.dev to c/seattle@lemmy.world
[-] jim@programming.dev 12 points 1 year ago

I think Tumblr's brand just got ruined. They were known for their nsfw material and now they don't know what else to do with their lack of users.

[-] jim@programming.dev 50 points 1 year ago

I don't want to victim blame here, but both "Logan Paul" and "crypto" together is just screaming scam. That being said, I hope the victims get their money back, though from the article, I doubt it'll be anytime soon if at all.

1
submitted 1 year ago by jim@programming.dev to c/memes@sopuli.xyz
0

Trying to make web applications federated is a popular effort. Examples include things like the “fediverse”, as well as various other efforts, like attempts to make distributed software forges, and so on. However, all of these efforts suffer from a problem which is fundamental in building federated applications built on top of the web platform.

The problem is fundamentally this: when building an application on top of the web platform, an HTTP URL inherently couples an application and a resource.

1
submitted 1 year ago* (last edited 1 year ago) by jim@programming.dev to c/meta@programming.dev

The sidebar for our instance has a broken link for programming.dev - it links to https://programming.dev/programming.dev

2
2

I generally don't like "listicles", especially ones that try to make you feel bad by suggesting that you "need" these skills as a senior engineer.

However, I do find this list valuable because it serves as a self-reflection tool.

Here are some areas I am pretty weak in:

  • How to write a design doc, take feedback, and drive it to resolution, in a reasonable period of time
  • How to convince management that they need to invest in a non-trivial technical project
  • How to repeat yourself enough that people start to listen

Anything here resonate with y'all?

1
submitted 1 year ago by jim@programming.dev to c/manga@lemmy.ml
1
submitted 1 year ago by jim@programming.dev to c/news@beehaw.org
view more: next ›

jim

joined 1 year ago