PSA for Debian Testing users: read the wiki
https://wiki.debian.org/DebianTesting
Control-F security
returns 18 results. This is well known and there’s even instructions on how to get faster updates in testing if you want.
I like programming and anime.
I manage the bot /u/mahoro@lemmy.ml
PSA for Debian Testing users: read the wiki
https://wiki.debian.org/DebianTesting
Control-F security
returns 18 results. This is well known and there’s even instructions on how to get faster updates in testing if you want.
My thought was that a lawsuit is more expensive than arbitration, but settling a class action lawsuit is cheaper than thousands of arbitrations.
Took me a sec.
Haha, I’ve been waiting for the 4K/8K reference in this volume. Poor Anna.
TIL this exists
I also like the POSIX “seconds since 1970” standard, but I feel that should only be used in RAM when performing operations (time differences in timers etc.). It irks me when it’s used for serialising to text/JSON/XML/CSV.
I’ve seen bugs where programmers tried to represent date in epoch time in seconds or milliseconds in json. So something like “pay date” would be presented by a timestamp, and would get off-by-one errors because whatever time library the programmer was using would do time zone conversions on a timestamp then truncate the date portion.
If the programmer used ISO 8601 style formatting, I don’t think they would have included the timepart and the bug could have been avoided.
Use dates when you need dates and timestamps when you need timestamps!
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):
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.
They’re asking for TV manufacturers to block a VPN app in the TV. Not to block VPN in general.
Hadn’t realized what a banger this season is for me as a SOL/RomCom lover. Just caught up with Makeine, Alya, and Gimai Seikatsu. I’ll probably pick up Giji Harem after it all airs. I usually watch 4-5 shows per year, so having 4 in one season is great.
Dude, if you’re being obtuse on purpose because you have an ax to grind against Rust, try a different approach. You’re not getting anywhere, clearly by the fact that no one agrees with you.
If you don’t like that Rust has a restricted trademark, then call that out instead of trying to label the software and it’s license as non-free. It’s literally called out in my source that name restrictions ipso facto does not violate freedom 3.
But if you genuinely believe that the implementation of the Rust language and it’s trademark is burdensome to create a fork, and you want people to believe you, then you gotta bring receipts. Remember, the benchmark that we both quoted is that it “effectively hampers you from releasing your changes”. It being “not a piece of cake” doesn’t cut it.
Hint: Google Rust forks since their existence also undermines your claim.
Good luck.
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.
If you are being intentional about its use, then you can get a lot out of it. But for some, maybe even most, YouTube is a distraction.
I disagree. I think the default option should be what users expect, and users expect “copy” to do exactly that: copy without modifying the text.
I’ve turned off the bot for now.
Just because you can get part of your education remotely or through self-learning didn’t mean “anything can be learned online”.
And if you were hiring a math tutor for your kid, would you prefer a self-proclaimed expert from watching YouTube videos or would you want someone who got a degree from a credentialed university? And even if you don’t care, why are you surprised that others would be skeptical of the YouTube expert?
Remote learning can be fine for some things, and self learning through informal channels are also fine, but it’s not a full on replacement for formal education in all cases.
No sorry, that’s just fundamentally false. You can’t just learn titration techniques from watching a video. You can’t learn phlebotomy without an instructor watching you do it to a patient. Hell, you aren’t learning how to drive a car from playing a video game.
And I’m not sure where you are pulling the “if you are that powerful” from. You really have an ax to grind don’t you.
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.
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
This and the last episode were kind of weak, to be honest. I think both of them could have been combined. The pacing was a bit too slow compared to the rest of the season.
This is a classic piece, and I love the contradictions in the text. It encapsulates my feelings on good software and code that it almost becomes an art than a science.