Better HN
topnewbestaskshowjobs
Log inSign up

devbug

886 karma · joined Mar 12, 2012 (14y ago) · 183 submissions

Submissions

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

Dollar Shave Club... but for Scandinavia.

Or a brutally fast Handlebars implementation.

comment 11y ago · link · parent

You can do this in Chrome, already.

comment 11y ago · link · parent

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

comment 11y ago · link · parent

Not to my knowledge, no.

Sorry.

comment 11y ago · link · parent

Multiple. Scaling to a multitude takes a lot of effort.

comment 11y ago · link · parent

Can you sublet?

comment 11y ago · link · parent

Both Lua and LuaJit.

https://github.com/LuaDist/lua

https://github.com/LuaDist/luajit

comment 11y ago · link · parent

All I can think is... Poe's Law.

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

comment 11y ago · link · parent

Why has no one created a bot for this?

comment 11y ago · link · parent

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

comment 11y ago · link · parent

Ironically, more accessible for the blind.

comment 11y ago · link · parent

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.

135.

Ask HN: Why has no one created a plug-and-play box for VPN?

3 points · by devbug · 11y ago · 3 comments

comment 11y ago · link · parent

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

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

ryg too wrote about "magic ring buffers" 3 years ago: https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff...

comment 11y ago · link · parent

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

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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

comment 11y ago · link · parent

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

144.

Apple's libc shells out to Perl to implement wordexp(github.com ↗)

103 points · by devbug · 11y ago · 47 comments

comment 11y ago · link · parent

Bex (http://www.bex.io/).

comment 11y ago · link · parent

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