« first day (3211 days earlier)      last day (1744 days later) » 

4:43 AM
Hello every one!
 
 
2 hours later…
6:38 AM
@Jesse_b do people still use ed (apart from script) ?
 
 
2 hours later…
8:56 AM
@Archemar You can rest assured that there are users of the ed editor that do not want to switch from the line editing paradigm to screen editing.
They may not be many, but they are out there... And I've personally used ed to edit files in situations where other editors were not available (albeit not on a day to day basis).
 
 
3 hours later…
11:36 AM
Ok so that's new.
 
 
1 hour later…
12:55 PM
Ah yes, just noticed it (active/asked/viewed now under title not in right side bar)
 
31
Q: Why are the sidebar stats for a question now under the title?

TheLethalCoderVery recently, past few minutes or so?, a new build was pushed out that changed the location of a question's stats from the top of the sidebar content to underneath the title. I can't exactly put my finger on why this change feels odd. Perhaps it is because statistical information like that be...

(all comments, no answers as of yet)
 
1:18 PM
打印F '%小號\ñ' '早上好聊天'
 
@Jesse_b oodgay orningmay
 
@JeffSchaller Do not worry?
 
Oh, because that translates to "do not worry" in Uzbek
 
It's a bug that Google Translate doesn't have Pig Latin
 
1:24 PM
I think it's a bug that google uses standard SI units for data conversions
I don't really care what anyone says; 1 kilobyte is 1024 bytes, and kibibyte is just a jibberish word that has no need to exist
 
"Gibibyte" is what trips my "baby talk" meter
kibibyte sounds like dog food
 
@JeffSchaller Hah, that it does
speaking of dog food, the brand I get for my dog recently came out with a squid flavored dog food. My dog seemed to like it but my wife absolutely hates how it makes my kitchen smell lol
 
1:47 PM
@Jesse_b reminds me of an old comedy clip, I want to say it was Paula Poundstone, who ranted about cat food -- "flavors that cats naturally crave, like bison ... when's the last time you saw a cat tearing across the plain and taking down a buffalo?"
 
@JeffSchaller Hah yeah, we make our cat food and I've noticed he much prefers chicken over beef/pork
Seems reasonable as he would never naturally eat either
 
2:28 PM
@JeffSchaller: I'm not sure if this is supposed to happen/intentional/should ever be done but apparently you can exit with negative integers
exit -1 will exit with 255, exit -2 with 254, etc
 
@Jesse_b probably a byproduct of the negative number's representation as a byte
 
A bug that I might use as a feature at some point in the future
 
2:47 PM
@Jesse_b The exit status is an unsigned 8-bit value. So, not strange.
 
@Kusalananda Party pooper
exit -155
 
Is the mypty3 code valid for modern terminals (e.g. gnome terminal)? Author used cfmakeraw() but after running that program when I use arrow key it shows ^[[A.
 
@Biswapriyo seems like a question! :)
 
Ooo.. U&L accept programming questions?
I thought SO only.
 
@Biswapriyo It depends on if they are more about the language itself or more about the code's use/compatibility with unix and linux. The exception seems to be bash/shell which any questions about which are more at home here than SO
 
3:02 PM
@Biswapriyo perhaps I misunderstood. I thought you were asking about some behavior of it in (for example) gnome-terminal. If you're at the system call level, you're heading for SO. If you're at the behavior/functional level, I think you'd be OK here.
 
3:36 PM
It seems the downside of not using swap is that machine freezes up when it runs out of memory. One would think that millions of man hours of computer research could do a better job of memory management. And I'm just running a browser and an editor here. No processes suddenly grabbing huge gobs of memory.
And it looks like the OOM process fired up (based on the logs), but it doesn't help matters.
Of course, it could be that my computer is just old and doesn't work that well.
 
 
1 hour later…
4:41 PM
@FaheemMitha ... or that the OS wasn't designed to be use without a swap area.
 
@Kusalananda I think people need to get over this swap thing. It's so 20th century.
 
You can use a swap file. It's a newer invention, so it must be better.
 
@Kusalananda Newer is better? Does that include the hydrogen bomb?
 
Does the number of the current century dictate the design of an OS?
 
I could use my SSDs. I'm just a little concerned about excessive, uncontrolled, writing.
@Kusalananda Of course. Per ardua ad astra.
 
4:44 PM
I've never seen an SSD die from excessive writing. In fact, I have heard this happening very rarely.
 
Upward and onward. Excelsior!
@Kusalananda Hmm. Do you use an SSD for swap?
 
@Kusalananda's computer is afraid to swap.
Kusalananda can use all 16GB of a 4GB memory stick
Kusalananda's computer doesn't store instructions in memory, they all go directly to the processor out of fear of being to slow
 
5:10 PM
@FaheemMitha I believe I do, alhough I'm not 100% sure what type of underlying storage my computers have.
Also, I haven't seen OpenBSD actually use swap in a while now. I'm not usually doing very memory-hungry things.
My desktop iMac may have a spinning disk, but I'm almost certain that my laptops don't.
For my laptops, it doesn't seem to matter.
 
@Kusalananda Presumably it's possible to find out.
 
Kusalananda doesn't use a keyboard, he stares at the computer until it does what he wants
 
I do open a lot of tabs. But I think an OOM ought to be able to figure out there is a problem, and kill the browser before things get out of control. Like the computer freezing. But well, maybe my computer is old. I dunno.
 
@Jesse_b Correction: Sometimes I just stare at the computer, until I know what I want. This sometimes ends up involving a sandwich or a cup of coffee.
 
@Kusalananda grinds coffee beans with his mouth and boils the water with his rage
Kusalananda never needs to run his programs in machine code, the machines learn to interpret Kusalananda code.
 
5:16 PM
I think someone has time on his hands.
 
Kusalananda can complete an infinite loop in 4 seconds
 
@Jesse_b I did have this idea that programming was just a way to organise thought. At least that's a large part of why I do programming. Very little end product, but a heck of a lot of thinking, tidying up code, refactoring and more thinking. That's usually how I learn stuff.
People who subscribe to the idea of personality types would identify that as a introverted sensing type.
 
@Kusalananda Very little end product is definitely an accurate way to describe my involvement with programming
 
@Kusalananda I see you're in a philosophical mood.
 
@FaheemMitha A.k.a. "tired and too hot"
We've got +30 C today.
 
5:22 PM
And no A/C, presumably.
 
Lucxily it's not that humid.
No AC, no. Just a fan.
 
Two things (at least) are essential for life where I am.
A computer, and an A/C
 
:-)
 
Without the first, one would die of boredom and loneliness.
Without the second, one would die of the heat.
Of course, there are many who don't have either.
I'm not sure how they survive. Maybe they're just bloody-minded.
 
I went all last summer without an A/C, it actually wasn't that bad (not that it gets anywhere near as hot here as it does in India). Your body adjusts to the temperature within a week or two and it mostly doesn't bother you
Don't forget humans have evolved to live on this planet without heat or A/C
 
5:25 PM
@Jesse_b But now we live in places where we wouldn't live without heating or cooling.
 
@Kusalananda People have lived in India long before the A/C was invented
 
Although, heating is easily managed without electricity.
Yeah, that too.
 
people lived in the sub saharan area of africa basically as long as people have existed
 
That particular place used to be forest though.
 
 
1 hour later…
6:53 PM
Anyone know how to configure the protocol that showmount uses? It's a NFS utility. I was trying to trim unnecessary open ports, and when I cut out port 111 for UDP ( the rpcbind/sunrpc/portmapper port), showmount stopped working.
I'd like it to use TCP
 
 
1 hour later…
7:57 PM
@Ungeheuer Portmapper can't use TCP. UPD port 111 is necessary for allowing clients to connect to the NFS server, no matter whether the NFS server uses TCP or UDP.
 
8:26 PM
stupid paint didn't crop the image? ugh. Now I cri
thanks @Kusalananda
 
8:41 PM
that's my problem, I don't have /home/chazelas/bin in my $PATH
 
@JeffSchaller Doh, I thought that was part of the .profile in all the moderators home directories!
 
 
1 hour later…
10:17 PM
Man this site has some wizards
I'm frequently astounded at the quality of some of the answers on here
 
10:38 PM
Linux users have a weird notion of "permanence". They ask "how can I change X permanently?" knowing full well that they will have reinstalled the system at least twice in the next year.
I say that, and then I read a "How can I NFS mount /mnt permanently" on an NetBSD mailing list...
 
I'm sure they are just intending to mean "persistently"
 
Likely
 
speaking of NFS, I figured out why I was getting 50 and 60 second transfer times on files
and why I had triple digit retransmission counts on the clients
After weeks of trying shit, I tcpdump-ed the interface that the server and client were communicating over and watched. Turns out the servers for both RHEL6 and RHEL7 in our lab have been lying to the clients that they can handle 1 MiB reads well.
The servers get hit with 1 MiB read requests, choke, and decide to pass on 65,000 bytes as a reply.
Turns out the the limit before things go to shit is around 500,000 bytes for read requests.
So now the mount options are set to 32KiB, and I've cut down transfer times to about 25-30 seconds for a 200MB file. Not stellar, but good enough for government work.
I also learned that when the manpage says that read request sizes have to be multiples of 1024, they actually have to be multiples of 1024 times a multiple of 32. It's weird. I tried just putting in 60,000 as the request size, and /proc/mounts indicated the read size was 32KiB. Well, if I set the read request size to 65,792 (1024*32*2), that's a valid size that doesn't get changed.
......................like wtf NFS lmfao
 

« first day (3211 days earlier)      last day (1744 days later) »