HNHacker News
TopNewBestAskShowJobs

bleakgadfly

2,388 karma · joined April 13, 2010

Code Purist
submissionscomments
bleakgadfly··on Ask HN: What's your quarantine side project?
As someone doing mostly C development at work I've really come to enjoy Zig in my side projects at home. At work we are moving a lot of newer development to Rust, which makes sense in terms of safety, the speed we want from C and "modernising"/becoming more attractive as an employer. However, when I'm doing projects for my own amusement at home I want something that doesn't feel like work, and getting into Zig and have something working took me no time. It's so easy to interface with C libraries that I can spin up most things with existing C libraries for the things Zig doesn't already provide itself.
bleakgadfly··on Ask HN: What's your quarantine side project?
Started on these at mid-March when the recommendation for quarantine came in effect in my country. Most are incomplete and WIP (I love switching back and forth between projects):

- Slack RTM bot which picks up my morning and goodbye messages in our channel and stash the duration into our time registration system so I don't have to do it manually. Using Slack library for Go, compiled to C library using gccgo for C ABI compatibility, then using Zig's cImport functionality to develop the bot in Zig (because why do it the easy way)

- mbedTLS bindings to Zig (Zig can generate alot of this out of the box, but I'm tailoring it by hand)

- HTTP/1.1 client in Zig, ties into the mbedTLS bindings I want to provide TLS support

bleakgadfly··on Tell HN: Braintree is no longer startup-friendly
> Then they just decided to shut down 2 of our newest customers and hold 100% of their funds ransom for 180 days

So Braintree supports payments through a number of providers, credit cards and PayPal, Apple Pay, etc. When you say they hold 100% of their funds, is this for PayPal payments via Braintree, or is it also credit card payments (i.e. payments directly to Braintree)? In other words, are the 100% fund you mention stored at PayPal?

The reason I'm asking is because Braintree does credit card disbursement a couple of days (or something like that) after a credit card payment has been performed. So if they shut a customer down, wouldn't they "only" hold the money from the first transaction after the last payout, till the shutdown occured? In other words, if the last payout from Braintree happened on Monday, and there was another transaction on Tuesday due to be paid out to the merchant by Braintree on Thursday, and Braintree shut them down on Wednesday, this would mean the "100% funds" mentioned is the transactions happening on from Tuesday till Wednesday, since they were shutdown on Wednesday?

I hope the question make sense! Just trying to make sense of this :-) (using Braintree as well, but not Marketplace)

bleakgadfly··on Docker Official Images Are Moving to Alpine Linux
Alpine Linux has a glibc solution. The glibc problem lies with other applications.
bleakgadfly··on Using the __cleanup__ variable attribute in GCC
Expert C Programming: Deep Secrets (http://www.amazon.com/Expert-Programming-Peter-van-Linden/dp...)

Advanced C: Tips and Techniques (http://www.amazon.com/Advanced-Techniques-Hayden-Books-Libra...)

bleakgadfly··on Microsoft puts its spin on JavaScript with TypeScript
I can relate to the unstableness of the TypeScript intellisense for VS2012, although Web Essentials 2012 does improve things.

However, I easily trade the unstableness of intellisense for the type-safety of TypeScript.

bleakgadfly··on Great HN parody
Also: "I made something awesome in a functional language"
bleakgadfly··on Nu programming language
> The service is not available. Please try again later.

Great stuff.

bleakgadfly··on Node.js getting better in Windows Azure
I gotta say, I'm pretty impressed with how Microsoft go in for supporting all these relatively new technologies on their own stack. Considering what they've done in the past.
bleakgadfly··on Duck Duck Go's traffic has tripled in 2012
Have you set your regional settings in DDG to "Sweden"?

Heres a comparison between search results when I chose "English" vs. "Norwegian" on a Norwgeian term: http://i.imgur.com/ReIa5.png

bleakgadfly··on Julia is a high-level, high-performance dynamic programming language
Again?
bleakgadfly··on Linus Torvalds on C++
I find it interesting how 'everyone' seem to hate C++, yet, so many uses it. If C++ is so bad, why does people continue to code with it? Personally I have just started to look at C++ due to Microsofts integration with it on WinRT/Metro for Windows 8.

I mean, MongoDB, Node.js, Microsoft's Windows Runtime (which provides access to the systems API for both JavaScript, C#/VB.NET and C++), MySQL, Membase, Haiku, Chromium are all notable examples of software written in C++ that seems to be quite well.

bleakgadfly··on Ask HN: Anyone gained traction on HN *without* any of their friends upvoting?
Likewise.
bleakgadfly··on Hacker News rips off Reddit or so Mashable claims...
Wikipedia says HN was created in 2007 and Reddit in 2005.
bleakgadfly··on Poll: Do you have a Facebook account?
I had one many years ago but deleted it when they hit the fan regarding privacy. However, after the last update by Mark Zuckerberg about the improvements in Facebook privacy and the decision by FTC to regulate privacy made me change my mind.
bleakgadfly··on Ask HN: Webapps you can't live without?
* Github (http://www.github.com) - This and HN/Reddit for fun. I use Github to review my previously comitted code, marking comments in the code of ideas and thoughts so I can correct them when I get home (for profit), and exploring different languages, profiles and projects (for fun).

* Workflowy (http://www.workflowy.com) - Dump all the stuff I might need to remember or note about a project or task here.

* Trello (http://www.trello.com) - Scrum-board for my tasks, planner for the summer vacation, my wedding, etc.

* Diigo (http://www.diigo.com) - To save bookmarks, notes on pages, highlights of stuff I might need to reference, etc

* Toggl (http://www.toggl.com) - To keep track of how many hours I work on each project

EDIT: Typo/format

bleakgadfly··on Show HN: osod.im (one sentence, one day - a one sentence journal)
Nice! Great idea!

However, your quote on the front page makes me think: Will osod.im be here years from now?

I love the concept, but I would hate to loose it if I did choose to start writing a sentence a day, describing what I've done or thought about. If only to look back at it once myself or potential children. Have you considered 'open sourcing' it? Making it self-hosting.

It would also be neat to have a bit more settings, like whether or not stuff should be public, etc.

But I read that you hacked this in one night and might not have thought about all this (but I hope you do now!)

bleakgadfly··on Poll: How much sleep do you get per night?
- Do you sleep continuously, or are you on a polyphasic sleep schedule?

I tried a polyphasic sleep schedule. And failed.

- How does your sleep schedule affect your work and the rest of your life?

Not that I can tell.

- Does the work you do affect your sleep?

No.

bleakgadfly··on Ask HN: Best book you read in 2011
"Clean Code: A Handbook of Agile Software Craftmanship" by Uncle Bob.
bleakgadfly··on Ask HN: Best book you read in 2011
I can strongly recommend this book!
bleakgadfly··on Ada Lovelace Day
Hmm, they've changed the date. It has "always" 24 of March.

Drama provided: http://blog.findingada.com/blog/2011/03/03/ada-lovelace-day-...

bleakgadfly··on Richard Stallman: “Android Phones Do Not Respect Your Freedom”
If we'd follow everything Stallman said we'd all be "surfing the web" one email at a time (http://thread.gmane.org/gmane.os.openbsd.misc/134336/focus=1...)
bleakgadfly··on Please tell us what features you'd like in news.ycombinator
Hacker News swag.
bleakgadfly··on Usenet is officially dead ...
That thread spiraled into the absurd