HNHacker News
TopNewBestAskShowJobs

jncraton

1,424 karma · joined June 1, 2008

I'm always interested in new ideas. Feel free to get in touch.

https://joncraton.com

my username [at] g m a i l

submissionscomments
jncraton··on Lego to open 160 new stores as other toy retailers suffer
IMO LEGO thrives thanks to their relentless focus on product quality. The phrase "det bedste ir ikke for godt" (roughly "only the best is good enough") has a long history in the company. The fact that they have been able to thrive like this in a market with many competitors cloning their product is a a testament to their product quality and related brand strength.

If you've used and compared the various brands in this space, you'll be familiar with the quality variations. LEGO has put immense engineering effort into having the best plastic and tightest tolerances in the industry, and I can really feel the difference when building.

Here's one example comparing some of the clone brands to LEGO's own products:

https://uploads.brickset.com/docs/clonebrands_v1.7.pdf

Other brands do continue to improve, and there are many companies out there that make very nice building toys, but LEGO has done a nice job making sure that everything they ship is of good quality.

jncraton··on Lego collecting delivers huge and uncorrelated market returns
You can usually get closer to $5 per pound on eBay if you search carefully. I built an algorithm to do this searching and filtering for me:

https://joncraton.com/lego-by-pound

jncraton··on Turtletoy
I'm not aware of anything like that. It should be possible, though. When models are available for the elements, as they are with LEGO, it should be as simple as identifying connection types and mapping them to spatial movements.
jncraton··on Turtletoy
If you like this project, you may be interested in a similar project that I did a while back using using the turtle interpretation of grammars to represent connections between LEGO bricks:

https://github.com/jncraton/connectiongrammar

The "API" is admittedly quite poor currently, as I just quickly hacked this together on top of NLTK, but I was able to put together some fun results.

jncraton··on Fintech startup Plaid raises $250M at a $2.65B valuation
I'm interested to see where this goes. I use Plaid as a developer, and it feels like the user experience keeps getting worse. This isn't Plaid's fault, but as more and more financial institutions require 2FA, it gets much less automatic for Plaid to scrape data.

Instead of just seeing updated transactions, users frequently need to enter a 2FA code before Plaid can successfully complete the update. This is very clunky, especially if you've linked 10+ accounts. Hopefully, Plaid (or even government regulations) will be able to encourage banks to create real APIs and Plaid can move away from scraping entirely.

jncraton··on The latest on Messages, Allo, Duo and Hangouts
> I don't need my google calc/excel to integrate with youtube, and I don't need google play music to integrate with gmail. Google should look at these things as individual companies, which it seems like is something that they finally somewhat figured out with the alphabet rebrand.

That makes sense to an extent. Unfortunately, Google has created a number of products or "companies" with overlapping features that are in direct competition with one another. Just in the communication space, they have: Hangouts, Gmail, Inbox, Allo, Duo, Messages, and Google Voice.

These actively compete with one another and make the sum of all the products worse than just one good product. If I want to send an SMS message, I can currently use Hangouts, Messages, or Google Voice. I don't want to decide which to use, and I certainly don't want the one I choose to just disappear one day while I get booted over to another app.

jncraton··on How the Blog Broke the Web (2017)
It's definitely impressive. In addition to accepting donations, they also offer a paid plan that offers more space, bandwidth, and features:

https://neocities.org/supporter

jncraton··on Build2, a Cargo-like dependency and build manager for C/C++
Thanks for your work on this! That sounds like a great direction for future development. I hope that you are able to make this work out!
jncraton··on Fridge 0.1
You aren't wrong, but there is some value in a more complex control system. For example, the fridge uses some sort of hysteresis to prevent the compressor from cycling on and off too quickly. Let's say it runs for 15 minutes every hour. You ideally want it to schedule that last 15 minute run at the latest time possible when enough sunlight is still available to run it. This shortens the amount of time that the fridge needs to be able to stay cold without power.
jncraton··on The Entire Economy Is MoviePass Now
Tesla's financials are terrifying. I hope that Tesla succeeds, and I believe that they can. However, there is nothing about the company that makes an investment in TSLA feel like a sure thing to me.
jncraton··on Jupyter Receives the ACM Software System Award
You are definitely not alone. I personally use pweave, which is essentially a thin Markdown/LaTeX parser wrapping Jupyter kernels for injecting the output of code chunks.

I like being able to use my existing tools (text editor, make, version control, etc). I also like being able to write clean functions and run unit tests while still ultimately being able generate a clean final document.

jncraton··on Show HN: Fileshifter – Easily convert files and videos between different formats
The convert tool is part of imagemagick and only works on image formats as far as I know. I personally use pandoc to do similar conversions on documents and ssconvert for spreadsheets.
jncraton··on Kodak shares up as it announces KODAKCoin cryptocurrency
That would only work if the knockoff image is registered on-chain after the real image. If I'm going to rip off an image, I'm not going to submit it back to the entity that created it.

Hashes don't verify the date that something was created. The blockchain provides a date for the hash, but it provides no guarantee that the hashed item didn't exist long before when it first appeared on chain. If I simply modify the image metadata to say that my knockoff photo was taken at an earlier date and flip some bits, I can still claim that mine is the original and that I didn't submit it to the blockchain when I created it.

jncraton··on LLVM patch to fix half of Spectre attack
Agreed. I haven't had this much fun thinking through the implications of a new exploit technique in a long time. It is truly beautiful.
jncraton··on Reading privileged memory with a side-channel
SharedArrayBuffer will be disabled by default as a stopgap:

https://blog.mozilla.org/security/2018/01/03/mitigations-lan...

performance.now() accuracy is also being reduced.

jncraton··on Buy, sell, send and receive Bitcoin Cash on Coinbase
Sort of. They now hold as much BCH as they had BTC on August 1st. However, BTC is worth significantly more than BCH in terms of dollars currently. The gain is more like ~20% in dollars.
jncraton··on BitPay Will Process Payments on Multiple Blockchains, Starting with Bitcoin Cash
I agree with most of what you said, but I would add that part of the value of Bitcoin vs other cryptocurrencies comes from its incredibly high PoW difficulty. The Bitcoin network currently completes 14 quintillion sha256 hashes every second. A similar amount of computing power would need to be controlled by a successful attacker.

I understand that miners can choose to leave Bitcoin, and this is largely dependent on price, but historically, Bitcoin provides the most security, so it is the safest crypto for storing a large amount of value.

jncraton··on BitPay Will Process Payments on Multiple Blockchains, Starting with Bitcoin Cash
Bitcoin is the long term store of value for the cryptocurrency ecosystem. It's poor for small transactions, but works well for storing large amounts of value as it is significantly more secure in terms of PoW than anything else out there.

The small transaction issue may be overcome by something like the Lightning Network, but in the short term, you can just use other cryptocurrencies with lower fees or other features that are important to you.

jncraton··on MNT Reform: DIY portable computer
Agreed. I wouldn't buy an L series myself. The EliteBook is mine and the ThinkPad belongs to my employer.
jncraton··on MNT Reform: DIY portable computer
Interesting. I've found that used business-class laptops from several years ago do nicely. I use a ThinkPad L420 and EliteBook 8460p daily, and they both work well for me. They are reliable and robust.
jncraton··on Modern terminal-based text editor
I'm not sure if any of this will help or not:

- You can add `mouse:off` to your config to disable the mouse

- I use `cursorline:off` to help on slower connections. This prevents having to redraw an entire line when the cursor moves up or down.

Feel free to open issues for anything that can be improved if you haven't already.

jncraton··on PlainJS – Vanilla JavaScript Repository
I'm not sure if this is a serious question or not, but about 75% of the top sites on the Internet use jQuery:

https://trends.builtwith.com/javascript/jQuery

Perhaps new projects shouldn't be using jQuery, but it's possible that some devs who just churn out code without watching the industry aren't aware of this. Increasing that awareness appears to be the point of this plainJS landing page.

jncraton··on Sublime Text 3.0
> I'd love to see someone shake up the space with a "modern" take on emacs and vim: native, fast, powerful, very configurable, terminal based, but also with a conscious view on the initial learning curve and out of the box usefulness.

This sounds like the micro text editor. I've committed a few features to it and use it daily:

https://github.com/zyedidia/micro

You might be interested in checking it out.

jncraton··on DeepMind and Blizzard Open StarCraft II as an AI Research Environment
You're basically correct in terms of SC not technically being continuous. There are discrete steps under the hood.

One of the significant challenges is figuring out how to use 42ms (the frame duration on fastest speed) of computing time to decide what actions, if any, to take next. You don't have the luxury of taking many minutes to decide one move as you would in a game like chess or go. You also don't alternate taking discrete turns with your opponent, despite having discrete frames. It may be best to not take an action in a given frame. This is particularly true if the AI is attempting to stay under an APM threshold, as it has to decide if an action is worth the opportunity cost.

It is also necessary for a quality SC AI to remember what has happened in the past. A chess board position is identical regardless of how the game got there, but this is not the case in StarCraft. An AI has accumulated lots of information about its opponent that is no longer visible to it in the current frame (unit movements, gas/mineral counts, number of workers active, etc), and this needs to be recalled and play into decision making.

jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
You are correct. However, Coinbase does state that they simply store the funds:

"Customer deposits are not sent anywhere. Unlike other financial institutions, we do not lend out customer funds. 100% of your funds are securely stored."

https://support.coinbase.com/customer/portal/articles/667213...

jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
That's certainly a possibility. I was working from the assumption that Coinbase actually held BTC totaling the sum of all users account balances. Given the highly volatile nature of BTC and the nature of the BTC community (e.g. the conventional wisdom was to pull all funds from exchanges prior to the fork occurring), it seems quite irresponsible to not be holding funds as BTC.

I'm aware that exchanges in the past have behaved very irresponsibly, but I'm hoping that Coinbase is the exception here as a well known US-based company.

jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
I'm aware of this, but they should still have enough BTC in storage to cover the BTC in all accounts. This means they should also have BCC for each user.
jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
> Of course if your BTC is not real, but is held by an exchange such as Coinbase, how you get your BCC isn't at all clear.

Your BTC should still be "real", but the exchange holds the keys instead of you. Your point stands about it being unclear how you would access your BCC. If you aren't allowed access to your BCC, there's nothing preventing exchanges from dumping the BCC for cash as far as I can tell from a purely technical standpoint (IANAL).

jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
They are most certainly still holding them. They would actually have to take intentional steps to burn them, and that would be silly to do as they'd literally be throwing away money.

It seems that there is an assumption from Coinbase that BCC will be nearly worthless, so it isn't worth building the infra to handle both currencies. They can choose to make users BCC available if there is enough demand for it.

Here's what Coinbase themselves say about this:

> Coinbase does not intend to interact with the Bitcoin Cash blockchain, or to access bitcoin cash (BCC). In order to safely and securely access bitcoin cash, Coinbase would need to undertake a process of designing and testing significant changes to our systems — including hot and cold storage. This is one of the core reasons customers will not be able to withdraw bitcoin cash after the fork on August 1st, 2017.

> If this decision were to change in the future and we were to access bitcoin cash, we would distribute to customers bitcoin cash (BCC) associated with bitcoin (BTC) balances at the time of the fork on August 1st, 2017. Coinbase would not keep the bitcoin cash associated with customer bitcoin (BTC) balances for ourselves.

jncraton··on Bitcoin Cash Soars to $700, Coinbase Customers Threaten to Sue
That shouldn't be the case. BTC purchased after the fork has no relationship to BCC. Bitcoin transactions included before block 478559 are both valid BTC and BCC transactions. Anything after that is only valid as one or the other depending on which chain it is included in.
← PreviousPage 3 of 8Next →