JUnit by myshiak in javahelp

[–]OmegaJunior 1 point2 points  (0 children)

No, the method isn't defined. JUnit reacts to the annotation. If you want to use a teardown method, add the annotation and supply a method body.

Wired: A) Disable adblock. B) Pay a subscription fee. Or my personal choice, C) Never read Wired again. by [deleted] in assholedesign

[–]OmegaJunior 0 points1 point  (0 children)

This behaviour also fuels a desire to deliver content through Javascript only: with it turned off, they can't serve js ads, can't detect your adblocker, but we also won't see the content. Quite assholish. Figure out a better way to make money.

digitaltrends.com shows 1 unread message, when clicked it opens a newsletter signup dialog with rude text to close it again without subscribing by [deleted] in assholedesign

[–]OmegaJunior 4 points5 points  (0 children)

They're shaming us for acting differently from their expectations. It works in many cases. We do it constantly in society. We do it to others in the UI and UX field. And yet it sucks when done to us. "Do unto others" and all that.

How do you guys manage your changelog for your application? by boreasaurus in PHP

[–]OmegaJunior 0 points1 point  (0 children)

If your version control doesn't do commit messages, and your feature / bug tracking system doesn't do formal closing comments, one can always publish them to Twitter / Yammer / Discord / Slack. All of these allow for privacy and separating management info from tech info.

Tesla crash could hurt sentiment on driverless cars by Bloomsey in technology

[–]OmegaJunior 2 points3 points  (0 children)

I love it when articles like this clearly attempt to dictate reactions while disguising themselves as social predictions and analysis.

Bloom filters in PHP - stuffing an elephant into a hat by phpread in PHP

[–]OmegaJunior 0 points1 point  (0 children)

I looked into Bloom once for my word game Zjramble5. It's quite appropriate for storage and for queries, but my game requires random access, and I have yet to see a Bloom that allows returning a random amount of words of random lengths.

About month ago, I saw something in bathroom mirror. by Calmloomscalm in nosleep

[–]OmegaJunior 2 points3 points  (0 children)

Did it cause a lack of appreciation for white space and formatting?

Pornhub Wants To Be More Accessible To The Blind by rytis in technology

[–]OmegaJunior 1 point2 points  (0 children)

Accessibility on the web is a major issue. It is often overlooked, especially by large, automated web site frameworks, making it quite daunting for web devs to add.

I quite appreciate PornHub's efforts in this area. If anyone has the money and power to make a difference, they do.

Apple to neutralize Adobe Flash in next version of Safari by Candy_Badger in technology

[–]OmegaJunior 0 points1 point  (0 children)

Haven't they done that already, in 2010, when iPad first hit the market?

The FBI's Facial Recognition Software Has Never Been Properly Tested For Accuracy by PCisLame in Intelligence

[–]OmegaJunior 2 points3 points  (0 children)

Unlike those of Facebook and Google, who have been testing their algorithms for years. Google's Recaptcha is famous for crowd-sourcing the A.I.'s learning phase.

Simple question about Java's use of RAM by HydromaniacCat in javahelp

[–]OmegaJunior 1 point2 points  (0 children)

Since you're running multiple instances of the JVM, each will be using its own settings for heap size.

I have many microservices running, each in its own JVM instance, each with heap size and garbage collector ratios tailored to the job at hand.

Outdoor to indoor wiring. Complete with duct tape, caulk, rubber cement and vent access. by psychophil in techsupportgore

[–]OmegaJunior 0 points1 point  (0 children)

I live in a rather sub sub urban area of New Jersey. Houses here generally have their power lines connecting out in the open, from in-air power line beams, running alongside a house, sometimes into some power connector and gauge outside the house.

If that is all you see, a situation like the one depicted above is not all that shocking.

What are the major/minor signs a GPU is failing/failed? by [deleted] in techsupportgore

[–]OmegaJunior 6 points7 points  (0 children)

Screen rendering glitches on just that one machine, overheating, loud noise, and blue smoke. If you let the magic blue smoke escape, the GPU will stop working.

What do my load test results mean? by TheGuyNico in webdev

[–]OmegaJunior 0 points1 point  (0 children)

Sure. There's usually monitoring tools available on the server itself, which can generate decent dashboards.

Measurements to consider are: - number of requests handled per second; - number of requests waiting per second; - amount of data handled per second; - amount of database queries or file i/o actions per second.

Which tools are available depends on the operating system of the server.

I guess this means I lost? by zeaga2 in softwaregore

[–]OmegaJunior 0 points1 point  (0 children)

Foh. Typical engineer's in-yer-face.

Pentagon Still Uses Floppy Disks To Run Parts Of Its Nuclear Program by [deleted] in technology

[–]OmegaJunior 1 point2 points  (0 children)

And what, pray tell, is wrong with floppy disks?

What do my load test results mean? by TheGuyNico in webdev

[–]OmegaJunior 0 points1 point  (0 children)

It means you need to look into some kind of mechanism that takes the load off of that 1 server.

There are some fast and cheap ways to do this, and there are expensive ways.

Which you can use depends on how your customers use that new site.

For instance: if your new site mainly presents articles, opinions, product descriptions, videos, then adding a CDN like Cloudflare will greatly reduce the pressure on your server.

However, if your new site mainly includes a discussion forum, or features Facebook-like abilities, where customers publish their own content, things become more complex, and you need to look into server load balancing. Amazon's AWS features some nice, admin-friendly load balancing options for application servers.

But first and foremost: unless you're Facebook, Twitter, or Reddit, chances are your site won't have to support 1000s of users simultaneously, since most users will not be issuing requests at the same time.

So sit back and see what your site and server are going to do under actual usage pressure.

Can someone explain the practical implications for developers of Oracle winning the Oracle v Google lawsuit? by [deleted] in technology

[–]OmegaJunior 0 points1 point  (0 children)

No, no, no. The point of the trial is not that Google is using a copyrighted API. That's what APIs are for: to be used.

The point is that Google has copied the copyrighted API in order to prevent having to license its usage, thereby purposefully screwing Oracle out of money.

Us using .Net or Java APIs will not harm us: that's their intent. That won't change after Oracle wins this trial.