Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geocar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
661.
▲
by
geocar
5y ago
> Wow. That's some explanation. Thanks. Happy to help. > Do you use "rainbow brackets"? No. I flash brackets, but I tend to turn off other forms of syntax highlighting. I find it extremely distracting when the syntax hi
662.
▲
by
geocar
5y ago
If this were me, and I needed a function like us, I would have written this: us:{$[x~(z;y);,"_";y]}[(*K;,"*")]': I would be interested in seeing anything that was shorter[1] and faster than that in any l
663.
▲
by
geocar
5y ago
> To be more precise on one bit, you can't get fd=1026 without having had at least 1027 open at some point in the past. Of course you can. dup2(0,1026)
664.
▲
by
geocar
5y ago
I am very pleased to hear that, and I'm looking forward to trying something daring with it.
665.
▲
by
geocar
5y ago
I know the joke is that APL is a write-only language, but it somehow seems more true to say it is a right-only language. I am nonplussed about AI/ML in general but this accidental wisdom is worth meditating on even if it didn't co
666.
▲
by
geocar
5y ago
I have a common-lisp background, and I learned Haskell at the insistence of a former colleague. I also know k, and have since learned some APL and j. I would like to try and suggest to you my perspective: The jump from Python to Haskell - o
667.
▲
by
geocar
5y ago
I am going to tell you something fantastic, but first, I want to explain some things about this: us:{$[#i:&{(y~*K)&"*"~*x}':x;@[x;i;:[;,"_"]];x]} The first is that there's a typo in what bidire
668.
▲
by
geocar
5y ago
> Yeah but fds are guaranteed to be opened lowest available on first, so thats ok, you cant get fd=1026 without having 1026 open. This is exactly correct. > The Linux syscall does not have a fixed FD_SETSIZE so glibc could increase th
669.
▲
by
geocar
5y ago
poll() is POSIX but slower than select()
670.
▲
by
geocar
5y ago
> No new code should be using select(). It’s faster than poll, and if you are accept()ing a lot, faster than epoll. Multiple threads can do better, but only by working together. SO_REUSEPORT+select is faster if you can get away with it.
671.
▲
by
geocar
5y ago
I assumed they did.
672.
▲
by
geocar
5y ago
Many of the crap-extensions load ads which makes google money. I think it’s safe to say Google likes this sort of thing.
673.
▲
by
geocar
5y ago
They could offer a bounty.
674.
▲
by
geocar
5y ago
That's my observation as well, but I think this is a shame: It has tremendous advantages for principle security (i.e. the security of the owner of the data, as opposed to the security of the owner of the database). For example: I have
675.
▲
by
geocar
5y ago
> why don't we just use base64-encoded JSON or something? You should try it and let us know how that works.
676.
▲
by
geocar
5y ago
No. Even in Powershell type fidelity and other data loss is inevitable when objects are serialised (what most people call "parsed").
677.
▲
by
geocar
5y ago
There are advantages to text. Some of my favourites: 1. Humans can understand text too! 2. Text can travel over every transport. 3. Text is benign. 4. Large text is large and small text is small, but all objects look the same size.
678.
▲
by
geocar
6y ago
> >If you start over, there's no reason any blocking API should really BLOCK your program. Your functions can look completely synchronous, but yield to the event loop when they invoke a blocking API. > That implies a level of
679.
▲
by
geocar
6y ago
> For something that takes up the overwhelming bulk of a developer's time... It isn't the bulk of my time. Most of my time is spent figuring out what to do. Once I have decided that, telling the computer is usually straightforw
680.
▲
by
geocar
6y ago
Sometimes yes: If those managers are managing vendors (or other business relationships). Confusingly some companies use "executive" to refer to their lowest positions, since they "do" as well. I hope it's clear I&#x
681.
▲
by
geocar
6y ago
An executive isn't the same as a manager, but decide what the business shall do (and then do it/execute it; usually this means hiring people though). They are accountable only to the owners of the business and legislation (and may
682.
▲
by
geocar
6y ago
The fact is: It's not our money. Oh for sure, I can spend millions of dollars just by saying I believe it will deliver tens more to the company. If I'm right, I'll get a fat bonus, and if I'm wrong (too much), they'
683.
▲
by
geocar
6y ago
> A lot of people claim that there's a lot of eyes on the code. Eric Raymond claimed so, and a lot of people repeated his claim, but I don't think this is the same thing as "a lot of people claim" -- and even if a lot
684.
▲
by
geocar
6y ago
The same thing anyone else does with a billion CPUs: Hashing things and looking for collisions, or variants on the theme. Nowhere else could you get CPUs as cheaply as you could buying the cheap banner video vast+vpaid and simply not callin
685.
▲
by
geocar
6y ago
> Distributed computing for hire. So I've been doing this for a couple decades now: You create an ad tag that does some work, and you buy some impressions. You then get to "hire" thousands or millions of compute-nodes arou
686.
▲
by
geocar
6y ago
This movable thing I have separating my office from the hallway.
687.
▲
by
geocar
6y ago
> I honestly don't know how people actually do hard things in an office. I close the door.
688.
▲
by
geocar
6y ago
These people believe they’re lucky to work at a place like Facebook, and after reading some of these asinine comments, I'm inclined to agree. The idea that they shit in the pool and get the swimmers to defend them sounds crazy, but p
689.
▲
by
geocar
6y ago
Many states let you take it at 16.
690.
▲
by
geocar
6y ago
I'm trying not to speculate about what 3pt14159 meant just because what you said makes sense to me, because I also think it's clear you mean something else. Or put another way, I think agreeing that message-passing is useful is no
More ›