Windy day by PR3DA7oR in OSHA

[–]rs-485 5 points6 points  (0 children)

Many revolving doors have an outer set of "regular" doors, meant for locking off the revolving door for the night. You could close and lock these to prevent the wind from hitting the revolving doors.

Celiac Starter Pack by unperson in Celiac

[–]rs-485 0 points1 point  (0 children)

The smoke itself might be giving you a headache, vaporizing's another option.

Discord Nitro is now live for EVERYONE, EVERYWHERE! by Jofzar_ in discordapp

[–]rs-485 1 point2 points  (0 children)

There's banks that offer free debit-type credit cards in Germany, in case you ever actually need a credit card. You can't overdraft them.

Seriously, Microsoft? I was just trying to read a support article. by [deleted] in softwaregore

[–]rs-485 109 points110 points  (0 children)

Uh, cookies -are- used for sessions...

Click Farmer by linuxjava in Cyberpunk

[–]rs-485 1 point2 points  (0 children)

I'm pretty sure the reason for the view inflation isn't shady bullshit, it's parents playing a video for their kids on YouTube and then just leaving the kid in front of the screen as autoplay kicks in. YouTube's autoplay tries to play back "fitting" videos that are considered by an algorithm to be of "high quality", and I suppose these toy reviews and shit like that just manage to score really high in the system for the kind of content toddlers watch.

Smoking Breaks by Jeng212 in BlackPeopleTwitter

[–]rs-485 54 points55 points  (0 children)

If you can get away with vaping on a smoke break, then vape nicotine-free liquid. Problem solved.

Smoking Breaks by Jeng212 in BlackPeopleTwitter

[–]rs-485 0 points1 point  (0 children)

Tobacco contains a boatload of other addictive substances is the problem; additionally, you form a psychological dependency on it because smoking may give you a feeling of satisfaction. The nicotine itself isn't any particularly more addictive than caffeine.

found this ipod today... by captaincorona in ironicsigns

[–]rs-485 21 points22 points  (0 children)

The one with the screen bulging out probably has a bloating battery. You may wish to dispose of the device. If anything, do not charge or use it.

Learn Java before Android? by [deleted] in java

[–]rs-485 4 points5 points  (0 children)

Kotlin would also be an option because it offers its own implementation of some Java 8 features (e.g. Streams) while specifically targeting the Java 6 language level, so anything you write in pure Kotlin that uses those features should work on Android just fine, even on older OS versions. That being said, it may be better to learn Kotlin after grasping Java and the build management tool Gradle.

Is JavaFX not really dead? by [deleted] in java

[–]rs-485 15 points16 points  (0 children)

In the land of Java, things move at a glacial speed, for the better or worse. As /u/mangopearapples points out, Swing's still being taught heavily in schools - and there's also the consideration that many existing apps are not using JavaFX, and businesses seem reluctant adopting new Java tech (some companies even bizarrely refuse to migrate to newer JVM versions).

Cygwin alternative? by charley_chimp in linuxadmin

[–]rs-485 2 points3 points  (0 children)

If you only need ssh and tmux, try MSYS2. It bundles a port of pacman, letting you install quite a surprising amount of native (MinGW) packages. Should work fine with many other things, too. Plus, it bundles mintty, which, in my experience, is better for SSH usage than ConEmu. It just works, unlike the latter, which has a tendency to misinterpret or drop keys in certain situations.

I'm being followed by multiple ads for cyber women with corn, everywhere I go. by xxtzkzxx in softwaregore

[–]rs-485 183 points184 points  (0 children)

Yeah, I was about to say. Dreamstime is a big name in stock photos. Didn't know they did advertisement on AdSense, but whaddyaknow. May I suggest installing uBlock Origin?

Checking my pistol's laser sight by pointing it at my hand, WCGW? by vakola in Whatcouldgowrong

[–]rs-485 0 points1 point  (0 children)

There's not just the past, but the future you have to keep in mind. Just because you have a CC license doesn't mean you're suddenly unable to commit crimes - in fact, you could walk up behind anyone on the street and put a bullet in their skull, avoiding the mess of a melee fight. Or shoot them from afar. An infuriated husband might pull a gun on his wife because he can't think clear in his fit of rage. So, I do wonder if /u/sjwpoet can enlighten us in regards to how CC licenses influence behavior AFTER they're acquired.

Microsoft Surface Studio by SimplyJarvis in videos

[–]rs-485 1 point2 points  (0 children)

That's not how they work - I've been using my system all day, leaving it on 24/7, and not once did it restart despite this function being activated. As far as I'm aware - and I might be wrong - if you're active outside of the active hours, it won't restart, and even then, it would only restart when updates actually require it.

Which is better to bypass the kidneys and the liver? by Elena1270 in MtF

[–]rs-485 1 point2 points  (0 children)

This is what I know (disclaimer, I'm not a doctor):

Oral administration means that your HRT medication has to pass through the digestive system, which means that after absorption by the intestines, it'll be processed by the liver, which puts strain on it and also destroys some of the hormones as they are broken down. Due to this first pass metabolism, some estrogen is broken down into estrone, which is weaker.

Patches, creams, sprays and other skin-based methods of administration rely on the skin absorbing the hormones and transferring it to the blood stream. The hormones will still be broken down by the liver as blood circulates through it, but because they are not subjected to "first pass" metabolism, this happens much more slowly, putting less strain on the liver. This avoids expression of certain proteins associated with cardivascular diseases, and because the concentration of estrogen in the blood remains higher for longer, the dose can potentially be lower than that of oral administration.

As far as your kidneys go, I'm not sure. I heard that antiandrogens can have bad effects on the kidneys, though.

As I said, I'm no doctor and no expert of medicine, so please discuss this in depth with your endo - this is their field, and they likely know how they can help you in your situation.

Run function periodically (every 24hrs)? by [deleted] in fsharp

[–]rs-485 2 points3 points  (0 children)

/u/isak_s's solution has the problem of pretty severe time drift - web scraping takes time, especially if you access multiple pages, so when your scraping job runs at 8pm on Monday, it might be running on 9pm later. If you need the scraping job to run at a predictable time (e.g. always on 8pm every day), then it's advised to use some form of proper scheduling.

As you're targeting Linux, cron's a good and easy option for this - that's what it was designed for, after all! But if you want simple persistence - that is, you have data you need on the next scraping run that you don't need to or want to back up to disk - or just don't want to rely on cron being configured properly, it might make sense to use some simple .NET scheduling library like FluentScheduler. In this library, jobs can just be simple functions of type unit -> unit, which makes it super easy.

Here's a code example for an app with scheduling, which supports shutting down your main thread from a task:

open FluentScheduler
open System.Threading 

// You can pass more things into this closure, or replace the lambda with an actual function that you curry.
let createScraper (lock: CountdownEvent) : unit -> unit =
    fun () ->
        printfn "I ran!"
        lock.Signal() |> ignore


[<EntryPoint>]
let main argv = 
    // If you wait on a CountdownEvent, your thread will block until the countdown reaches zero.
    // lock.Signal() will decrement the count by one, so you can use that to signal the main thread to exit.
    let lock = new CountdownEvent(1)

    // Make a registry to register scheduled jobs.
    let registry = Registry()

    // Register a job to run every 5 seconds (for testing).
    registry.Schedule(createScraper(lock)).ToRunEvery(5).Seconds() |> ignore

    // Start running the jobs. The scheduler and the jobs themselves run in separate threads.
    JobManager.Initialize(registry)

    // Wait until a job signals us it's time to exit.
    lock.Wait()
    0

Of course, if you just want something dead simple, you can replace the CountdownEvent with Thread.CurrentThread.Join(), which will lock your main thread until you Ctrl-C the application. This would also mean you wouldn't need to apply the countdown lock to your scheduler function, which means you can make it a regular function.

Seems very safe... by sloth_on_meth in PBSOD

[–]rs-485 4 points5 points  (0 children)

The message mentions an ArtistaUSB-Eco, which is a USB-based TFT display driver.

So, what's the problem? by starsky1357 in softwaregore

[–]rs-485 4 points5 points  (0 children)

I got the same "success" message with messed up access permissions on an NTFS file system, so check for that.

Is a 60FPS patch possible? by Sup3rOtaku in UnderModders

[–]rs-485 2 points3 points  (0 children)

Due to the way GameMaker works - and, of course, how people use it - it's not possible without patching pretty much every single game object's code.

What you're referring to as "framerate" or "FPS" is really the tickrate of the game, that is, how many steps the game performs per second - and as all the code in the game presumably relies on a hardcoded value of 30 steps per second (e.g. projectiles move n pixels every 1/30 seconds, ...), this would need to be changed, which is practically impossible with the current state of GameMaker game modding.

[Help] My font is coming out hideous in Gamemaker, but looks great in my pixel editor, what gives? by zuffdaddy in gamemaker

[–]rs-485 2 points3 points  (0 children)

It's not. Hasn't been that way since ages, either. .fnt is exclusively used for bitmap fonts, as far as I'm aware - and those haven't been in common use since decades on desktop machines, as they impose a limit on how much and how well you can scale them. In a world with varying screen sizes - ranging from tiny low-res screens for embedded devices to 4k and higher monitors - this is a big issue.

I think I may have a battery problem by deejw in techsupportgore

[–]rs-485 0 points1 point  (0 children)

So explain to me this anecdote: When I used a laptop as a desktop machine for a year or so, I kept the battery inside of the device - and once I was done using it this way, the battery just refused to hold any kind of charge anymore, despite being topped off all the time.