Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clarry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
clarry
6y ago
Uhh.. no, that's just argv. Getopt is something you'd use to actually parse flags and arguments out of argv. EDIT: Ok, .Q.opt looks a little better, although it's still not close to getopt (where -abc would be shorthand for
152.
▲
by
clarry
6y ago
What would getopt look like in APL (also K, J, what have you)? I couldn't find any examples. Similarly, I'd like to see some examples of handling multiple I/O endpoints (sockets, stdio, files?) asynchronously (or should I s
153.
▲
by
clarry
6y ago
I'm actually more annoyed that they are there in the first place. Unicode can't seem to decide whether it's about just encoding text or also doing presentation/formatting (and now piles of poo and colorful emoji, what n
154.
▲
by
clarry
6y ago
No. The problem is that you have to have that metadata there, where ever it is that you want to point. What if it's not there? Oh yeah, doesn't work. It's just a normal pointer, pointing to an array and header. If I pic
155.
▲
by
clarry
6y ago
Your user agent should have a sane default. The idea that every text document on the web should ship their own default is insane.
156.
▲
by
clarry
6y ago
Do you actually do that? I've tried it. In portrait mode, my old 24" 16:10 monitor is already tall enough to wreck my neck and be really uncomfortable to read. I wouldn't even want to try that with my current 27" 16:9
157.
▲
by
clarry
6y ago
They're clearly using a different definition. In Cello, you are not passing a fat pointer ("a pair consisting of a pointer to the start of the array, and a size_t"), but a totally standard pointer that points to the second m
158.
▲
by
clarry
6y ago
> Yes, the extra data being the length that is located in memory before the pointer. > You’re at the wrong level of indirection; the header in in the memory before what the pointer points to, as in p - 1 rather &p - 1. You are con
159.
▲
by
clarry
6y ago
> It's just using "fat pointer" to refer to the concept of passing around a pointer with extra information concerning the data it points to. Is it actually? Here's a quote: "The trick is to place the value repre
160.
▲
by
clarry
6y ago
Is this blog post confused or am I confused? It keeps talking about fat pointers but the description looks much more like "arrays with their length stored before their first element," which is a massive difference.
161.
▲
by
clarry
6y ago
I think I've used https://github.com/larsbrinkhoff/httptunnel (or another very similar tool) in the past to get around restrictive networks that pass http traffic. That was more than a decade ago though.
162.
▲
by
clarry
6y ago
I get that every single time unless I'm in private browsing mode. Clearing cookies and local storage makes no difference.. sigh
163.
▲
by
clarry
6y ago
If the designer isn't also a software developer who writes a new application to scratch their UX itch, then they must work with some existing project, which presumably has existing users.. It's probably always going to be harder t
164.
▲
by
clarry
6y ago
Yep. You can write for a future where desktops boast single-core speeds in the 10GHz range. That's how you get Crysis, which still has performance issues on the latest CPUs.
165.
▲
by
clarry
6y ago
> If you can't take a read-only copy of the engine and implement a game on top of that then you don't have an engine. Marketing will still want you to name the 'engine' though! I guess id Tech 1 -- which they licensed
166.
▲
by
clarry
6y ago
My Thinkpad was very poorly supported by Debian Stale when I bought it. I guess it would've been roughly one-year-old at that point.
167.
▲
by
clarry
6y ago
I can fit over 500 lines of code on my screen but I still prefer dense code. There's just something nice about not needing to jump around so much (whether with the eyes or the cursor or file), and being able to see more of the forest
168.
▲
by
clarry
6y ago
Maybe they're not breaking bank but for a company whose revenue is measured in billions, moving the needle by .1% is worth millions.. I know many Linux users who have abandoned competitors (GOG..) for Steam due Linux support.
169.
▲
by
clarry
6y ago
> Ubuntu got worse at 18.04. Logging in on desktop now requires "swiping up" with the mouse to get the password box. Have you tried pressing a key?
170.
▲
by
clarry
6y ago
> We can look outside of our windows now and see the solution. It's doing less, it's working less, it's not polluting the world, it's consuming less and producing less. Radically so. And this requires revolution becau
171.
▲
by
clarry
6y ago
> Can't we come up with a simple, good technical solution to identify hosts? We can, but every single solution is a set of trade-offs and even geeks will never agree on what's the right set of trade-offs. If the people who cou
172.
▲
by
clarry
6y ago
I've considered creating this exact thread multiple times because it rhymes with the regular "Who is hiring?" threads. I think it's fine.
173.
▲
by
clarry
6y ago
I can tell you that working with legacy turd (that will probably run for another decade or more) isn't necessarily much better. Again the deadlines and lack of planning ahead bites. Look we just need this little feature now, it can&#x
174.
▲
by
clarry
6y ago
Otoh Vim has some good stuff out of the box that emacs sorely needs. Completion? ^N/^P and the same prefixed with ^X are very useful, no configuration required, and I have not found anything like that for emacs. Ctags works out of t
175.
▲
by
clarry
6y ago
Yeah there's this dilemma. Emcas, out of the box, seems stable enough (and performs well enough?). But for many of us, the features it offers ootb are nowhere near enough. So you start installing packages and it quickly turns into a
176.
▲
by
clarry
6y ago
Since you use evil.. does term-char-mode work? Can you send C-x or C-z to the application? (without a workaround like (term-send-raw-string "^X"))
177.
▲
by
clarry
6y ago
> Banning Amazon from selling nonessential items seems detrimental to society. My hot take: having companies, that are so large that banning them is detrimental to society, is detrimental to society and extremely dangerous. We should ne
178.
▲
by
clarry
6y ago
I left before I got into it. It seemed like the whole field went to web & mobile & saas, none of which I care for. And interesting things like OS research got largely killed by excessively complex hardware & software stacks an
179.
▲
by
clarry
7y ago
Yeah not really worse off, just worse off than all their neighbors? They have roughly an order of magnitude more deaths per million than Finland does (11.6 vs 99). We're somewhat locked down in Finland.
180.
▲
by
clarry
7y ago
> Do you think such behavior is consistent with the C89 Committee's intention as expressed in the Rationale? No, but in general I'm ok with integer overflows causing disruptions (and I'm happy that compilers provide an al
More ›