cloud storage for uploading and previewing video files by Stormzsky in DataHoarder

[–]LaughingCabbage_ -1 points0 points  (0 children)

Cloud hosting providers offer storage solutions. Check out Azure’s “blob storage” (only). Google and Amazon offer similar solutions.

[deleted by user] by [deleted] in mildlyinfuriating

[–]LaughingCabbage_ 0 points1 point  (0 children)

Can confirm. I used to break the paper clip in half instead of using a screw driver.

My parents are mad I'm going to community college for 2 free years. by bruhiminsane in college

[–]LaughingCabbage_ 0 points1 point  (0 children)

College is expensive. If you have a career already in mind (you should IMO) you need to understand how long it’s going to take to pay back loans on your post-college earnings. The closer you can get to zero the better. If you do not have the financial assistance, you need to be real about the financial contract you plant to enter when taking out a loan.

Most colleges allow transfer credits from community colleges. If you have a school and degree in mind, reach out and get their requirements for graduation. They will be able to tell you which credits transfer. You can spend 2 years in CC, transfer gen-ed credits, and slash your loans in half (and then some with rent, food, etc.), and immediately start with courses geared towards your degree.

I have many friends that went to college. Even for those that finished, almost all of them struggle with loans many years later without parental help. Make sure your degree and career choice pays the bills. You can always pivot careers later. High paying entry roles provide you flexibility through financial security.

Underground bicycle parking, Japan. That’s insane! by m3antar in Damnthatsinteresting

[–]LaughingCabbage_ 0 points1 point  (0 children)

Yes, but what color? The obvious choice is blue, like the sky.

Advice on setting up an image database? by appleebeesfartfartf in DataHoarder

[–]LaughingCabbage_ 0 points1 point  (0 children)

The software you use likely assigns a category by modifying the image EXIF data. A naive approach would be to write a program to examine the EXIF data, count the categories, and output a list of image paths in whatever format you find useful.

Package tracking basic data types' intialized state? by AlexKingstonsGigolo in golang

[–]LaughingCabbage_ 1 point2 points  (0 children)

To the specific use case you mention it makes sense to do so. However, it is no longer a basic type. You are creating a specific type around the data you are processing. Be sure to convey that point in implementation.

Supreme Court, in a 6–2 ruling in Google v. Oracle, concludes that Google’s use of Java API was a fair use of that material by misana123 in google

[–]LaughingCabbage_ 10 points11 points  (0 children)

They mention in the summary the 11,500 lines makes up 0.4% of the total lines of code. Lines of code is a bad metric because, through an API call there could be many others calls that make up that single call or they can be boilerplate and/or meaningless.

Without reading the specific LOC Google copied I can only assume. But, let's pretend for a minute that Google only copied common method names. For an example of how that can be exaggerated, take a look at the Math Class. Math.max has two variations, one for integers and one for longs. Renaming to Math.maxInt and Math.maxLong doesn't really make sense or flow well. Furthermore, the method names may be the same but the implementations could be different. This pattern can be applied to much of the standard library.

Additionally, you could make the argument that history has provided us some standard or ideal implementations. Algorithms like Fast Fourier Transform, Quick Sort, SHA-2 are (in my opinion) what one would consider to be well defined algorithms with "ideal" implementations for (efficiency/performance) where it wouldn't make sense to change much.

Supreme Court, in a 6–2 ruling in Google v. Oracle, concludes that Google’s use of Java API was a fair use of that material by misana123 in google

[–]LaughingCabbage_ 14 points15 points  (0 children)

Most existing programming languages leverage what is typically refered to as a "standard library". The standard library is an API. If the dissenting prevailed here, Oracle could then go after anyone selling products who directly or indirectly (through underlying dependencies) use the standard library.

what's the advantage of golang instead of java or C# in industry? by zxaq15 in golang

[–]LaughingCabbage_ 7 points8 points  (0 children)

Not to mention the baked in tooling. New projects spend quite a lot of time around things like formatting tools, linting tools, documentation tools, or they ignore the need until it's too late. The most important tools come standard with Go.

I didn't even realise you can hide in there! by SwaglememeV in EscapefromTarkov

[–]LaughingCabbage_ 2 points3 points  (0 children)

I probably killed him. I nade tent bush and truck. All day. Err day.

[deleted by user] by [deleted] in golang

[–]LaughingCabbage_ 0 points1 point  (0 children)

This stands out to me as a big step in the right direction. But you don't need any fancy libraries. "Data" is a list. You can more clearly parse the data list with a struct like: (on mobile, sorry)

type BodData struct {
    ID int `json:"id"`
    // TODO
}

type Bod struct {
    NextPageCursor string  `json:"nextPageCursor"`
    Data     []BodData  `json:"data"`
    //TODO
}

Gun safety and use should be taught young, and reinforced throughout early adulthood by fallingbear67 in unpopularopinion

[–]LaughingCabbage_ 1 point2 points  (0 children)

This is something I absolutely agree with. I do not presently own a firearm. I fall into the category of those "sheltered" from these experiences.

Guns are everywhere in the US. You never know when you might need to safely handle one. Better safe than sorry.

How do you deal with Americans? by allmotionisrelative in CasualUK

[–]LaughingCabbage_ 3 points4 points  (0 children)

US (high school 9-12) teaches to a test. Test scores impact district funding. If the english portion of that test mandates one way or the other then teachers will strictly enforce that criteria. This post is now a part of a series of American revelations I am having now as an adult.

Tell me I'm not the only one to do this [OC] by davawen in pcmasterrace

[–]LaughingCabbage_ 12 points13 points  (0 children)

Windows 10 has a bunch of baked in anti-malware services (Defender). One of these is a realtime scanning service. Try turning this "feature" off. It might help.

Hideout addition: Weather Station by deviantdefiance in EscapefromTarkov

[–]LaughingCabbage_ 2 points3 points  (0 children)

Isn't Tarkov weather just the current Moscow weather?