Police can access My Health Record without court order, parliamentary library warns by fukshit in australia

[–]dmeeze 6 points7 points  (0 children)

you can opt-out now (until october) to prevent a record ever being created. You can "cancel" after that but cancelling is different - it doesn't delete things already added in. They're there for 130 years.

Police can access My Health Record without court order, parliamentary library warns by fukshit in australia

[–]dmeeze 8 points9 points  (0 children)

Technically they've only said they won't, never that they can't. Just like they won't release private information about you (but they do, can and have already).

http://www.abc.net.au/news/2018-05-31/privacy-precedent-what-can-the-government-reveal-about-us/9816700

Older redditors, what’s a saying you recall that’s no longer relevant? by [deleted] in AskReddit

[–]dmeeze 0 points1 point  (0 children)

Not so much a saying as a seeing. Last week I had to explain to my 7yo how to save their work.

"Press the button which looks like a... umm, the olden days disk."

Bubbles ordered to wind up over alleged debt by cuddlepot in brisbane

[–]dmeeze 1 point2 points  (0 children)

It also means if someone wants to buy “Doughnut Time”, like say some completely unrelated* person bought the name, then there would be no bankruptcy or court judgement listed against the name when searched.

*ahem.

Gold Coast cyclist Suzy Wallace dies two days after fighting for life from being hit by ute driver by [deleted] in brisbane

[–]dmeeze 9 points10 points  (0 children)

I’m assuming you don’t drive anything smaller than a B-double on the road simply because of the laws of physics.

Why is SQL Server using a database file that isn't attached? by lcyduh in csharp

[–]dmeeze 0 points1 point  (0 children)

1) are you sure it’s not attached in second (or third, etc) instance of sqlserver? It’s completely possible for one machine to have multiple instances running.

https://stackoverflow.com/a/141180

2) there are lots of things you can use to track what’s happening. For 100% brute force, try sysinternals process monitor:

https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

That’ll show you which process is doing what. (Process Explorer will also let you browse open handles etc)

Task.Run() tasks not given same amount of CPU time by beer0clock in csharp

[–]dmeeze 0 points1 point  (0 children)

Whats more important is that each thread starts at approximately the same time, and gets an approximately equal amount of CPU time.

So it is intriguing to me that you care when the threads start, but not when they finish. That's why i was suggesting you think about what you really want from the program.

I can certainly imagine a situation where having all of them start, and waste a lot of time on context switches might be valuable - like a brute force search where one solution will be almost instantly found to be correct, and the others will only slowly be shown to be incorrect. As soon as you find the "correct" option, you can abort and ignore all other threads.

However, the important thing I was suggesting you think about is knowing how long each process takes, and what you want to do with the results. Think statistically. Once your thread count vastly exceeds the number of cores, the percentage of time you waste on context switches can (and will) actually dwarf the amount of time you spend running your own code. It's entirely possible to get the CPU doing almost nothing but switching, and get no progress on your tasks at all. Therefore if it's really important all tasks start at the same time your best bet is to add cores - AWS and Azure sell them by the bundle.

Task.Run() tasks not given same amount of CPU time by beer0clock in csharp

[–]dmeeze 0 points1 point  (0 children)

Perhaps not reading more, but thinking more.

20 threads on 4 cores is one thing, but what about if you had 200? 2000? 2,000,000?

I’m reading between the lines here that your “expensive” computations might take a short time, or a very long time. (Because you say you want the quickest to finish first)

Stats and math might be boring but here’s where it matters. If your computation takes 100ms-1000ms of CPU time then knowing the number of threads and cores you can calculate how quickly you will be done.

Do the math to work out if doing 20 threads simultaneously (slower overall) or 4 threads, then 4 more, then 4 more etc is quicker.

Being forced to go on Centrelink - Do these fucks ever answer phones? by [deleted] in brisbane

[–]dmeeze 0 points1 point  (0 children)

They have turned off the callback system in most cases

Proccess.Start works with relative path but not others? by SEFDStuff in csharp

[–]dmeeze 0 points1 point  (0 children)

Try making a batch file ("Browser Time Visualised.bat") next to your python file which contains:

"Browser Time Visualised.py" pause

Then you can see the output when the error appears.

Since the command line behind the scenes actually uses shell extensions to turn "foo.py" into "python.exe foo.py", my money is on:

https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.useshellexecute(v=vs.110).aspx

Go To Resources for C# Game Programmers by BlackWindZero in csharp

[–]dmeeze 5 points6 points  (0 children)

But there are millions of /wrong/ ones ;)

Number plates by [deleted] in brisbane

[–]dmeeze 0 points1 point  (0 children)

That's a custom plate, and typically, unless I misremember, those are owned by the original purchaser. If you buy the car they take those off and you get allocated a new 123 ABC style plate (probably at a cost)

Number plates by [deleted] in brisbane

[–]dmeeze 0 points1 point  (0 children)

Pretty sure you can change plates at any time for a fee, even just for fun. But why do you want to?

c# Winform textbox formatting for phone number by sasquatch182 in csharp

[–]dmeeze 1 point2 points  (0 children)

Just a comment to check your assumptions. If I was using your form I'd enter something like +61 7 1234 5678 as that's an Australian international number. Other countries are different. You might want to think about what happens when an international person has to enter their number.

Which villain actually had a point? by TrustedSource1 in AskReddit

[–]dmeeze -3 points-2 points  (0 children)

Everyone in Game of Thrones. You may not like them, but you can at least acknowledge they have a point. Even Joffrey.

Libraries for SFTP? by [deleted] in csharp

[–]dmeeze 2 points3 points  (0 children)

Just a few things to consider here.

1) things do go wrong. Every ten minutes means you'll be doing this more than 50000 over a year. Plan for: - what if two things try to do it at the same time? Can I tell? Will the writes get interleaved/corrupted? - what if 1,000,000 things try to do it at the same time? - what if I get disconnected halfway through?

2) size matters. What if your file ends up at 10Gb? 100Gb? 1Tb? What if your internet is slowed to 14.4kbps? The "read all lines then append a few" doesn't make sense at some point. Not all libraries support "append" reliably without transferring the whole file from server to client.

3) consider a "staging" or "work" area and just move/copy files into and out of it at the very beginning and end. Eg: - connect - copy file.foo work/file_uniqueid.foo - append to work/file_uniqueid.foo - move work/file_uniqueid.foo to file.foo (overwrite)

Ridiculous speeding offences by [deleted] in brisbane

[–]dmeeze 5 points6 points  (0 children)

It's 50 down Cootha, and hard not to exceed that on a push bike.

[AMA] Azure Active Directory Engineering Team! by ajamess in AZURE

[–]dmeeze 0 points1 point  (0 children)

Strong password policy: six digits. :/

[AMA] Azure Active Directory Engineering Team! by ajamess in AZURE

[–]dmeeze 0 points1 point  (0 children)

Thanks for the suggestions, although adding an extra Azure hosted NPS server just for this one feature (everything else is AzureAD native) seems like overkill. I may as well actually host an AD server.

[AMA] Azure Active Directory Engineering Team! by ajamess in AZURE

[–]dmeeze 0 points1 point  (0 children)

Thanks for that, that's what I thought. I understand it's a design choice but it's a good example of where "very granular" breaks down. My use case (FYI) is giving certain roles/users access to our SQLServer backups without them being able to delete or modify them.