HNHacker News
TopNewBestAskShowJobs

devbug

876 karma · joined March 12, 2012

submissionscomments
devbug··on A “Hello World” Server in Prolog
Do you happen to know any good resources for becoming a power-user of DTrace?
devbug··on 37 rental cars – 2 days – 185,000 miles earned
It's plain and simple a market externality. https://en.wikipedia.org/wiki/Externality

"...an externality is the cost or benefit that affects a party who did not choose to incur that cost or benefit."

devbug··on AWS SDK for C++
Multiplayer...
devbug··on CloudFlare and Google Cloud Platform
Less severely, they themselves know the vast majority of sites users are visiting and the content they're being served. Valuable stuff for advertisers, among others.
devbug··on The xkcd survey
I just pasted a picture to heavy machinery.
devbug··on Things We Still Don’t Know About Water
I was on Nautilus Prime (or the ancestor to that?) and they hadn't renewed my subscription. Kind of annoying, really.

Noticed it was on sale, so I just picked up a two-year subscription. Suggest others do the same. Well worth it.

As an aside, I would also be willing to pay a _lot_ more for the quarterly, like 100-to-200% increase.

devbug··on Google’s look, evolved
Interesting. Are you open to training?

I've always viewed success as passionate curiosity. If the mindset is there, but not the skill, you can teach the later.

devbug··on WordSafety – Check a name for unwanted meanings in foreign languages
Dollar Shave Club... but for Scandinavia.

Or a brutally fast Handlebars implementation.

devbug··on Ask HN: What would you want in an ideal web browser?
You can do this in Chrome, already.
devbug··on Google’s S2, geometry on the sphere, cells and Hilbert curve
If you don't mind worse order-preserving behavior, you can use z-order curves. Encoding and decoding coordinates can then be done by (de)interlacing the bits of (X,Y), which is quite simple: https://fgiesen.wordpress.com/2009/12/13/decoding-morton-cod...
devbug··on When would you choose Erlang? (2013)
Not to my knowledge, no.

Sorry.

devbug··on When would you choose Erlang? (2013)
Multiple. Scaling to a multitude takes a lot of effort.
devbug··on YC Backs Portable Coffee Stand Called Wheelys (YC S15) to Take on Starbucks
Can you sublet?
devbug··on Ask HN: Good C codebases to read?
Both Lua and LuaJit.

https://github.com/LuaDist/lua

https://github.com/LuaDist/luajit

devbug··on Ask HN: Which functional programming language is the popular enterprise choice?
All I can think is... Poe's Law.

https://www.youtube.com/watch?v=ztVMib1T4T4

devbug··on Tech Startups Woo Investors with Unconventional Financial Metrics
Why has no one created a bot for this?
devbug··on Genius API
Man, is Hypothesis awesome. I'm bumping into it more and more, and lovin' it more and more everytime.

What kind of tech stack do you run? Last time I check it was mostly Javascript (ugh).

devbug··on Google Font Effects
Ironically, more accessible for the blind.
devbug··on The Story of Microsoft's Minecraft Buyout
In Minecraft's unusual case, it was already seriously de-risked when the first few employees were hired. The additions however, did keep the momentum going, and deserve a cut for that. Jeb immediately comes to mind.
devbug··on Why Is Mayonnaise Loved and Hated So Deeply?
It doesn't include monkey parts, I promise!

It's just a name for a mixture of a whole bunch of ingredients, notably onions and chutney.

Here's a recipe: http://www.food.com/recipe/monkey-gland-sauce-266015

devbug··on Why Is Mayonnaise Loved and Hated So Deeply?
Interesting. I have a penchant for dipping my fries into mayo, too. I'm from South Africa. Perhaps my Dutch genes contributed to that...

The inevitable mixture of monkey-gland sauce with mayo when eating steak, is well, nothing short of glorious.

devbug··on Show HN: Transform Your GitHub Issues into a Public Roadmap
First off, this is awesome.

With enough focus and effort you could really turn this into a stellar product that I would use daily.

I manage my most of development through GitHub. Unfortunately, the processes around getting user input and bug reports, communicating changes and updates back, etc. all suck. Usually, you have to marry a thousand-and-one services together and thereby die by a thousand cuts, or setup some customized process (manual, with automation eventually).

Having that all tie in/around GitHub would be such a time saver, and would reduce a lot of duplication of effort.

---

For example, I want to:

1. Setup a milestone.

2. Create issues for features, bug fixes, and re-factoring that needs to happen.

3. Communicate this to users.

4. Tie in user feedback.

5. Develop the product, providing releases on some schedule.

5. Rinse and repeat until the milestone is reached.

6. Release. That means tagging, running CI to generate for all target platforms (native, woo!), and getting a Github release put together.

7. Communicating and delivering that to end users.

---

I can achieve this with a hodgepodge solution, as I mentioned before, but one service would be killer.

devbug··on Mmap(): Now you're coding with portals
ryg too wrote about "magic ring buffers" 3 years ago: https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff...
devbug··on The Lost Art of C Structure Packing
Hah!

Only when the difference in performance is end-user discernible. I do make sure the code is well crafted in those bounds though. There's no _valid_ excuse for crafting ugly code.

Coincidently my stuffed toy that I have kept throughout my childhood was named "Mel the Pal." I just noticed the irony of that. :)

devbug··on The Lost Art of C Structure Packing
I know better than the compiler how my data is used. It is really simple as that. I can optimize with the totality of the program in mind while the compiler optimizes on heuristic like `order largest to smallest`. So yes, the compiler is doing it sub-optimally. Not to mention the repetitious hell it creates when writing C bindings, or memory-mapping structures, and so on and so forth.

In the end, however, my reservations are mostly due to a "get off my lawn" mentality.

devbug··on The Lost Art of C Structure Packing
Rust does structure packing automatically.

This is great for the general programmer (someone who is not knowledgeable or caring about details like this.)

Unfortunately, this blows for people who do (someone like me.)

devbug··on The Lost Art of C Structure Packing
Unfortunately it is not as simple when you have to account for different threads on different cores accessing the same structure, as mentioned in the article. [1] Or the performance implications of managing multiple instances of structures. [2] Or the alignment requirements for doing SIMD. [3]

Additionally, it sometimes makes sense to duplicate data to minimize cache misses. For example, translating/rotating/scaling entities in game engines. It makes sense to copy entity transforms (usually a matrix computed once) from a central manager to sub-managers for certain components. The memory overhead is traded for more efficient processing in sub-systems like rendering, animation, physics, etc.

---

[1]: http://en.wikipedia.org/wiki/False_sharing

[2]: https://software.intel.com/en-us/articles/a-case-study-compa...

[3]: https://software.intel.com/sites/products/documentation/docl...

devbug··on Why the Cool Kids Don't Use Erlang [video]
Bex (http://www.bex.io/).
devbug··on Why the Cool Kids Don't Use Erlang [video]
This was the bane of our (backend developers) existence at an Elixir startup. Even if you maintained typespecs--good luck!--and signatures it was still a nightmare.
devbug··on At The Washington Post, Jeff Bezos has the paper thinking global domination
I wonder if this is Bezos doing what he normally does, vertically integrating--Amazon Newspapers?
← PreviousPage 4 of 5Next →