Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[Thoughts]Programming musings thread[General]

Name: Anonymous 2018-09-02 17:57

Post little thoughts, jokes, news, etc. that don't necessarily warrant having their own thread.

Name: Anonymous 2018-09-07 4:47

What antipatterns does your favorite language have?
https://en.wikipedia.org/wiki/Anti-pattern
For me, it's Java, and I'd say accessor and mutator methods.

Name: Anonymous 2018-09-07 6:23

>>41
How is this an antipattern? I do agree than it's an overengineered hack compared to Seshrup's properties, but it's mostly a matter of syntax and brevity.

Name: Anonymous 2018-09-07 6:52

>>38
not really, I mostly learned by experimentation. I'm more interested in Android security, that's why I know a lot about IPC (believe me, I haven't even scratched the surface of this topic here)

Name: Anonymous 2018-09-07 8:44

3 reasons to hate java
1.Slow both in startup(JVM startup) and execution.
2.Owned by Oracle and their draconian copyright lawyers.(Btw thats why Google had to redesign all of Android runtime)
3.Convoluted language that wastes memory.

Name: Anonymous 2018-09-07 8:45

https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google,_Inc.
Reference this anytime you hear "Java", fuck Java.

Name: Anonymous 2018-09-07 8:50

>>44
ackchyually, execution time is pretty good. maybe best of all GC'd languages

Name: Anonymous 2018-09-07 8:54

>>46
The only GC'd languages allowed on my machine are rarely run scripts, mainly build scripts and bash utilities. Having a software stack running on GC is luxury for 64GB ram machines.

Name: Anonymous 2018-09-07 8:57

>>47
your're are browser runs GC'd code even as you browse this board

Name: Anonymous 2018-09-07 9:08

>>48
1.Js isn't a program(that would be running Node.js apps), its a feature inside the browser program to script media content. Like a game having a GC'd script, but running a language that doesn't GC.
2.I disable javascript on every site where its possible.

Name: Anonymous 2018-09-07 11:17

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SP, SQ, SR, SS, ST, SU, SV, SW, SX, SY, SZ, SAA, SAB, SAC, SAD, SAE, SAF> AsExpression<Record<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SP, SQ, SR, SS, ST, SU, SV, SW, SX, SY, SZ, SAA, SAB, SAC, SAD, SAE, SAF)>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF) where
A: AsExpression<SA>,
B: AsExpression<SB>,
C: AsExpression<SC>,
D: AsExpression<SD>,
E: AsExpression<SE>,
F: AsExpression<SF>,
G: AsExpression<SG>,
H: AsExpression<SH>,
I: AsExpression<SI>,
J: AsExpression<SJ>,
K: AsExpression<SK>,
L: AsExpression<SL>,
M: AsExpression<SM>,
N: AsExpression<SN>,
O: AsExpression<SO>,
P: AsExpression<SP>,
Q: AsExpression<SQ>,
R: AsExpression<SR>,
S: AsExpression<SS>,
T: AsExpression<ST>,
U: AsExpression<SU>,
V: AsExpression<SV>,
W: AsExpression<SW>,
X: AsExpression<SX>,
Y: AsExpression<SY>,
Z: AsExpression<SZ>,
AA: AsExpression<SAA>,
AB: AsExpression<SAB>,
AC: AsExpression<SAC>,
AD: AsExpression<SAD>,
AE: AsExpression<SAE>,
AF: AsExpression<SAF>,
PgTuple<(A::Expression, B::Expression, C::Expression, D::Expression, E::Expression, F::Expression, G::Expression, H::Expression, I::Expression, J::Expression, K::Expression, L::Expression, M::Expression, N::Expression, O::Expression, P::Expression, Q::Expression, R::Expression, S::Expression, T::Expression, U::Expression, V::Expression, W::Expression, X::Expression, Y::Expression, Z::Expression, AA::Expression, AB::Expression, AC::Expression, AD::Expression, AE::Expression, AF::Expression)>: Expression<SqlType = Record<(SA, SB, SC, SD, SE, SF, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SP, SQ, SR, SS, ST, SU, SV, SW, SX, SY, SZ, SAA, SAB, SAC, SAD, SAE, SAF)>>,

Name: Anonymous 2018-09-07 11:27

>>50

Is that the new Haskell?

Name: Anonymous 2018-09-07 11:48

>>51
More like the new Java. Haskell is all about type inference.

Name: Anonymous 2018-09-07 14:30

>>52
That's just generics and typeclasses, Rust also has type inference.

Name: Anonymous 2018-09-08 0:16

>>46
Probably true, but this seems like a result of the massive $$$ spent developing the Java Virtual Machine. Most of the optimization techniques perfected in the JVM can be ported to other dynamic and JIT compiled languages, so eventually the performance gap will shrink and Java can be cast into the trash where it belongs.

Name: Anonymous 2018-09-08 0:57

>>54
porting features also costs time/money

your freetard functional language will never create the economic impetus for this to happen. thus the optimizations will live and die in the JVM, because trillions of dollars depend on the JVM and its continued performance. hundreds of people are paid full time to work on the JVM, so it will always be a step ahead of any copycats. the only thing depends on Your Pet Bullshit Freetard-lang is some abandoned github repos that do hello world.

Name: Anonymous 2018-09-08 2:56

>>55

Big companies can always pay developers to work on open-source compilers and runtimes when it suits their business strategy. Look at LLVM for example.

GNU might have a problem since the license is pretty much commercial kryptonite. But free (as in BSD) language implementations will do fine.

Name: Anonymous 2018-09-08 3:01

>>56
A wise man once told me, BSD is only useful for proprietary appliances.

Name: Anonymous 2018-09-08 7:41

>>54
well, I guess most statically typed interpreted/byte-compiled languages can be made as fast as Java. it's just that none of them are. I think that none of the functional languages comes close unless actually compiled down to native code. IIRC native-compiled OCaml can be faster than Java

Name: Anonymous 2018-09-08 15:07

If I want to use graphics cards for doing math (GPGPU shit), what should I learn to do that? OpenCL or something?

Name: Anonymous 2018-09-08 15:54

Big tech companies are getting more powerful than governments. I didn't like Alex Jones, but I think it's eerie how so many tech companies are seemingly in bed together because they all agreed to deplatform him at around the same time.

We are increasingly dependent on technology, and when tech companies deplatform you when they dislike your beliefs, that's a problem.

Name: Anonymous 2018-09-08 16:11

>>60
Decentralisation exists.

Name: Anonymous 2018-09-08 16:17

>>61
yeah, and that's why everyone uses iOS or Android, gmail, Google, Youtube, Facebook, Twitter, Amazon, PayPal, MasterCard, etc...

Name: Anonymous 2018-09-08 16:27

>>62
No one is forcing you to use these things.

Name: Anonymous 2018-09-08 16:55

>>63
Oh bullshit. This shit is accepted as standard nowadays. Try being a college student and not using social media or modern tech. Normies use social media. Normies use phones. Normies share files through Dropbox or Google Drive. If you get autistic about open source and private shit, that's social suicide. Seriously. Yes, this sucks, but that's how it is nowadays.

Name: Anonymous 2018-09-08 16:56

Freetard logic: whenever FOSS doesn't have a feature or service or social media platform, just say you don't need it at all!
[rationalization intensifies]

Name: Anonymous 2018-09-08 17:33

>>64
Peer pressure is not coercion.

Name: Anonymous 2018-09-08 17:47

>>59
OpenCL works on nvidia and AMD, CUDA only works on nvidia cards. You can also use Vulkan compute on both. I've done that once because the OpenCL driver was fucked, worked pretty well.

Name: Anonymous 2018-09-08 20:14

I told someone about a security issue with their website, they told me it wasn't a problem, and like a month later and the site is still vulnerable

come on, dude

Name: Anonymous 2018-09-08 21:18

>>68
Not a problem until you make it a problem.

Name: Anonymous 2018-09-08 21:32

>>69
someone else might, or hell, someone else's script might

there are tools out there for automatically scanning for and exploiting security vulnerabilities

what's the point in not fixing a security problem? it's not hard

Name: Anonymous 2018-09-08 22:02

>>70
But that would require effort

Name: Anonymous 2018-09-08 23:54

>>68
Sell it online.

Name: Anonymous 2018-09-09 2:07

Animals are like portable software that contains all dependencies. Like containers, such as Docker. They don't need clothes, kitchens, houses, or tools. They already come with everything they need. But people? We're like packages in a Linux distro repository. We have multiple dependencies and sometimes there can be complications when we have the wrong versions, or can't access something (such as shelter or healthcare).

Name: How True 2018-09-09 3:36

>>73
sometimes there can be complications when we have the wrong versions, or can't access something (such as shelter or healthcare).

Name: Ban 2018-09-09 3:40

Name: Very Clever 2018-09-09 11:55

>>75
| Name: Ban 2018-09-09 3:40

Name: Anonymous 2018-09-10 3:31

>>74
whom are you quoting?

Name: Anonymous 2018-09-10 6:46

>>68,70
just hack it, and when he runs back to tell you that 'someone' hacked him, tell him that you warned him

Name: Anonymous 2018-09-10 22:04

The chad international programming language standardization committee chairman vs the virgin dabbling amateur language geek who has to write an implementation by himself.

Name: Anonymous 2018-09-11 0:47

>>77
log off, anus

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List