Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
buserror
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
361.
▲
by
buserror
10y ago
Heh, actually that's one of the few message on HN that wants me to start the message with 'LOL' because I actually did! I'm french, I cook, I eat, and drink in pretty reasonable amount, and I'm a muscular 90Kg - wit
362.
▲
by
buserror
10y ago
Personally, for the social aspect, I'm just quite open about it -- I just try not to go to the pub/restaurant etc but if the topic comes up, I just claim I'm becoming a shaolin monk and currently working on my kung-fu. Try th
363.
▲
by
buserror
10y ago
Well I also enjoy cooking (a lot!), thus the need to 'reset' sometime. What I hate is counting calories, with the fasting I can pretty much eat as much as I like without having to worry, and when I feel I've done a bit too mu
364.
▲
by
buserror
10y ago
You don't eat. At all. Nothing. It's not that hard really, as mentioned, the first day is a bit hard, but after that you are no longer hungry anyway.. I have sometime a glass of fruit juice in the morning, coffee, and water. The t
365.
▲
by
buserror
10y ago
I often have a glass of fruit juice in the morning to get a bit of a kick. It also helps when you have a bit of 'metalic taste' in the mouth. Otherwise it's coffee in the morning, I'm a developer after all, code isn'
366.
▲
by
buserror
10y ago
How can you do this that often? I mean, I can do it once a month, or perhaps once every other week for 2 or 3 times but I lose so much weight that I never /had/ to do it more than that; In fact, one 5 day fast usually slims me dow
367.
▲
by
buserror
10y ago
I agree with that; I do my fasting during the working week, my typical one is 3 to 5 days, starting sunday evening and more often than not, finish by a fantastic meal on the friday evening. I haven't tried longer than this, as it suits
368.
▲
by
buserror
10y ago
I rather disagree with that short fasting time. The only real hard day is the first one; so just doing two days is a 'bad deal' I find, you get most of the inconvenient (the first day), and very little in terms of benefits. By the
369.
▲
by
buserror
10y ago
It's your mindset perhaps? Do you resent something in particular? Personally I make it an 'event'. After 4 of 5 days fasting, on the last day I go shopping and prepare myself something /special/ and in quantity! Bec
370.
▲
by
buserror
10y ago
No, AND they are actually useful for any sort of problem, like, reading a records from a file and that sort of stuff. Heck, I wrote one last week [0] because it's quick to implement and does the job. Same applies for the double-linked
371.
▲
by
buserror
10y ago
3d printer bubble continuing to slowly convert itself into a large pile of plastic spaghetti. There are still some people who haven't heard that they aren't terribly useful in the end, unless you are the kind of people who lik
372.
▲
by
buserror
10y ago
To be fair, I've been using a Panasonic DMC-GM1 with a 14mm pancake for a few years and I don't really see how the DL would have improved on that... A bit more speed, but then again the GM1 is not even on sale anymore and Nikon f
373.
▲
by
buserror
10y ago
It's not entirely true. Copland microkernel was in (hidden) in System 8.5 onward, and provided preemptive multitasking, file mapping, timers etc. It's just that the only real 'task' on it was the old cooperative OS. They
374.
▲
by
buserror
10y ago
I'm fairly sure than in the UK, Asphalt aggregates are made with a planned obsolescence in them. Of course, I only have my own personal experience and just a little probing of someone who works in the industry who has evaded my questio
375.
▲
by
buserror
10y ago
The trick is on the PT_ macros really, they hide the switch, case and gotos. I'll post the header later, but you probably can find it by googling for protothreads
376.
▲
by
buserror
10y ago
I posted a gist [0] sorry it's not really made for public scrutiny, it's an old pet project clock, a video of most of that code is still there: https://plus.google.com/+MichelPollet/posts/ARDMrY4jSxp Tha
377.
▲
by
buserror
10y ago
I use duff's all the time in micro-embedded; best way to have 'coroutines' without all the necessary stack switching interface. It has it's limitations of course, but it's a terrific tool in certain circumstances.
378.
▲
TERES I DIY Open Source Hardware and Software Hacker-friendly laptop is complete
(olimex.wordpress.com)
96 points
by
buserror
10y ago
|
31 comments
379.
▲
by
buserror
10y ago
Yes it's strange, it's one of the reason I stopped using C++ as a matter of fact. Given the innate amount of code required in C++ constructor to initialize objects, you'd think that would be very handy. BTW, shameless plug, b
380.
▲
by
buserror
10y ago
I'm not a super experienced hardware guy, altho I do quite a few bits and bobs, and I always found the graphical entry of schematic... silly. As a lifelong software developer, entering schematics with little boxes and lines seems rough
381.
▲
by
buserror
10y ago
Yep, because many firewalls ALSO block websockets; so comparing it to crowbar for speed isn't terribly fair, as crowbar only uses POST/GETs.
382.
▲
by
buserror
10y ago
Might be just Patent related; but to be fair to DJI, they DO make the best (and by far) cameras for that volume you can get anywhere -- getting their hands on Hassy with their knowledge of optics is clearly going in the right direction. I j
383.
▲
by
buserror
10y ago
-Werror used to be the way to go, until compiler writers decided to add warnings for idiotic reasons. Like 'confusing indentation' or 'unused static const variables'. Seriously, these two are completely idiotic; why woul
384.
▲
by
buserror
10y ago
Well, you CAN do simplified C++. Apple even had their own version of it called 'Embedded C++' (the drivers in OSX are like that) -- basically, remove RTTI, exceptions, templating and a few other bits and you get a C with namespaci
385.
▲
by
buserror
10y ago
Cool, why the parallel project, if I may ask? What did you find you needed 'better' than talloc? :-)
386.
▲
by
buserror
10y ago
I don't know, if my large, commercial application suddenly starts taking twice the memory, or takes twice the time it used to take to start, can I 'have it'? And if I can 'have' that, where do I stop? That was my pr
387.
▲
by
buserror
10y ago
I personally use libtalloc [0] for my allocations in C. Small footprint, excellent feature set, and it has heap checks, reference counting and all the gizmos you'd like in an allocation library. It's actually awesome, I highly rec
388.
▲
by
buserror
10y ago
I love C, I really don't see what the fuss is about about 'replacing' it really. It's a sharp tool, requiring care and attention. I did C++ for about 20 years, and gradually reverted to C, simply because of the footprint
389.
▲
by
buserror
10y ago
I haven't posted about it yet, as I wanted to clean up the branch before I do, and I ran out of time; work to catch up and so on :-) libtcc is /massively/ clever, it will 'link back' to your (exported) ELF symbols a
390.
▲
by
buserror
10y ago
Check my other post: I've recently made a Atmel AVR translator to C and JIT compile it with libtcc. It's actually pretty trivial! https://github.com/buserror/simavr/tree/jit-wip
More ›