Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unwind
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
961.
▲
by
unwind
4y ago
Sure, but only if the text file looks like a C string literal, i.e. starts and ends with double quotes (which would make it into a weird text file). Doing const char *s = " #inclued "test.txt" "; won
962.
▲
by
unwind
4y ago
Uh, sorry for possibly seeming dense, but did you mean to write "cobain" there? What does that mean, in this context? All I can find searching the word is of course about Kurt Cobain ... wondering if you somehow abstracted "a
963.
▲
by
unwind
4y ago
I had to read your comment twice, I first mis-read "pom" as being a badly kermed [1] "porn", which made the entire thing hard to parse. Then I realized I wasn't sure what "pom" means (not a native speaker,
964.
▲
by
unwind
4y ago
Yeah, thanks for the support. I guess I need to work on my tone, less snark more helpful. It's a bit comforting at least that people like you exist, who are web developers but still didn't know this one. :)
965.
▲
by
unwind
4y ago
What would you suggest instead? Being able to link pre-compiled object files to a new program is certainly a bit more than "a kind of incremental compilation", in my opinion. It's also a fairly clean solution to the problem o
966.
▲
by
unwind
4y ago
CORS = Cross-Origin Resource Sharing. There, that wasn't so hard, was it? I assume this is written for web developers who find this the most familiar acronym in the world, but ... still, it would not kill anybody to include the definit
967.
▲
by
unwind
4y ago
Very interesting project, but I must admit I raised an eyebrow when the author said it was nice to use an ATtiny25(8-bit core) instead of the usual (32-bit) ARM micro controllers, then proceeded to use float in the code all over the place
968.
▲
by
unwind
4y ago
I was going to post a comment about the regex used to (coarsely) validate email addresses made no sense, but when I opened the article in a new tab to copy for quoting, it had changed. :) It's now "^[^@\\s]+@\\S+$" w
969.
▲
by
unwind
4y ago
Yes, it's really cool to see. I imagine it's really scary to experience in a less dramatic situation, i.e. when you're not crashing but still having the bag inflate while in the driver's seat (hit when standing still etc
970.
▲
by
unwind
4y ago
Very good question, grandparent is ... intriguing. I found a Japanese-market tv [1] but don't think it runs off 9 volts very well. [1]: https://www.amazon.co.jp/-/en/HT-SB115-65UB10PB-Speaker-Blue...
971.
▲
by
unwind
4y ago
I learned C after years of first Basic, then MC68k assembler (Amiga 4ever etc). Pointers never seemed hard or confusing at all. :) #lifehack
972.
▲
by
unwind
4y ago
Oooh that issue also has a preview of the Commodore Amiga, with epic block diagrams and tech specs. Having grown up learning the ins and outs of the Amiga 500, that is really nostalgic. Also seeing "Computing at Chaos Manor", Jerr
973.
▲
by
unwind
4y ago
Sitting even further north than Denmark, the OP did say that their melons are imported. Although it's possible to grow them in Denmark (especially in a greenhouse) perhaps it's not commercially viable. Regardless, I guess the OP j
974.
▲
by
unwind
4y ago
That is ... a bit weird, since C does not assume, recommend or require that non-heap variables are implemented using a stack. It's weird to teach a language while also ripping a hole in one of its main abstractions and assuming stuff a
975.
▲
by
unwind
4y ago
Gasoline cars have sparkplugs, so it's not really a strange association. At least not in my opinion. In fact, I guess in gas cars sparks are "better" since they are engineered in, and doing useful work.
976.
▲
by
unwind
4y ago
Uh not a native speaker, but the very first sentence of that blurb: Brand Licensing provides the permission to trademarks, under defined conditions. Really doesn't read well to me, feels like they omitted a verb, like it should be &q
977.
▲
by
unwind
4y ago
True of course, didn't think about that. I'm not a web developer. :) Still think it's weird and kind of against my feeling for the spirit of a URI, but that's just me. Thanks.
978.
▲
by
unwind
4y ago
E17 is a postcode area [1] in East London, this was not very clear to me upon first reading. [1]: https://en.wikipedia.org/wiki/E_postcode_area
979.
▲
by
unwind
4y ago
One (IMO reasonable) objection/confusion might be that the the repo URL is the exact same as the web page, i.e. the actual posted article. When coming from git/Mercurial/subversion etc as I do, it is at least mildly weird tha
980.
▲
by
unwind
4y ago
The name Tandy is still associated with leathercrafting, see [1]. No idea if the name has changed hands or whatever, but it's quite fun that it's still around. [1]: https://tandyleather.com/
981.
▲
by
unwind
4y ago
Interesting interview, some rather ... direct opinions like the title showed. I had to go look up [1] to resolve the ambiguity, that was not the language he meant (as I assumed). [1] https://en.m.wikipedia.org/wiki/Amig
982.
▲
by
unwind
4y ago
MEMS [1] is, I believe, the name you're looking for. Lots of cool detail on the Wiki page. [1] https://en.m.wikipedia.org/wiki/Microelectromechanical_syste...
983.
▲
by
unwind
4y ago
I believe HN filters out numbers at the start of the title.
984.
▲
by
unwind
4y ago
$125 to squirt cutting oil in style in your garage, heh. Almost makes me glad I'm not into machining!
985.
▲
by
unwind
4y ago
Yeah, and it's not enough to do e.g. d = random_block() for block in capacity: block.write(d) if block.read() != d: fail("fake disk") Since that would be fooled by a device mapping all reporte
986.
▲
by
unwind
4y ago
Ars [1] has a pretty decent article with a bit more depth. Still no mention of the cell's basic voltage which I thought was like the number one piece of information for a new battery chemistry. [1]: https://arstechnica.com&#
987.
▲
by
unwind
4y ago
Meta: this seems to be a classic case of an insufficiently dated web page, making it age not so well. There's no way this was just created, right? It seems so weird to say "until January" in August the year before ... Most li
988.
▲
by
unwind
4y ago
Wow, what a cool company! Makes me itch to order hundreds of feet of ball chain and make a huge chain fountain [1] to entertain the kids! [1]: https://en.wikipedia.org/wiki/Chain_fountain
989.
▲
by
unwind
4y ago
I love two things about that site, after discovering it now: - The fact that the ordering form does not compute the total price, and also asks you to manually keep track of adding $0.25/ea for orders under 100 pieces. - That they pract
990.
▲
by
unwind
4y ago
Uh no don't reassign the loop variable in the inner scope. Use: const j = (length - 1) - i; in that case. Much safer.
More ›