Information Technology

[C#] [Unity] Any way to detect a different method being called without using Events or Delegates?

Learn Programming - 7 hours 13 min ago

Not a Unity specific question, but is there a way to detect method being called without the use of delegates or events. I don't feel like I need to bother my self with delegates because of one specific interaction.

Example: I want the HP bar and HP number to update when even the any target loses or gains HP. Is there a way for me to detect when my TakeDamage() or ReceiveHeal() methods are called so I can update the HP bar and the number?

submitted by /u/123skh123
[link] [comments]

Post-Cody Wilson’s arrest, few know what’s up with his company or legal efforts

Ars Technica - 7 hours 13 min ago

Enlarge / At Defense Distributed's nondescript space among the North Austin business parks, it was business as usual on September 21, 2018. (credit: Nathan Mattise)

AUSTIN, Texas—On the surface, everything appears to be normal at Defense Distributed, the firearms company founded by 3D printed guns activist Cody Wilson. Employees have been reporting to work as usual. Sales of the Ghost Gunner and the related 3D-printed gun files on a USB stick continue. And the Defense Distributed team has been working to fulfill those just like any other week.

But of course, it hasn't been just any other week for the Austin company. On Wednesday, September 19, an arrest warrant was issued for Wilson related to his alleged sexual assault of an unnamed underage girl. And on Friday, September 21, Wilson was arrested in Taipei, Taiwan. He flew to the country roughly two weeks earlier, and the Austin Police Department said that Wilson had skipped his return flight to the US after they believe the man received a tip about the allegations.

So while business at Defense Distributed rolls along at the moment, the company founder likely faces criminal charges upon returning to his home city. And that means Wilson could be effectively out at Defense Distributed.

Read 18 remaining paragraphs | Comments

The Morning After: Weekend Edition

Engadget - 7 hours 14 min ago
Hey, good morning! You look fabulous. Welcome to your weekend! We have the iPhone XS review you've been waiting for, plus some shocking news from Telltale Games.

$500-$600 USA

  • Total budget and country of purchase: $500-$600 USA

    • Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply. Best specs for money
    • How important is weight and thinness to you? Not very important, as long as it's portable
  • Which OS do you require? Windows, Mac, Chrome OS, Linux. Windows

  • Do you have a preferred screen size? If indifferent, put N/A. Nothing above 15.6in

    • Are you doing any CAD/video editing/photo editing/gaming? List which programs/games you desire to run. Mostly school work (Google's office suite) and light Gaming
    • If you're gaming, do you have certain games you want to play? At what settings and FPS do you want? Team Fortress 2, Fallout NV and 4, Terraria, Skyrim, newer triple A titles. Medium-High if possible at as high as fps as possible
    • Any specific requirements such as good keyboard, reliable build quality, touch-screen, finger-print reader, optical drive or good input devices (keyboard/touchpad)? finger print reader is a want but not a deal breaker and reliable build quality
  • Leave any finishing thoughts here that you may feel are necessary and beneficial to the discussion. Would prefer at least a 1tb hard drive and at least 8gigs ram

submitted by /u/Aech40
[link] [comments]

I woke up to the dark Google Now theme.

Android - 7 hours 20 min ago

https://imgur.com/rPWEdQh

Pixel 2 XL running Android 9 (PPR2.180905.005)

submitted by /u/sier0038
[link] [comments]

Need help choosing between Asus Tuf series, acer nitro 5 and acer predator helios 300.

Since all three of these have a cofiguration consisting I5-8300h 1050ti 8gb 200mhz 128gb ssd

Which one of them does perform better?

submitted by /u/sarthak13
[link] [comments]

Getting better together.

Learn Programming - 7 hours 43 min ago

I would like to achieve a lot of stuff the next 2 years before I graduate and I don't have good motivated peers around me. I have this ambitious 2 year goal of self-study in Computer Science so that I could get a job right out of College.

But I'm afraid that because it's just me, I would maybe procrastinate or maybe go off track with my goals. So I thought of having a goal buddy so that we could discuss our progress each week through Email or Skype and keep check on each other's progress. I found this to be extremely helpful during my remote internship where we had calls to discuss progress and I was extremely efficient during that time. I believe it would be much better than going through this alone.

I would love to do this because sharing and talking always help me calm down and to get a bearing on things. If anyone here has like a 1 year - 2 year plan on any kind of CS, Programming related goal and would like to do weekly once or twice progress check with me, please let me know. We could help each other get better, please DM me :)

submitted by /u/tatallynote
[link] [comments]

Buying a new one

I recently broke my laptop. Can anyone suggest some laptop priced under 1500$ with some decent spec.? I need it for games like KSP, Factorio or Software Inc.

Minimum: CPU:No less than 2 Gigahertz GPU:Maybe something as good as a GTX1050 Battery life:Decent Screen: either 720 or 1080, idc RAM: 4+4

Any help will be appreciated with a papa bless. Thanks.

submitted by /u/vn_boi
[link] [comments]

Weekend Reading: Scary Tales from the Server Room

Linux Journal - 7 hours 44 min ago
by Carlie Fairchild

It's always better to learn from someone else's mistakes than from your own. This weekend we feature Kyle Rankin and Bill Childers as they tell stories from their years as systems administrators. It's a win-win: you get to learn from their experiences, and they get to make snide comments to each other. 

We also want to hear your scary server room stories. E-mail us, publisher@linuxjournal.com, with yours (just a few sentences or even a few paragraphs is fine), and we'll publish every one we receive on October 31...spooky.

 

Tales From the Server Room: Zoning Out

by Kyle Rankin and Bill Childers

Sometimes events and equipment conspire against you and your team to cause a problem. Occasionally, however, it's lack of understanding or foresight that can turn around and bite you. Unfortunately, this is a tale of where we failed to spot all the possible things that might go wrong.

 

Tales from the Server Room - Panic on the Streets of London

by Kyle Rankin and Bill Childers

"I was now at the next phase of troubleshooting: prayer. Somewhere around this time, I had my big breakthrough..."

 

It's Always DNS's Fault!

by Kyle Rankin and Bill Chliders

I was suffering, badly. We had just finished an all-night switch migration on our production Storage Area Network while I was hacking up a lung fighting walking pneumonia. Even though I did my part of the all-nighter from home, I was exhausted. So when my pager went off at 9am that morning, allowing me a mere four hours of sleep, I was treading dangerously close to zombie territory...

 

Unboxing Day

by Kyle Rankin and Bill Childers

As much as I love working with Linux and configuring software, one major part of being a sysadmin that always has appealed to me is working with actual hardware. There's something about working with tangible, physical servers that gives my job an extra dimension and grounds it from what might otherwise be a completely abstract job even further disconnected from reality. On top of all that, when you get a large shipment of servers, and you view the servers at your company as your servers, there is a similar anticipation and excitement when you open a server box as when you open Christmas presents at home. This story so happens to start during the Christmas season...

 

 

 

Go to Full Article

Laptop for college, Ireland.

  • Total budget and country of purchase: <= €1300, Ireland.
  • Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply.

Good battery life is essential. 2 in 1 would be nice but would not pay a lot extra for them.

  • How important is weight and thinness to you?

Extremely, looking for one which I can carry around all day and not have an aching back. Also love the aesthetic of the slim laptops, such as the XPS 13. Aesthetics play a large part of the decision making process.

  • Which OS do you require? Windows, Mac, Chrome OS, Linux. Windows or Mac.
  • Do you have a preferred screen size? If indifferent, put N/A. 13.3" to 14" (not 15.5" or higher)
  • Are you doing any CAD/video editing/photo editing/gaming? List which programs/games you desire to run.
    As I am a law student, it will be mainly microsoft office which i will be using along with google chrome, many tabs open at a time. Will also use for Netflix and spotify.
  • If you're gaming, do you have certain games you want to play? At what settings and FPS do you want? N/A
  • Any specific requirements such as good keyboard, reliable build quality, touch-screen, finger-print reader, optical drive or good input devices (keyboard/touchpad)?

  • good keyboard with backlight is extremely important.

  • good build quality for the given price.

  • decent battery life.

  • Good thermal dissipation performance (should not blow up if I push it too hard :D )

  • Finger print scanner would be nice but also not mandatory.

  • Needs to look nice, quite like the look of Dell XPS 13.

  • Leave any finishing thoughts here that you may feel are necessary and beneficial to the discussion.

was considering a microsoft surface laptop for €1150 and also dell xps 13 for €1300 however I am no expert on their quality and reliability. So I believe this sub will help me put my mind at rest by suggesting a laptop/notebook that I can rely on.

submitted by /u/SuperGucci7335
[link] [comments]

Ecuador wanted to make Julian Assange a diplomat and send him to Moscow

Ars Technica - 7 hours 58 min ago

Enlarge / Julian Assange, the founder of WikiLeaks, gestures from the balcony of Ecuador's embassy in London. (credit: Jack Taylor/Getty Images)

Last year, Ecuador attempted to deputize WikiLeaks founder Julian Assange as one of its own diplomats and send him to Russia, according to a Friday report by Reuters.

Citing an "Ecuadorian government document," which the news agency did not publish, Assange apparently was briefly granted a "special designation" to act as one of its diplomats, a privilege normally granted to the president for political allies. However, that status was then withdrawn when the United Kingdom objected.

The Associated Press reported earlier in the week that newly-leaked documents showed that Assange sought a Russian visa back in 2010. WikiLeaks has vehemently denied that Assange did so.

Read 13 remaining paragraphs | Comments

Apache Proxy for other port over HTTPS

Hi,

I've setup Oxidized with LibreNMS to make backups of my routers. Now does Oxidized run on port 8888 on HTTP.

I'd like to make this HTTPS over port 443.

Unfortunately my knowledge is far too little of Apache to even think of what to search for. Would someone mind pointing me in the right direction?

Thank you in advance!

submitted by /u/Ramshield
[link] [comments]

1500$ laptop for programming and occasional gaming

  • Total budget and country of purchase:

1500$, Romania

  • Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply.

Best specifications for the money

  • How important is weight and thinness to you?

A little important, I would prefer a lighter laptop as i have to carry it around University, but I also want a decent screen size

  • Which OS do you require? Windows, Mac, Chrome OS, Linux.

Windows and Linux, bt it's not relevant

  • Do you have a preferred screen size? If indifferent, put N/A.

about 15.6 inches

  • Are you doing any CAD/video editing/photo editing/gaming? List which programs/games you desire to run.

Gaming, but nothing to hardcore.

  • If you're gaming, do you have certain games you want to play? At what settings and FPS do you want?

Not pretentious when it comes to it.

  • Any specific requirements such as good keyboard, reliable build quality, touch-screen, finger-print reader, optical drive or good input devices (keyboard/touchpad)?

Not really

  • Leave any finishing thoughts here that you may feel are necessary and beneficial to the discussion.

I'm a programmer and I need to be able to build and run programs as fast as possible, at work I have a Dell that's way over my price range and it still takes 15 minutes to build the project we're working on. I looked after laptops and currently have two options but I'm open to suggestions: Asus ROG GL503GE and Lenovo Legion Y720. Which of these would be better?

submitted by /u/mallowshal
[link] [comments]

Looking for laptop around $1500.

• Total budget and country of purchase: Budgets flexible, but was aiming at about $1500. Currently based in Shanghai, but will relocate to Korea early next year (gives some concern about any potential warranty issues).

• Do you prefer a 2 in 1 form factor, good battery life or best specifications for the money? Pick or include any that apply. Not too bothered about 2 in 1. Battery life not a deal breaker as I'll be using mainly at home or office (I also have a company laptop). Decent specs would be a plus. I keep everything backed up on portable hard drives, so huge storage isn't going to be an issue.

• How important is weight and thinness to you? Lightweight and thin is preferable.

• Which OS do you require? Windows, Mac, Chrome OS, Linux. Definitely Windows.

• Do you have a preferred screen size? If indifferent, put N/A. N/A

• Are you doing any CAD/video editing/photo editing/gaming? List which programs/games you desire to run. Only game I ever play (very occasionally) is Football Manager

• If you're gaming, do you have certain games you want to play? At what settings and FPS do you want? See previous

• Any specific requirements such as good keyboard, reliable build quality, touch-screen, finger-print reader, optical drive or good input devices (keyboard/touchpad)? I would like something that looks good (metallic chassis perhaps). Good build quality, and touchscreen would be good to try, never used it before.

• Leave any finishing thoughts here that you may feel are necessary and beneficial to the discussion. Mainly used for internet, watching tv/movies with occasional work use thrown in. Work consists of reviewing multiple drawings in PDF format, reports on Word and also using Excel.

I've been doing a bit of research and like the look of the Zenbooks and also the Huawei Matebook X Pro, but open to any other suggestions.

I'd most likely be purchasing at an OEM store, as it's a little difficult getting Amazon to deliver to China.

As I mentioned earlier, one of the main concerns of buying here is if there's a potential issue with warranty repairs in another country (maybe someone can put my mind at ease)

submitted by /u/spunkylips
[link] [comments]

New discovered letter by Galileo resolves puzzling historical mystery

Ars Technica - 8 hours 9 min ago

Enlarge / The original letter in which Galileo argued against the doctrine of the Roman Catholic Church. (credit: Royal Society)

Renowned astronomer Galileo has been lauded for centuries for his courageous principled stance against the Catholic Church. He argued in favor of the Earth moving around the Sun, rather than vice versa, in direct contradiction to church teachings at the time. But a long-lost letter has been discovered at the Royal Society in London indicating that Galileo tried to soften his initial claims to avoid the church's wrath.

In August, Salvatore Ricciardo, a postdoc in science history at the University of Bergamon in Italy, visited London, searching various British libraries for any handwritten comments on Galileo's works. He was idly flipping through a catalogue at the Royal Society when he came across the letter Galileo wrote to a friend in 1613, outlining his arguments. According to Nature, which first reported the unexpected find, the letter "provides the strongest evidence yet that, at the start of his battle with the religious authorities, Galileo actively engaged in damage control and tried to spread a toned-down version of his claims."

“I thought, ‘I can’t believe that I have discovered the letter that virtually all Galileo scholars thought to be hopelessly lost,’” Ricciardo told Nature. “It seemed even more incredible because the letter was not in an obscure library, but in the Royal Society library.”

Read 13 remaining paragraphs | Comments

Epson's latest LCD projector does 4K for $2,000

Engadget - 8 hours 12 min ago
If you need another option for a 4K projector that won't completely break the bank, Epson recently introduced this Home Cinema 4010. Like the BenQ HT-2550 projector we reviewed earlier this year, it's doing a bit of trickery to hit that 4K-resolution...

Website for my "online" resume

Learn Programming - 8 hours 12 min ago

Hi all,

I have recently started looking at C#, Python, HTML and JavaScript and I would like to create my own website in HTML for storing/accessing any apps/programs I write. I would like to use this as dynamic resume for future employers to see what I can do.

Is it as simple as signing up with AWS (or some other host)? Will I be limited to using their tools? Can I just write my own HTML and upload it?

I am in the UK if anyone wishes to recommend a service?

Thanks

John

submitted by /u/Ofrex35
[link] [comments]

Enable/disable VPN web using Spotify

I've just downloaded Tasker, so I'm completely new to this. If you could be as noob-friendly as possible in your responses I would appreciate it.

My phone plan includes free data for Spotify streaming, but with my VPN turned on the data will be indistinguishable from everything else.

I want to set up easier to turn off my VPN when I'm using Spotify, and preferably turn it back on when I close it. My VPN is Avast Secureline.

If anyone could talk me through setting this up, I would be very grateful.

Thanks!

submitted by /u/AudreyHelpburn
[link] [comments]

Pages