copecog

301 posts

copecog banner
copecog

copecog

@copecog

I like almost anything technical, but find myself mostly around Math, Computer Science, and Lisp.

Santa Clara, UT Katılım Nisan 2021
275 Takip Edilen17 Takipçiler
copecog
copecog@copecog·
@DevLeaderCa I’m not a great example because I ended up in sysadmin/devops, but I program most of my own stuff in various lisps and use recursion fairly often. It is quite elegant and readable when it suites the problem.
English
0
0
0
7
devleader
devleader@DevLeaderCa·
How often do you *actually* use recursion in your programs? I'm not sure if I'm the only one here, but I'm going to put it out in the open: I've been programming for 20+ years, and while I understand recursion… I never use it. Ever. Seriously 🙂 I feel like there's a huge emphasis on recursion in computer science topics because there are seemingly elegant solutions that arise with recursion. It seems to make some algorithms align better from a mathematical perspective, perhaps? In reality, debugging recursion is a pain. It's also a nightmare to deal with if you have very deep recursion (your call stack gets ridiculous). I've just never had a need to use recursion in production code. I've found that converting over to an iterative loop based approach is almost always more readable and easier to debug. And I'm generalizing, of course, but this has been my working experience. So after 20+ years of writing code, my brain never thinks about things recursively (even though I understand the concept). But it has also never once slowed me down 🙂 What's been your experience using recursion in production code bases? Do you use it just because it was there, or did you add it in with purpose? I'd love to hear!
English
471
19
539
197.5K
copecog
copecog@copecog·
@lauriewired I’m not sure it would have much of an effect on performance, but dropping legacy stuff would make hardware implementation much easier. As most people know x86 is really a low level language itself that is translated internally into micro-instructions.
English
0
0
0
11
LaurieWired
LaurieWired@lauriewired·
Everyone knows that the x86 ISA is big. Modern CPUs have ~1000+ mnemonics. Guess how many make up 90% of compiled C/C++ code? TWELVE. I'm not kidding. The question is…what if we shrank it?
LaurieWired tweet mediaLaurieWired tweet media
English
160
216
3.4K
234.4K
copecog
copecog@copecog·
@elonmusk @basicprompts A humans neural network starts training from the appearance of the first neurons in uetro as they grow. It at least makes intuitive sense to me that training randomized weights is probably not going to end at an optimum solution.
English
0
0
0
430
copecog
copecog@copecog·
@zrkann @_trish_xD From a different angle: Most stuff isn’t outside of first-order predicate logic on atoms of data mapped into local file system objects. Instead of your own format just use SQLite.
English
0
0
0
44
trish
trish@TrisH0x2A·
sqlite is literally a database in one file. but nah, let’s burn 2GB of ram and a postgres container just to store our shopping list.
English
209
378
10.3K
451.2K
copecog retweetledi
Mars (parody)
Mars (parody)@marknadal·
@_trish_xD or u could have ur database in all ur users' browsers, webrtc serving / hosting each other, but nah let's burn deploying a server 🤷‍♂️ github.com/amark/gun
English
2
4
66
9.5K
LaurieWired
LaurieWired@lauriewired·
@voynow @levelsio imagine not being able to point wherever you want. couldn’t be me
LaurieWired tweet media
English
19
45
1.9K
39.9K
LaurieWired
LaurieWired@lauriewired·
90% of the time you don’t need a DevOps guy. You need a C++ guy, a SQL guy, and one fat server with a lot of ram. StackOverflow used to run on *one* SQL Server with a hot spare. Peaked Alexa Rank #36, 10+ Million visits a day.
LaurieWired tweet mediaLaurieWired tweet media
English
265
485
9.9K
724.1K
Ole Lehmann
Ole Lehmann@itsolelehmann·
I share more about my business and productivity experimentations in my newsletter. Join 43,000+ internet entrepreneurs reading weekly here: aisolopreneur.beehiiv.com
English
13
2
54
43.6K
copecog
copecog@copecog·
@SLCScanner I believe in private property and 2A rights, but that land has been around like 5 billion years, and will be around at least another 5 billion, it's just so crazy to be like that about some snowboarders passing through. He would be 1000x happier giving them high-fives instead.
English
0
0
1
444
SLCScanner
SLCScanner@SLCScanner·
#BrightonSkiResort A skier on his very last run of his trip, goes down a snow packed road called Old Prospect Ave that connects to S Big Cottonwood Canyon Road. He is confronted and pushed by an older male with a #Shotgun that is camped out on a chair waiting for skiers to come down the road. He tells him he is on private property and if he comes down again he will have holes in him. I totally understand protecting your property but come on. His and a bunch of other houses are on that road right next to 2 major #SkiResorts. Looking on Google Earth there are no signs at the entrance saying it’s private property. This is something that @UPDSL needs to look into. It’s only a matter of time before he shoots and kills someone.
Bluffdale, UT 🇺🇸 English
150
141
1.4K
813.5K
copecog
copecog@copecog·
@vaporizer9372 @rustlang Most programming languages evolve from ideas on how to solve a specific set of problems, and if they become popular enough for certain types of uses, that seems to drive the need for an official specification.
English
0
0
0
24
Vaporizer9372
Vaporizer9372@vaporizer9372·
@rustlang Wait.. what? Didn't you start with a specification?
English
1
0
2
609
copecog retweetledi
Fascinating
Fascinating@fasc1nate·
Cell explodes after getting bitten by another single-celled organism. Video by Jam's Germs.
English
107
493
5.5K
1.2M
copecog retweetledi
0xDesigner
0xDesigner@0xDesigner·
Probably the best thing you'll see today. In 2017, a group of developers hilariously competed for who could create worst volume control interface in the world. The results 🧵 1/22
English
1.4K
41.1K
166.5K
22.9M
copecog
copecog@copecog·
@jwcarroll We all grow up in a junkyard, and then think our idea of an “automobile” is original and revolutionary.
English
0
0
0
41
copecog
copecog@copecog·
@ashlawolf @legitbrittfl @elonmusk @BillyM2k I’ve been out of adderall for a couple of months, and have struggled with having to use it and have been on and off it for extended times over the last 20 years, but it makes such a profound difference in being able to function, I would love to find something else that worked.
English
1
0
1
37
copecog
copecog@copecog·
@WillieDJenkins1 @Rainmaker1973 There has been a lot of instances of airbags accidentally going off. My grandmother’s went off in her Altima from not a particularly bad pot hole and broke her face.
English
0
0
1
60
Willie D Jenkins
Willie D Jenkins@WillieDJenkins1·
@Rainmaker1973 The safety or straight system is supposed to decide if an airbag is safe to deploy or not. Your seatbelt must be buckled in order for it to decide airbag deployment is okay. We have a hoax or some wire chopping here
English
4
0
8
2.5K
copecog
copecog@copecog·
@jessfraz Communicating over a local socket has about the same amount of context switches. It could be a nice basis. The GlusterFS stack works fine.
English
0
0
0
19
Jessie Frazelle
Jessie Frazelle@jessfraz·
running a database over fuse? good idea? 😈☠️
English
26
4
62
27.8K
copecog
copecog@copecog·
@ptribble I came in on OpenSolaris 10, and would love to play on a SPARC.
English
0
0
0
9
Peter Tribble
Peter Tribble@ptribble·
A sign of how low things have fallen; search for SPARC and Solaris here and you'll find lots of interesting (and some dubious) content, but not necessarily in the context I've historically been familiar with
English
6
2
13
953
Massimo
Massimo@Rainmaker1973·
Take your time to understand exactly how differentiation is defined using the concept of limits [source: buff.ly/2rZ2cQa]
Massimo tweet media
English
71
720
4.8K
0
copecog
copecog@copecog·
@paulg Founders should be highly rewarded, but I also believe people are the best asset to invest in, and the only real thing that has value in the end.
English
0
0
0
0
Paul Graham
Paul Graham@paulg·
You still occasionally hear people saying that founders don't deserve to be rich, because their employees created all the value. But the falsity of this claim becomes increasingly obvious as automation enables founders to grow companies with fewer and fewer employees.
English
414
388
4.2K
0