Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
theseoafs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
61.
▲
by
theseoafs
10y ago
The older members of my family didn't collect Pokemon cards 15 years ago, but all of them are playing Pokemon Go right now.
62.
▲
by
theseoafs
10y ago
Message passing, mainly. I.e. if your program is an event-based loop, then an interrupt is just another kind of message that you can receive on your main thread.
63.
▲
by
theseoafs
10y ago
If there are any aspiring crackers looking to bring down their first site, this one should be easier than the average
64.
▲
by
theseoafs
10y ago
Only for long-running processes
65.
▲
by
theseoafs
10y ago
So is this mostly just a case of the author never having heard of the restrict keyword?
66.
▲
by
theseoafs
10y ago
A ridiculous article. Yes, Haskell will outperform C if you write a crazily inefficient C program.
67.
▲
by
theseoafs
10y ago
> Huge body of problems can be handled by simple recursion but I've yet to see non-functional programmers use it. I don't know why. Stack overflows.
68.
▲
by
theseoafs
10y ago
Talking about C, not objective C. :)
69.
▲
by
theseoafs
10y ago
Three rather simple queries I ran that turned up with nothing: do notation in haskell with python function pointer c
70.
▲
by
theseoafs
10y ago
Okay, and that's fine if Rust doesn't want to be used for making kernels, programming language runtimes, etc. You know, systems language stuff.
71.
▲
by
theseoafs
10y ago
In what way is Rust suitable as a systems language if we don't have a picture of what unsafe code is or is not allowed? At least in C there is a consensus about what works and what doesn't -- i.e. pointer aliasing is technically u
72.
▲
by
theseoafs
10y ago
> But that just brings you back to the original problem when some day someone builds a machine that has hardware support for popcount on multiple words. Is that really a problem? We've already seen that compilers are clever enough
73.
▲
by
theseoafs
10y ago
> The right name for a function that counts bits is "bitcount", not "popcount" "Population count" is what this function is typically called. > (and certainly not __builtin_popcount!) C doesn't have n
74.
▲
by
theseoafs
10y ago
So do it in your spare time over a few months, release it and charge 99 cents, and maybe make a little money
75.
▲
by
theseoafs
10y ago
> C makes it very easy to get things subtly wrong. Yet another item to add to your code review checklist. Better yet, don't use zero size arrays unless you really have to. You don't have to. C has flexible arrays in structs fo
76.
▲
by
theseoafs
11y ago
I don't know how to expand. The article is entirely wrong. I can't explain in a comment what's wrong with it because everything is wrong. This article would barely be any less correct if it gave a recipe for pico de gallo a
77.
▲
by
theseoafs
11y ago
This article is almost entirely wrong
78.
▲
by
theseoafs
11y ago
> `const` is a property of the binding, not the value. This is language-specific for Javascript. > It's not wrong in general. It's not wrong in general, but it's also not right in general. The pattern is completely ort
79.
▲
by
theseoafs
11y ago
> I have been adding more examples to the list asking if each example is pure or not. Seems even humans sometimes have trouble drawing a line. For example, everyone agrees the following example is pure > function sum(a, b) { retur
80.
▲
by
theseoafs
11y ago
You've got it: processes are not allowed to run blocking syscalls under the hood. Transparently that work is handled by backing IO threads.
81.
▲
by
theseoafs
11y ago
> As soon as someone added changes to their pull request – either by rebasing in the new changes or making it as a new commit – you lost track of the comments in the code and viewing what had actually changed since the last update becam
82.
▲
by
theseoafs
11y ago
*Socialists like Sanders
83.
▲
by
theseoafs
11y ago
I think you misread OP's sentence. Actors and micro services are not really related to FSM's. You can make services and actors which can be modeled as FSM's but they don't have to be.
84.
▲
by
theseoafs
11y ago
It seems what the author learned is that "programming languages sometimes let you do things in the wrong order", which is so obvious that it's kind of a non-observation. Anyway, functional programming on its own doesn't
85.
▲
by
theseoafs
11y ago
From what I can tell, gunDB completely ignores all distributed systems research up to this point, so that makes sense.
86.
▲
by
theseoafs
11y ago
Do you have any legal expertise whatsoever, or any basis for giving people legal advice?
87.
▲
by
theseoafs
11y ago
The problem that it's solving is security vulnerabilities like this one.
88.
▲
by
theseoafs
11y ago
> Lambda functions: A style of writing functions without a block, where the function and return value are expressed as one single expression without the usage of a block or explicit returns. employee => employee.name This is not w
89.
▲
by
theseoafs
11y ago
> To me, garbage collection is a hack, trying to workaround the fact that we don't know how to deal with ownership. Eh. Often the whole "ownership" thing is irrelevant. For a lot of high-level programs, trying to express t
90.
▲
by
theseoafs
11y ago
> The easiest way to be a 10x engineer is to make 10 other engineers 2x more efficient. Someone can be a 10x engineer if they do nothing for 364 days then convinces the team to change programming language to a 2x more productive language
More ›