Better HN
topnewbestaskshowjobs
Log inSign up

adamcanady

163 karma · joined Mar 6, 2013 (13y ago) · 79 submissions

github.com/adamcanady twitter.com/adamcanady
Submissions

comment 2y ago · link · parent

This is neat but the map by public transport time is probably non-euclidean because subways are like wormholes.

comment 6y ago · link · parent

Apparently this isn't the same Krebs as https://krebsonsecurity.com/ [0]

[0] Funny enough, the website has a broken SSL cert at the time of writing.

comment 6y ago · link · parent

I recently did this using Electron's BrowserView.

I had to step away from using electron because I encountered segfaults like `Received signal 11 SEGV_MAPERR 000000000060` just on visiting cnn.com and clicking one of their nav links (without much going on otherwise, which I found kinda crazy).

Electron also only recently added support for PDFs, and it's still a little buggy. I was able to get around most of these with pdf.js.

I ended up using a combination of chrome extension for injecting stuff into webpage + rpc to a local node.js server running inside an electron app (for convenience). I only made this for personal use, so I'm ok with <arbitrary_caveat>s.

comment 6y ago · link · parent

Js_of_ocaml [1] is a good alternative to BuckleScript for standard OCaml (non-Reason).

For example, it works well with Core_kernel [2] and Async_kernel [3] to provide high-level functionality that is cross compatible between Unix applications and browser applications.

[1] https://github.com/ocsigen/js_of_ocaml

[2] https://github.com/janestreet/core_kernel

[3] https://github.com/janestreet/async_kernel

comment 8y ago · link · parent

Didn't realize this system used a CVT-like system to generate electicity. I've generally been curious how this system seems to be significantly more complex yet more reliable than many modern internal combustion engine drivetrains. (My personal perception, haven't done much research to look it up).

6.

Hybrid Synergy Drive(en.wikipedia.org ↗)

1 points · by adamcanady · 8y ago · 1 comment

7.

Collectible one of a kind celebrity smart contracts(cryptocelebrities.co ↗)

2 points · by adamcanady · 8y ago · discuss

comment 9y ago · link · parent

I also wonder why Apple allows some apps to accept payments via credit card yet others need to use the built in payment solutions?

EDIT: some research later indicates that it's possible allowing a user to sign up outside the app (and outside a webview initiated by the app) skirts around the policy [1], since the user can return to the app and log in, then use their account for payments.

[1] https://www.designernews.co/stories/9695-how-do-apps-like-ly...

comment 9y ago · link · parent

How does it work? Searching for book store (https://www.closient.com/?q=book_store the underscore was autocompleted) gave me results that were 1200+ km away from my current location. Other queries did the same.

comment 9y ago · link · parent

I guess I wasn't too far off geographically with Romanian Wikipedia :)

Keep up the great work at https://www.seznam.cz/ ! Lots of interesting search features, maps, etc.

comment 9y ago · link · parent

I work on Google Search. Having one search engine per country doesn't seem like the correct approach to the problem.

> Every country has a mammoth collection of valid results for your query.

Having seen the corpus of content available from each language, this is categorically false. Consider Wikipedia, which is a fairly ubiquitous information source on the web that provides answers to tons of searches. English documents: 5.4M, Romanian documents: 376k.

Perhaps the solution to the OP's woes is more tools for filtering. This post conflates the ideas between language and country. Search typically returns to you results and search features that are in the query language. Today's solution where filtering is done through query refinement and query operators seems to cover a lot of use cases already.

Further, by having an integrated product, ML models can learn behaviors specific to certain locales where those behaviors differ from region to region, and balance with more universal behaviors that apply to more than one region.

12.

Size of Wikipedia(en.wikipedia.org ↗)

2 points · by adamcanady · 9y ago · discuss

13.

Multi-armed bandit problem(en.wikipedia.org ↗)

1 points · by adamcanady · 10y ago · discuss

14.

Turntable.fm(en.wikipedia.org ↗)

1 points · by adamcanady · 10y ago · discuss

comment 10y ago · link · parent

Also the hostname of "TayandYou".

16.

Curse of Dimesionality(en.wikipedia.org ↗)

2 points · by adamcanady · 10y ago · discuss

17.

Pizza Hut National Pi Day Math Problems(blog.pizzahut.com ↗)

5 points · by adamcanady · 10y ago · discuss

comment 10y ago · link · parent

  Location: Minneapolis, Minnesota
  Remote: Yes.
  Willing to relocate: No.
  Technologies: Python, Node.js, Meteor, HTML5/CSS3/JS (lots of past frontend work 
    with SCSS, Rails, Flask, PostgreSQL, MySQL, Mongo). 
    Some Scala, Java, and Go as well.
  Résumé/CV: https://wheat.co
  Email: hello@wheat.co

comment 11y ago · link · parent

> you believe you'll be able to create more value for yourself by doing something else rather than seeing it through with a startup.

Just pointing out that there are other reasons to leave aside from rational economic thought about this individual's expected ability to produce higher output elsewhere. They may dislike the team, pivoted idea, or leadership decisions. But they may also want to keep hold of the equity in case it gets big (or they can sell it or a liquidity event occurs).

comment 11y ago · link · parent

This is typically the way it's done in Node.js's Express library: http://expressjs.com/api.html#req

comment 11y ago · link · parent

It's also about a lot more than ride sharing. These companies are hoping to turn their LaaS (labor) into self-driving car fleets as soon as possible. A lot of that money is going to be poured into research.

comment 11y ago · link · parent

Actually, I think that's incorrect. I'd say that the median person who knows how to drive is better off than the median person without that skill. Certainly the best person who doesn't know how to drive is better off than the worst person who can drive, and it probably has nothing to do with driving ability.

comment 11y ago · link · parent

To get this straight, when they indicate 96% utilization of the uranium, they don't mean converting 96% of the total energy to electricity, as it is assumed that some will be lost along the way, right?

If the above statement is true, what happens to the remaining 4% of the energy in the uranium? Is it just not effective to have it in the molten salt, so the entire batch is replaced? Or does this happen 'on the fly' so to speak?

comment 11y ago · link · parent

Some day I may turn this into a chrome extension to highlight limericks on arbitrary pages. It would be joyous to see a highlighted section of some random wikipedia page pop out to be a limerick!

comment 11y ago · link · parent

I'm a junior at Carleton, #2 on the list. It's interesting to see these rankings come out since I have been under the impression that our graduates don't enter STEM fields through normal channels. Until recently, our CS department didn't have very many majors, and many of the graduates majored in liberal arts areas. These folks found their way into big tech and financial companies or ended up starting their own businesses several years after graduation.

Talking to alumni, I've always heard this is because of the ability to learn how to communicate here, but I think the difficult course load contributes a lot to character throughout 4 years here. I'd be interested to hear how this compares to other institutions.

The additional stats on the Brookings.edu page [1] were interesting as well.

[1] http://www.brookings.edu/research/reports2/2015/04/29-beyond...

comment 11y ago · link · parent

This is actually pretty neat. As someone who has worked on many wordpress sites for a long time, having faster everything would be amazing.

The product looks very polished and I hope to see it grow and develop a large community. That would make it a real WP competitor since the main reason WP is so powerful now is because of all the themes, documentation, and plugins.

comment 11y ago · link · parent

The source code appears to indicate $5.99 for a 48 hour rental.

comment 11y ago · link · parent

Wait a second.. can you explain the 10x the max frequency part to accurately reconstruct the shape of the signal?

It's my understanding that you just need 2x (two points in a sine wave) to construct a unique wave. If you're getting a sawtooth, it means that you're sampling a wave that is composed of very high frequencies, and you're accurately sampling it, so a DAC can reconstruct it uniquely.

comment 12y ago · link · parent

Wow. I can make sense of a little bit of the original source, but I wonder more how RegPack [0] works to compress it into that final submission!

As a side note: I'm in college now and looking to propose an independent study on compression. Any suggested readings or algorithms I should look into?

[0] https://github.com/Siorki/RegPack

123