HNHacker News
TopNewBestAskShowJobs

haldean

1,185 karma · joined November 3, 2010

http://haldean.org

[ my public key: https://keybase.io/haldean; my proof: https://keybase.io/haldean/sigs/b8iMYgBztqHNxdzpE22mUbizveJMjo8AbBnxJimUpIU ]

submissionscomments
haldean··on Ask HN: Is sqlite good for long-term persistence?
C will definitely be around in 30 years, and the source of SQLite is a single C file; if you want to be really careful, just store both the C source and your data?
haldean··on An Even Easier Introduction to CUDA
Which era of MacBook Pro? Many of them have Nvidia GPUs in them.
haldean··on An Even Easier Introduction to CUDA
CUDA C++ is technically its own language, which is mostly implemented using a preprocessor; nvcc performs some translation and then passes generated C++ to your compiler of choice. The kernel launch syntax, along with a few implicit includes and macros for __device__ and __global__ are (afaik) the only things that really distinguish it from vanilla C++.
haldean··on Online migrations at scale
You could use a tombstone record instead of deleting outright, and the batch update could skip copies that have corresponding tombstones.
haldean··on SQLITE: JSON1 Extension
Looks like you can't index based on JSON in SQLite, so they might be optimizing for different metrics?
haldean··on Snap Inc. S-1
A lot of people want to punch that dude.
haldean··on GitLab Database Incident – Live Report
All I could think as I read the postmortem was "I hope YP is doing okay". We've all been there, and I hope you're doing okay!
haldean··on Welcome, ACLU
Usually, organizations sell these lists to anyone who pays for them. It's not the ACLU's fault that left-leaning organizations perceived that list as valuable while right-leaning organizations didn't; my guess would be that right-leaning organizations bought the lists of new donors more frequently during 2008-2016.
haldean··on The Founder: A Dystopian Business Simulator
It's a 3D game, I think that's fair.
haldean··on Launch HN: Voodoo Manufacturing (YC W17) – AWS for Manufacturing
Oh, you mean PCB milling! Well never mind then; those three are all for metal and plastic milling. I worked at Plethora for a bit, I forget that "milling" means different things to different people.
haldean··on Launch HN: Voodoo Manufacturing (YC W17) – AWS for Manufacturing
If you're looking for milling in the sub-1k range, you should check out Fictiv, Protolabs and/or Plethora.

(I hope this doesn't count as thread hijacking! Just trying to help.)

haldean··on Testing Ads in Facebook Messenger
Realistically, how would Google sync texts between devices without sending your texts to Google? And once you're doing that, why not use Hangouts, which does, in fact, do pretty good cross-device sync?

I ask as a fellow Google-avoider; I think your competing requirements are asking for an impossible thing.

haldean··on mJS – A new approach to embedded scripting
This looks a lot like Lua's FFI interface[0], which is a compliment (but contradicts the statement that this sort of FFI is "the feature that no other engine implemented so far"). Nicely done.

[0] http://csl.sublevel3.org/post/luajit-cpp/

haldean··on Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust
tmux has copy-mode (^B : copy-mode <enter>) which lets you scroll through history and copy out snippets without using the mouse. There are also some tips out there for nested tmux sessions.

For what it's worth, I use tmux just like the author of this project: a single urxvt terminal with tmux running inside (no scrollbars, tabs, menubars, etc) and it works for me.

haldean··on Blue Ocean
You can "apt-get install jenkins" and go straight to the webui. Or are you talking about restoring a configuration as well?
haldean··on Blue Ocean
...sort of. I eventually rage-quit Circle and set up a Jenkins cluster because of all of the heisenbugs we found on Circle. Builds would fail 5-10% of the time for totally unreproducible reasons (for example, pip install into a venv would fail with a permission error), and you can't SSH into a build that's already failed. We very rarely had problems with Jenkins builds, and when we did, we could go look at the environment it had run in and diagnose what went wrong. I love Jenkins and would absolutely choose it over a hosted solution.

(We also went from paying $1k/mo to $0/mo, which is a very nice side effect)

haldean··on Tech workers pledge to never build a database of Muslims
> work as executioners currently in the US

[citation needed]

haldean··on Filmmakers Ask Nikon and Canon to Sell Encrypted Cameras
> Locally encrypting files would require the user to enter a password every time they switched the camera on. Which is a usability nightmare.

This isn't true: you could use asymmetric crypto and encrypt the photos/video with the journalist's public key, leaving the private key at home. Encrypting to a private key does not required a shared secret. This prevents the journalist from decrypting the photos even if pressed to by authorities, assuming that "home" doesn't include the authorities' jurisdiction.

haldean··on HIP: Convert CUDA to Portable C++ Code
It's a poorly-chosen title but a very cool project: it's not a source-to-source translator, you as a programmer are writing C++ instead of CUDA, and it compiles down to either CUDA or ROCm depending on whether you've got an NVIDIA or AMD GPU.

Very cool!

haldean··on Pebble CEO explains why he sold to Fitbit
The original Samsung Galaxy Gear[0] had one, but it was very low-resolution and kind of creepy[1].

0: http://www.samsung.com/uk/consumer/mobile-devices/wearables/...

1: even the marketing video has a guy taking creepshots: http://www.theverge.com/2013/12/22/5235278/samsung-awkward-g...

haldean··on Why Kakoune – The quest for a better code editor
If you just replace 'd' with 'y', though, the example is a good one: hitting period would just yank the same thing again.

Edit: the yank example is actually way better, because you don't find out that you did something wrong until you go off and paste it somewhere else.

haldean··on Ask HN: What is something you do for clients that consistently blows them away?
+1 for Apache POI; we actually used that at Google for exporting XLS reports for ads.
haldean··on Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
Git from the Bottom Up is very good. Previous discussion: https://news.ycombinator.com/item?id=10199391
haldean··on Beating the Compiler
-march=native would almost certainly help, but I'm pretty sure -fstrict-aliasing is the default.
haldean··on Ask HN: Restarting the YC Podcast – who would be most interesting to listen to?
I agree with this. Also: what woodworking podcast is that?
haldean··on ICQ: 20 Years Is No Limit
Can confirm: everyone I knew in Belgium growing up used MSN, but no one I met at my American college had ever used it.
haldean··on Reasons not to use Uber
Then convince people that they shouldn't. Laws aren't written in a vacuum, so clearly other members of your community disagree with you; the right way to approach that is to engage with those who disagree and convince them you're right, not to flagrantly violate the rules.
haldean··on Reasons not to use Uber
Unlike in your metaphor, though, both Uber and AirBnB were breaking the law at the time they were founded; those laws were not written in response to them, but to prevent things like them from cropping up.
haldean··on A world without the Mac Pro
I'm actually not sure, I'll have to try that when I get back to my office. I always have a VM on one monitor and Windows on the other, so I never move things around. I might have to eat my words...
haldean··on A world without the Mac Pro
Some of these are valid, but:

* My Razer Blade 2015 has no problem driving its hidpi screen and my lodpi monitor, even at the same time

* My battery lasts 8 hours with a VM running, which is about as good as any MacBook I've ever had

* Multi desktop exists in Win10, Win+Tab lets you switch desktops

Windows isn't perfect, and I spent a long time on a combination of Linux and Mac machines, but my daily driver is Windows with a Linux VM for programming now and I'm perfectly happy.

← PreviousPage 5 of 11Next →