Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clarry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
clarry
7y ago
Eh, find -iname '*.s' in kernel source tree finds more than a thousand files and half a million lines in them.
272.
▲
by
clarry
7y ago
Same thing in Finland. There are new cars here and there but if you take a stroll around a dealership's lot, there are lots of cars shipped from Germany that have been used for a few years. I think the average age of a registered vehi
273.
▲
by
clarry
7y ago
Which washing machine was that? Which display was that?
274.
▲
by
clarry
7y ago
> 1.) While latency (in terms of how quickly you finish task) will increase, your bandwidth will increase too It has to increase to make up for the round trips you can't afford: you try to communicate more information in one batch.
275.
▲
by
clarry
7y ago
It's also possible that (too many) people treat this thing as a temporary distraction, throw their hands up in the air, and don't even try to be seriously productive; blame the conditions for no work getting done. Kinda like &quo
276.
▲
by
clarry
7y ago
Meh, I tend to wear the same things -- clothes, glasses, shoes, backpacks, until they're unusable. I don't wear them for fashion. I'd love a carefully crafted mechanical watch, maybe with a compass (if such things exist). Th
277.
▲
by
clarry
7y ago
> I write K for a living, and J for fun. Do you have a clear preference for either? If you could choose J at work, would you? Would you write K for fun? > (Also for what it's worth, the communities around vector languages do te
278.
▲
by
clarry
7y ago
> WFH. I've set up a designated space at home to work from with some proper ergonomics, and I'm interested in hearing general advice and recommendations about staying productive, striking the work/life balance, and keeping
279.
▲
by
clarry
7y ago
Depending on where in the world they are, local hires just might not be available.
280.
▲
by
clarry
7y ago
One remote company I applied to said they got about 2000 applications, and they interviewed about 2% (me being among them). And it wasn't some prestigious or well known company or a startup pulling off something crazy. Just a tiny com
281.
▲
by
clarry
7y ago
> In my opinion, requiring people to consult a professional only has benefit. People get help, employers get proof, doctors get work. I think it only has downsides. If people really need help, they can get it even if they're not re
282.
▲
by
clarry
7y ago
The other thing is that people might just treat this period of WFH as a temporary distraction (caused by external forces out of your control), which justifies lower productivity and a bit more goofing around than usual. Kinda like various
283.
▲
by
clarry
7y ago
> So what else do you do or say? I don't know, but if one can't think of anything better, then I think it's better to shut up, or just acknowledge the problem and be supportive but refrain from offering unwanted non-solut
284.
▲
by
clarry
7y ago
> You speak as though programmers scampering off for library functions to do everything is a bad thing. I consider it a wonderful thing. No, that's not what they are saying. They're just saying that to blame the representation
285.
▲
by
clarry
7y ago
Yep. I'd be happier to work with the C committee if they were a little more open. For example, their mailing list could be public.
286.
▲
by
clarry
7y ago
Do you really think you could not, even after taking a few weeks to study and practice?
287.
▲
by
clarry
7y ago
Well let me think of something. Maybe they know something about the virus and what happens when it mutates, comes back, and reinfects you? (Or maybe someone who thinks the know something told 'em that.) I mean I know nothing so that&#
288.
▲
by
clarry
7y ago
> Language design would be easy if it weren't for those pesky programmers :). What kind of a language would you make if time-to-learn-it were not a factor in it? I've been thinking about language design for years but I still ha
289.
▲
by
clarry
7y ago
> But I remain unconvinced that it's worth going all the way to code that can't be communicated verbally. Symbols can be communicated verbally. You can make up new symbols and give them a verbal meaning. I think the big issue
290.
▲
by
clarry
7y ago
And unsigned total(unsigned a, unsigned b) { return a + b; } is undefined behavior in C.
291.
▲
by
clarry
7y ago
> Readers: what is your take on it and why? It's ok to draw a line on what implementations you care about. And honestly, at this day and age, I couldn't care less about implementations that define NULL to be 0 (or something els
292.
▲
by
clarry
7y ago
Stack pointers can live just as long (for example, define some objects in main(), and they will exist for the duration of the program; hand out pointers like candy). An allocated object can be deallocated whenever. Dereferencing said point
293.
▲
by
clarry
7y ago
The next best thing is the latest draft standards, which are available online for free (and I always have them on my laptop, PC, and personal server). Differences between them and final official standard are not important. Search for N125
294.
▲
by
clarry
7y ago
I'm still connected to ircnet via my ISP's server. Not that it makes much of a difference from user perspective. Freenode works just fine and I don't need ISP's server for it.
295.
▲
by
clarry
7y ago
My bindings need to be state-aware, because they are evil. So a simple global override is actually not quite enough..
296.
▲
by
clarry
7y ago
> There isn't a guide to learn how things fail on platform, compiler, version, options combo. Yeah, that's the point. Chasing that knowledge is pointless. Instead, read the spec and find out what is legal and what is not. Wh
297.
▲
by
clarry
7y ago
The point is that you don't learn all the ways in which things fail in C by trying. At best, you learn the way in which they fail (or fail to fail!) on your specific platform/compiler/version/compiler options combo. If
298.
▲
by
clarry
7y ago
> Then why does it make a difference whether you dereference a pointer to the stack or the heap at any point in your program? Ok, I'll bite. What difference does it make?
299.
▲
by
clarry
7y ago
Well, OP asked for source of truth. Nothing comes as close as the standard itself. Honestly, I think any programmer writing C today should have it around for reference. And yeah you kinda need to read it too, or you won't be able to
300.
▲
by
clarry
7y ago
> It becomes 10x more valuable when I was deep into my career learning from the big shots. Yeah well OP said they've 15+ years of experience so.. > Especially with a language like C. It's not so straight forward without some
More ›