Apple (iOS/Mac OSX)

Battle testing a ridesharing API and React Native’s MapView in Expo

iOS Programming - Thu, 11/15/2018 - 06:52

The author is experimenting with maps and API integration in React Native: https://medium.com/@marcelkalveram/c0ce5d50cbf0

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

iPhone XS: Just another £300 for a better cam- Wait, come back!

The Register - Thu, 11/15/2018 - 05:53
Did we mention the worse battery?

Real world review While the XR may be the best value notched iPhone that Apple is making today, some of its compromises may be too much for the target market of customers hanging on to their dated but perfectly functional hardware.…

The threat to your org's data lies betwixt chair and keyboard. Join us live on the internet for expert advice on tackling issue

The Register - Thu, 11/15/2018 - 05:43
Beware the trusted insider

Webcast If you like true crime stories, you already know that at the end the criminal is usually revealed to be someone the victim knew well.…

Nice one, former Cisco staff: Switchzilla is absolutely coining it

The Register - Thu, 11/15/2018 - 05:12
'Trump tariff' question hangs over immediate future

A week after announcing hundreds of layoffs, Cisco has turned in a set of financials for Q1 of fiscal 2019 that are ahead of analyst expectations.…

A new Raspberry Pi takes a bow with all of the speed but less of the RAM

The Register - Thu, 11/15/2018 - 04:30
A $10 saving cuts ports and memory from the Pi 3 Model A+ but keeps that quad core CPU

Like the Raspberry Pi 3 Model B+ but feel that the RAM is just a bit too big, the price too high or the ports too numerous? Fear not, for the spiritual successor to the original Model A+ is here.…

Openreach v Ofcom dark fibre legal bill bounced back to Competition Appeal Tribunal

The Register - Thu, 11/15/2018 - 04:15
Court of Appeal rules it's wrong to assume regulator should pony up for cases it loses

The Court of Appeal has ruled that legal costs from BT Openreach's dark fibre bunfight against UK telcos will be reconsidered by the Competition Appeal Tribunal.…

US China-watcher warns against Middle Kingdom tech dominance

The Register - Thu, 11/15/2018 - 03:01
5G, IoT, and tech supply chains should go under spotlight

Another US government panel has warned of the dangers of over-reliance on Chinese tech vendors: the US-China Economic and Security Review Commission.…

Just one Corretto, give it to me... AWS brews its own blend of Java with free long-term support

The Register - Thu, 11/15/2018 - 02:56
Post boasts cloud host's utmost roast

Amazon may be working to rid itself of Oracle database software, but the box-and-bit shifting biz can't get enough of Oracle's coffee-themed programming technology, Java.…

Douglas Adams was right, ish... Super-Earth world clocked orbiting 'nearby' Barnard's Star

The Register - Thu, 11/15/2018 - 02:03
Icy planet within cosmic spitting distance of humanity

A planet three times the size of Earth has been spotted orbiting Barnard's Star, one of the closest suns to our Solar System.…

I'm using a counter to switch between functions of button... else statement is being ignored - why?

iOS Programming - Thu, 11/15/2018 - 00:34

@IBAction func Clicked(_ sender: Any) {

var counter : Int = 0

if counter == 0

{

runTimer()

newNumberFunc()

print(newNumber)

counter += 1

}

else

{

timer.invalidate()

counter -= 1

}

}

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

List of Beginner Projects with use?

iOS Programming - Wed, 11/14/2018 - 21:55

I'm looking for a list of apps I can create as I progress in my learning but ideally apps that actually have value. Something that's useful rather than just a one-off BMI calculator, for example. Any suggestions or actual lists?

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

MVP hackathon.

iOS Programming - Wed, 11/14/2018 - 20:55

I’m looking for a hackathon or quick mvp service.

Anyone with experience finding a team for this ?

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

CISA's Palace: Congress backs new cybersecurity nerve-center for cyber-America's cyber-future

The Register - Wed, 11/14/2018 - 20:07
CISA heads off for Trump's signature – no, not that CISA, the good one

The US House of Representatives has unanimously passed a bipartisan bill that would create a new agency to lead the federal government's cybersecurity efforts.…

Oracle's JEDI mind-meld doesn't work on Uncle Sam's auditors: These are not the govt droids you are looking for

The Register - Wed, 11/14/2018 - 18:57
Federation snubs Larry Ellison's bid to break up $10bn winner-takes-all contract

Oracle's bid to halt the Pentagon's JEDI $10bn winner-takes-all cloud IT contract has been turned down.…

Hands up who isn't p!*$ed off about Amazon's new HQ in New York and Virginia?

The Register - Wed, 11/14/2018 - 17:38
Ok, we have Amazon. Anyone else?

Analysis If regulators ever do get around to reining in the ecommerce steamroller that is Amazon, this week's announcement of his new headquarters may be the spark.…

How do I properly increase an int value in my database if it is constantly changing?

iOS Programming - Wed, 11/14/2018 - 17:25

So I am using firebase. I basically assign each post a score that gets increased by 1 with every like. How do I grab that value and increase it if I have users constantly inc and dec it. My fear is if I query that value and increase it by 1, if the value is constantly changing due to a high amount of users on the app the value that was queried could have already been changed and when I set the new value when the like action is finished I would actually be setting the new score at a number that is way off. If that is confusing here is an example.

Say I have a million users on the app constantly liking and unliking posts so the scores are in a constant state of change.

If user A clicks the like button which queries the current score value in that millisecond which is 500 let's say.

The like action adds 1 to that and sets the new value at 501

However by the time the action is completed that value of 500 could have changed to 550 or 600 due to the high amount of users liking and unliking posts, and setting the new value at 501 could completely throw the score off

How do I prevent that type of situation

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

Another Meltdown, Spectre scare: Data-blabbing holes continue to haunt Intel, AMD, Arm

The Register - Wed, 11/14/2018 - 16:38
CPU slingers insist existing defenses will stop attacks – but eggheads disagree

Computer security researchers have uncovered yet another set of transient execution attacks on modern CPUs that allow a local attacker to gain access to privileged data, fulfilling predictions made when the Spectre and Meltdown flaws were reported at the beginning of the year.…

Pages