HN user

bleakgadfly

2,388 karma

Code Purist

Posts112
Comments24
View on HN
securitylab.github.com 6y ago

A case study in hunting for network integer arithmetic flaws

bleakgadfly
1pts0
hackaday.com 7y ago

That’s a Lisp Machine in Your Pocket

bleakgadfly
2pts2
blog.notdot.net 7y ago

Damn Cool Algorithms: Log structured storage (2009)

bleakgadfly
2pts0
www.forbes.com 8y ago

Norway Calling All U.S and U.K. Tech Hipsters

bleakgadfly
1pts0
json-schema.org 8y ago

JSON Schema

bleakgadfly
2pts0
microservices.io 8y ago

Patterns of Microservice Architecture

bleakgadfly
2pts0
idea.popcount.org 8y ago

Bind before connect (2014)

bleakgadfly
2pts0
chrisseaton.com 8y ago

Katahdin: a programming language where syntax, semantics are mutable at runtime

bleakgadfly
4pts0
mobile.nytimes.com 8y ago

To Protect Voting, Use Open-Source Software

bleakgadfly
228pts229
ivorylang.org 9y ago

Ivory Language: a safer C, embedded in Haskell

bleakgadfly
2pts0
picolisp.com 9y ago

PicoLisp OS on bare metal x86-64

bleakgadfly
3pts0
tech.noredink.com 9y ago

Introducing Elm to a JavaScript Web App

bleakgadfly
2pts0
citeseerx.ist.psu.edu 9y ago

Crash-only Software (2003) [pdf]

bleakgadfly
1pts0
tinyclouds.org 9y ago

Automatic Colorization

bleakgadfly
37pts3
www.rasterman.com 9y ago

GOTO is Awesome

bleakgadfly
2pts0
www.facebook.com 9y ago

Facebook Peering

bleakgadfly
7pts1
en.wikichip.org 9y ago

The mIRC Scripting Language

bleakgadfly
2pts0
shiny.rstudio.com 9y ago

Shiny: A web application framework for R

bleakgadfly
1pts0
james-forbes.com 9y ago

The Perfect API

bleakgadfly
2pts0
qz.com 9y ago

Want your startup to be funded? Add .AI

bleakgadfly
2pts0
www.joelonsoftware.com 9y ago

The Duct Tape Programmer (2009)

bleakgadfly
1pts0
behdad.org 9y ago

State of Text Rendering (2012)

bleakgadfly
44pts1
stackoverflow.com 10y ago

Why does the statement “2i;” Not cause a compiler error?

bleakgadfly
2pts0
snai.pe 10y ago

Implementing smart pointers for the C programming language

bleakgadfly
2pts0
github.com 10y ago

JSAwk

bleakgadfly
3pts0
www.youtube.com 10y ago

F-16 flying low through Trollfjorden [5:17]

bleakgadfly
3pts0
blog.llvm.org 10y ago

What Every C Programmer Should Know About Undefined Behavior (2011)

bleakgadfly
3pts1
www.troyhunt.com 10y ago

C is for cookie, H is for hacker (2013)

bleakgadfly
1pts0
github.com 10y ago

The Guardian front end source code

bleakgadfly
2pts0
kqueue.org 10y ago

Memory allocator security revisited (2012)

bleakgadfly
2pts0

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.

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

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)

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.

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.

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.

* 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

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!)

- 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.