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 We'll pay you $3000/mo to build your startup on Dark
Only tangentially related, but this thread seems like a good way to contact the team: the "engineering" and "operations engineering" job description links are 404s on this page: http://darklang.com/team/
haldean··on Tesla crash in September showed similarities to fatal Mountain View accident
That could be because the car is usually right when it thinks it's in danger; this crash happened because it incorrectly thought it was safe. Having an assistive device that emergency-brakes or steers around obstacles is great as long as there's very few false positives, as long as its assistive and not autonomous. Once it's autonomous, you need to have extremely, extremely low false negative rates as well.
haldean··on MesaLink: A memory-safe and OpenSSL-compatible TLS library
Out of curiosity, where has LibreSSL sat in relation to OpenSSL and BoringSSL, in your mind?
haldean··on UN: Facebook has turned into a beast in Myanmar
...except it didn't really spread democracy, at least not in a particularly long lasting way. Maybe what we've learned is that fueling populist uprisings isn't something that is particularly good, and that seems to be what Facebook is good for, politically.
haldean··on Internal Facebook posts of employees discussing leaked memo
I think the part of the memo that is so surprising to me is the company-wide acknowledgement of the bad practices we all talk about; I'm amazed that an executive would send out such a frank description of the misleading "dark patterns" that Facebook uses, even if people at the company know it to be true. I can't imagine that lawyers are going to be happy that there's a record of an executive saying this:

> All the questionable contact importing practices. All the subtle language that helps people stay searchable by friends. All of the work we do to bring more communication in. The work we will likely have to do in China some day.

haldean··on Magic Leap Ships First Set of Devices Under Tight Security Constraints
Yup, I worked on a hardware project at Google that eventually became Android TV, and when we sent out hardware units they were hand-delivered by Google employees in GPS-tracked, locked Pelican cases. Upon receipt, devs had to keep it in a safe when they weren't working on it, and if I remember correctly, we gave them little decoy cardboard boxes to put over it to hide the case design from passers-by while it wasn't in the safe. Sending out devkits always feels very "briefcase handcuffed to a dude in a suit".
haldean··on Using old laptop batteries to build homemade powerwalls
Something like this 50Ah battery pack?

https://www.amazon.com/Laptops-External-50000mAh-Portable-No...

Google around for external laptop batteries, they make some really big ones.

haldean··on Some software cannot be used at Google
You do not have to offer the source code using the source code or through the service it provides. If you just throw it up on GitHub or whatever it still counts.
haldean··on Google News Initiative
It's the domain they use when an engineering team doesn't make the website; this was probably made by a marketing team, so it doesn't go on google.com.
haldean··on Announcing Microsoft DirectX Raytracing
Isogeometric analysis is a means of doing finite element analysis over boundary representation models; FEA is used to physically simulate materials, and usually requires a polyhedral mesh (a mesh where the elements are 3D, instead of the "normal" kind where the elements are 2D polygons). IGA is a way to skip conversion of your b-rep to a mesh while doing that sort of simulation.
haldean··on Announcing Microsoft DirectX Raytracing
(I do geometry but I'm not in the gaming field)

I'd guess that this is because the fastest way to compute a precise silhouette of an arbitrary shape (like quadratic surfaces) is to do a ray test for every pixel that might hit the surface. You could project the surface onto the image plane to get boundary curves, but (a) determining the curves that make up that silhouette is a complicated geometric process that's prone to numerical error in weird edge cases (of which there are lots) and (b) once you have the projected curves, you still have to actually shade the interior, which require you to project back onto the original surface to figure out the normal, texture, etc. At that point, you're essentially doing little ray tests for each pixel anyway, so why not just raytrace the whole thing? The global illumination approximation is much much better with raytracing, and modern GPUs can do it real-time.

By the way, modelling everything as an analytic surface rather than as a discretized polygon mesh is called "Boundary Representation" or b-rep, and it's what's used in solid CAD programs that engineers use, like Solidworks or Inventor. Engineers and designers like analytic surfaces because they have "infinite" resolution, but even those CAD programs almost invariably polygonalize b-rep to a mesh and then render the mesh, because it's expensive to hit-test all the surfaces involved; computers only recently became able to do that fast enough for real time interaction, and most CAD programs are old old old.

haldean··on Firefox 59 released
Yup, Fastmail works too. Actually, with FF58 and the U2F flag switched on, Google is the only site I use where my Yubikey doesn't work.
haldean··on A transportation engineer has a simple solution to potholes: pave better roads
You must have never taken a bike down Market Street :)
haldean··on Sin and Cos: The Programmer's Pals
Processing.org is pretty much the go-to visual programming environment, I think, but there's lots; openframeworks.cc is another popular one that I've used and liked.
haldean··on Uber, Lyft Drivers Earning a Median Profit of $3.37 per Hour, Study Says
I can't read the paper you link but in the abstract-ish thing you've given here, $20 is a mean. The MIT paper says $3.37 is a median. Both could simultaneously be true!
haldean··on Bazel can now build Haskell
Bazel recompiles at the source file level, and it's very good at only recompiling only what's necessary; for example, it caches object files for C++, and will only rebuild the object files of changed source files, and then relink.
haldean··on Show HN: Hyperlogs – Easy time tracking
This looks cool! The thing that would convince me to switch from what I'm already using would be seeing what the invoicing workflow looks like; a bunch of time trackers claim to support invoicing but then either their workflows are really janky or their invoices look extremely unprofessional. I had to try probably close to 10 time tracking/invoicing packages before I found Paydirt, which is what I currently use; seeing a side-by-side comparison to some of these other services would be very helpful.

Time tracking and invoicing already takes up a bunch of my, well, time, and to be honest I'm not willing to just try another one out for a bit without seeing more of how it works. More information on the landing page would be a huge start.

haldean··on Ad campaign runs cryptocurrency miners while unwitting users watch videos
That's an image of the malicious ad from YouTube that the article is about...
haldean··on Show HN: Cr – Runs your tasks at maximum concurrency
And tup for the last 10. Lots of people in this thread complaining about Make's syntax might want to check it out; it has a nice, simple "inputs |> command |> outputs" syntax, a similar "output the DAG" mode to Cr, and defaults to parallelism.

http://gittup.org/tup/

haldean··on SEC Shuts Down Munchee ICO
For one, there isn't a market where you can buy and sell them; usually the developer decides on the price, and you can't exchange them back into USD.
haldean··on TIKKU – a micro-apartment building with a foot-print of one car parking place
I think you forgot this:

[1]: http://earthship.org/

haldean··on Oberon – The Overlooked Jewel [pdf]
This is addressed in the abstract of the paper:

> But ever since Pascal, the language aspect has been almost secondary to Wirth's work. Modula(-2) and Oberon both came out of larger system-level design projects that simultaneously also developed workstation computers, modular operating systems, and suites of innovative application programs. Unfortunately, these other important contributions were overshadowed by the programming languages they were associated with, and hence never received the recognition they deserved.

Oberon was both a programming language and an operating system implemented in that programming language. Much like LISP machines, the boundary between programming language and operating system is fuzzy.

haldean··on New law bans California employers from asking applicants their prior salary
That would be illegal under this new law as well:

> The bill also would prohibit an employer from seeking salary history information about an applicant for employment and would require an employer, upon reasonable request, to provide the pay scale for a position to an applicant for employment.

They're not allowed to try to find out from someone else, either.

https://leginfo.legislature.ca.gov/faces/billTextClient.xhtm...

haldean··on Google's 'Advanced Protection' Locks Down Accounts Like Never Before
Signal actually just wrote up a very detailed post about how they're using SGX to provide verification that the computer you're sending your data to is running a specific algorithm: https://signal.org/blog/private-contact-discovery/
haldean··on Time.gif
You can stream video with the HTML5 <video> tag.
haldean··on SEC Issues Report Concluding DAO Tokens, a Digital Asset, Were Securities
Ah, the classic SV "he or she has a real adult life, and thus cannot understand my h4xx0r skillz" chestnut.
haldean··on Why is the Internet so Slow?
Neat, it's 12kB now:

    convert -colors 16 Ilker_fast.png Ilker_tiny.png
    pngcrush Ilker_tiny.png Ilker_out.png
Total page weight is now 15kB, 0.2% the size of the original page. Incidentally, that ratio is about the same as the ratio between the original page and the entirety of the game Overwatch.
haldean··on Female founders accuse VC Justin Caldbeck of making unwanted advances
I think I remember it being something about the ratio of comments to votes; lots of comments per vote mean that it's controversial, and controversial posts age off faster.
haldean··on Why is the Internet so Slow?
While keeping it a PNG? I hit that thing with pngcrush and scaled it to half the size of the original article: what's your magic to get it down to 28k?
haldean··on Why is the Internet so Slow?
This took me a total of 5 minutes: http://static.haldean.org/why-is-the-internet-slow.html

The page is 2.3kB on the wire, and the single other request it makes (for the image) adds another 70kB. Taken together, this is a two-order-of-magnitude decrease in page size, with exactly the same content.

Every byte is sacred! This webpage infuriates me.

← PreviousPage 3 of 11Next →