HNHacker News
TopNewBestAskShowJobs

devbug

876 karma · joined March 12, 2012

submissionscomments
devbug··on Backslash must die
In my experience, FindFirstFile and friends don't eat forward slashes, unfortunately.
devbug··on Dropping Webhooks
I'd love an open-source appliance that lets me turn webhooks (and polling APIs) into a kind of pub-sub. Being able to inspect, modify, and run events would be an "immediately use this" feature set.

It would be something I would pay for to not have to host myself, but iff there's a clear migration path, i.e. it's open-source.

devbug··on Statically Recompiling NES Games into Native Executables with LLVM and Go (2013)
TLB :)
devbug··on Ask HN: How to handle 50GB of transaction data each day? (200GB during peak)
Sounds like you know your stuff!

I couldn't find any email on your profile, do you mind sharing it?

devbug··on Proposal for a packaging system for C++ [pdf]
shudder

MinGW is alright... until you try targeting x86_64.

devbug··on Stack traces on ESP8266: a GDB server stub
Happy to help.

To expand upon my 4am ramblings:

There's two ways your code is going to fail, (a) Your Lua is going to die in a pcall (or friends); or (b) Your C/C++ (or similar) code has its front fall off.

In the former case, you just wrap with an xpcall and append your Lua callstack to your C++ callstack. Nothing fancy. You can of course go further, using lua_Debug to get the value of upvals and all that jazz.

However, in the latter case you have no guarantee that your application is in a sane state; you have no (solid) assumption that you can go the lua_Debug route, say from a segfault handler. You'll have to walk the callstack, and when you hit lua_whatever, prod internal state.

Both methods are really helpful. Say you're writing a game engine, knowing how to reproduce a catastrophic failure with a small Lua snippet, closes the feedback loop and make debugging a hell of a lot easier.

There's definitely a product and SaaS around this (much more expanded), with a Gitlab or Sentry business model.

devbug··on Stack traces on ESP8266: a GDB server stub
Immediate thoughts go to `debug.traceback` (via xpcall). You're on your own when it comes to Lua<=>C boundaries, however. Now, if you're talking about _manually_ walking the stack... this will point you in the right direction: http://zeuxcg.org/2010/11/07/lua-callstack-with-c-debugger/
devbug··on Buddybuild: Build, deploy and gather feedback for iOS and Android apps
Awh man is this cool!

I had a similar idea kicking around for a while (for a different market) because you end up managing disparate targets (including multiple digital distributors for one platform) each with their own slightly broken of doing things. It. Sucks. Hard.

Now that I'm only tangentially involved with the market my previous experience (of intense pain) is reduced, but has been replaced with iOS and Android.

I'm looking forward to using BuddyBuild for the next app I work on.

How are you handling the Apple side of things? Last I checked, you had to store full credentials to someone's Apple ID. Looks like you are doing exactly that.

My big concern is that you're siloing my credentials so they won't get leaked. How are you doing that?

devbug··on China stock trading halted early after 7% plunge again
Canada definitely is!

:'(

devbug··on Fai0verflow: Linux on the PS4 [video]
So, Xenia.

https://github.com/benvanik/xenia

devbug··on The $10,000-a-year college education has arrived (1981)
One argument I've encountered that holds water, at least with regards to being unable to discharge student debt: you can't repossess someone's mind. (Technically you can, but that'd be a messy affair.)
devbug··on Phoenix 1.1 Released
exrm + conform
devbug··on Dentists reveal new tooth decay treatment
Off the top of my head:

* Modified Stillman's

* Floss properly; "scrape" gently with the floss.

* Water rinse after acidic drinks (like red wine). Brush a half hour after that.

devbug··on Ask HN: What is your favorite startup that you are following right now?
They're pushing for it.

Have you seen the new email campaign they're running?

devbug··on Static Website Generators Are the Next Big Thing
Have you tried Webhook?

http://www.webhook.com/

devbug··on CISA passes Senate
At worst, I'll get annoying advertisements for burqas. Don't see how these are comparable.
devbug··on What PostgreSQL has over other open source SQL databases: Part II
I just purchased Postico a few days ago. It's already money well spent. Obviously Postico needs time to ripen, but it's already been a huge productivity boost.
devbug··on The spreadsheet as a minimum viable CMS
Have you looked at Webhook?

http://www.webhook.com/

devbug··on Ask HN: What visa do foreign YC founders use to stay in US beyond 3 months?
Would brining in a third "co-founder" until you get your H-1B, then firing them work?
devbug··on Libraries Used in the Top 100 iOS Apps
Well, you can get the emails for a whole bunch of iOS developers for a small fee...
devbug··on Amazon QuickSight – Business Intelligence by AWS
Interesting. Mind going more in-depth?
devbug··on Why Intel Added Cache Partitioning
Feature, obviously.
devbug··on Why Intel Added Cache Partitioning
In my experience, none change the source-code themselves.
devbug··on Why Intel Added Cache Partitioning
Ah, I see where you may have got confused.

I meant regarding the automatic application of rules based on profiling.

devbug··on Why Intel Added Cache Partitioning
Yeah. Nothing ground-breaking here.

Would still love to have a great open-source tool for this.

devbug··on Meet Model X
I much prefer this initialism.
devbug··on Google Nexus 5x and 6P
I'm waiting too... but I'm getting rather antsy.
devbug··on The Jason Bourne Aesthetic
There were no government conspiracies prior to Iran-Contra affair?
devbug··on C++ Core Guidelines
Regarding

     drawline
You can always define an implicit constructor:

    Point::Point(const Library::Point &p)
Of course, you're now hiding a ticking time-bomb from a the next maintainer of that code.

If you absolutely want the latter case, overloading is your friend:

    drawline(int x1, int y1, int x2, int y2);
    drawline(Point p1, Point p2) {
      drawline(p1.x, p1.y, p2.x, p2.y);
    }
This, in my opinion, is the most conducive to refactoring (and modularizing code).

As an aside, you really should be doing:

    drawline => drawlines
"Where's the one, there's many."
devbug··on Launching a product in just 3652 days
What's your product? I couldn't find it via your profile.

What are (were?) those those few decisions? Are they generalizable?

← PreviousPage 3 of 5Next →