mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 25 of 1000
Search took 0.49 seconds.
Search: Posts Made By: retina
Forum: GpuOwl 2020-10-25, 06:42
Replies: 35
Views: 659
Posted By retina
Why would I care? I don't care how many blank...

Why would I care? I don't care how many blank lines a file has. I just like things to work as expected. If it has a few extra blank lines in places, well so what? It's not like it is some sort of...
Forum: GpuOwl 2020-10-25, 03:55
Replies: 35
Views: 659
Posted By retina
wc can go jump in a lake. grep has it correct:~...

wc can go jump in a lake. grep has it correct:~ echo -n "hi" | grep -c ""
1
Forum: Soap Box 2020-10-24, 14:20
Replies: 341
Views: 19,855
Posted By retina
How does that solve the Apple thing though? If...

How does that solve the Apple thing though? If you run an external firewall then it becomes impossible to know which application is accessing which IP. Plus if the machine ever gets transported to...
Forum: Software 2020-10-24, 13:59
Replies: 15
Views: 186
Posted By retina
You need to see what works with your system. ...

You need to see what works with your system.

1 x 8 (1 worker using 8 threads) might be okay.

But also, 2 x 4 could be better.

Or some other combination like 3 x 2, or 1 x 6, or 4 x 2, etc.
...
Forum: GpuOwl 2020-10-24, 13:47
Replies: 35
Views: 659
Posted By retina
My conversation with wc: Me: Hey wc, how...

My conversation with wc:

Me: Hey wc, how many lines were returned from this command?
wc: Zero
Me: So the output was nothing?
wc: No. I said there are zero lines.
Me: How can there be no lines,...
Forum: GpuOwl 2020-10-24, 13:24
Replies: 35
Views: 659
Posted By retina
Nope. wc is still wrong. "A" has zero lines...

Nope. wc is still wrong.

"A" has zero lines according to wc, and "B" has zero lines according to wc. But both of those have 1 line each. If I concatenate them then "AB" also has 1 line, it isn't...
Forum: Software 2020-10-24, 11:44
Replies: 15
Views: 186
Posted By retina
I don't mind the term virtual-thread. But it has...

I don't mind the term virtual-thread. But it has to be in the right context.

Using LaurV's example counts above: "The OS has 50 virtual threads that it will manage and schedule to the 8 CPU...
Forum: GpuOwl 2020-10-24, 11:28
Replies: 35
Views: 659
Posted By retina
I wouldn't trust wc to be the sole definer of a...

I wouldn't trust wc to be the sole definer of a line.

But, OMG, you are correct:~ echo -n "hi" | wc -l
0Now I hate wc :cry:
Forum: Software 2020-10-24, 11:01
Replies: 15
Views: 186
Posted By retina
我认为我的英语是差。这太糟糕了。我想我说的中式英语。你们知道中式英语?这意思是以中国人的想法说英语。...

我认为我的英语是差。这太糟糕了。我想我说的中式英语。你们知道中式英语?这意思是以中国人的想法说英语。例如,好久不见。

:razz:
Forum: Software 2020-10-24, 10:34
Replies: 15
Views: 186
Posted By retina
Sure I can. I just have to word it correctly. ...

Sure I can. I just have to word it correctly.

"My CPU can process 8 threads simultaneously, through its 4 execution cores, a maximum of 2 threads per core. The OS has to schedule its 50 threads...
Forum: Software 2020-10-24, 10:09
Replies: 15
Views: 186
Posted By retina
That is the very reason to stop calling them...

That is the very reason to stop calling them virtual. It creates such silly notions in people's heads.
Forum: Soap Box 2020-10-24, 10:02
Replies: 341
Views: 19,855
Posted By retina
Big corps always place themselves above their...

Big corps always place themselves above their customers lusers. Apple is no exception:

https://medium.com/tripmode/apple-started-hiding-the-traffic-of-its-own-mac-apps-9dc83c5a9c5b You are just...
Forum: Software 2020-10-24, 08:39
Replies: 15
Views: 186
Posted By retina
I know everyone here likes to call these things...

I know everyone here likes to call these things "cores". But Intel called it hyper-threading for a reason. It is a thread, not a core. It never was a core, it never will be a core.

Calling them...
Forum: Lounge 2020-10-24, 07:58
Replies: 44
Views: 3,525
Posted By retina
:confused: 2^16 = 65536, right?

:confused:

2^16 = 65536, right?
Forum: GpuOwl 2020-10-24, 06:53
Replies: 35
Views: 659
Posted By retina
If you are rewriting the file then you can do...

If you are rewriting the file then you can do whatever you want. It is only upon reading, to make the code simple, to add a newline so there doesn't need to be any special handling for just the last...
Forum: Lounge 2020-10-24, 04:30
Replies: 44
Views: 3,525
Posted By retina
There are plenty of symbols available. One look...

There are plenty of symbols available. One look at the Unicode tables will convince you that a lack of symbols is not the problem here.

ETA: Even LaurV's base 60060 can be accommodated with...
Forum: GpuOwl 2020-10-24, 03:47
Replies: 35
Views: 659
Posted By retina
I meant to only add it in memory, not on disk. ...

I meant to only add it in memory, not on disk.

But anyhow, I'm sure the user is more surprised to get an error when the text file looks perfectly fine to them.
Forum: GpuOwl 2020-10-24, 02:13
Replies: 35
Views: 659
Posted By retina
Why so OCD? Just place a LF (or CRLF) on the...

Why so OCD?

Just place a LF (or CRLF) on the end of every text file you load into memory. Then you don't have to treat the user to an unnecessary error.
Forum: GpuOwl 2020-10-23, 10:11
Replies: 35
Views: 659
Posted By retina
Great job of blaming the victim. :tu:

Great job of blaming the victim. :tu:
Forum: ONeil 2020-10-22, 11:32
Replies: 9
Views: 198
Posted By retina
Claim is false because I can make faster...

Claim is false because I can make faster code:import timeit
while True:
p = int(input("Enter a prime number: "))
start_time = timeit.default_timer()
for k in range(1,999999999):
if...
Forum: EdH 2020-10-21, 22:55
Replies: 14
Views: 248
Posted By retina
Why do you need to upgrade? If it was...

Why do you need to upgrade?

If it was working why try to fix it?
Forum: Lounge 2020-10-20, 11:04
Replies: 36
Views: 767
Posted By retina
Amazing!Wot? WP isn't helping. ...

Amazing!Wot? WP isn't helping.

https://en.wikipedia.org/wiki/CFG
Forum: Lounge 2020-10-19, 15:05
Replies: 1,312
Views: 71,289
Posted By retina
Nah, too polite. Instead shoot the tiger and the...

Nah, too polite. Instead shoot the tiger and the lion, let the vegan starve to death, and eat like a king from the fresh meat (all three meats).
Forum: Soap Box 2020-10-19, 12:45
Replies: 341
Views: 19,855
Posted By retina
Have fun and make profit from tricking the Tesla...

Have fun and make profit from tricking the Tesla car autopilot system into doing your bidding. All you have to do is hack into the IoT billboard systems and inject your desired adversarial images.
...
Forum: Lounge 2020-10-19, 07:05
Replies: 1,312
Views: 71,289
Posted By retina
More healthy for whom? It sure isn't healthier...

More healthy for whom? It sure isn't healthier for the pig. :davar55:

And what is wrong with lion meat? Or is it something else, like an angry mod attacking you, that causes the unhealthiness?
Showing results 1 to 25 of 1000

 
All times are UTC. The time now is 09:00.

Sun Oct 25 09:00:23 UTC 2020 up 45 days, 6:11, 0 users, load averages: 1.55, 1.47, 1.49

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.