HN user

dhruvbird

838 karma

Copy this into your address bar and press "enter" to visit my home page:

javascript:window.location="http://"+window.location.search.match(/id=(\S+)/)[1]+".com"

Posts49
Comments145
View on HN
www.gnu.org 4y ago

Perfect Hashing via GNU Gperf

dhruvbird
3pts0
www.bbc.com 10y ago

People with beards are less likely to have disease carrying bacteria

dhruvbird
7pts1
news.ycombinator.com 11y ago

Ask HN: Opt in v/s out

dhruvbird
3pts1
news.ycombinator.com 11y ago

Ask HN: What are the implications of Senate Bill 593?

dhruvbird
2pts0
www.engadget.com 11y ago

Amazon (prime) free same day delivery now in SF Bay area

dhruvbird
1pts0
uberlawsuit.com 11y ago

Uber Lawsuit Information

dhruvbird
6pts0
rachelbythebay.com 11y ago

If too many users are wrong, it's probably your fault

dhruvbird
1pts0
physics.nist.gov 11y ago

Rules and Style Conventions for Spelling SI Unit Names

dhruvbird
1pts0
users-cs.au.dk 11y ago

The Four-Russians speedup (1997) [pdf]

dhruvbird
5pts0
imgur.com 11y ago

Where can I report an incorrect “exit only” sign on 101 South exit 498B

dhruvbird
9pts2
isites.harvard.edu 11y ago

Minilek's an algorithms professor now

dhruvbird
1pts0
www.usatoday.com 11y ago

Divers find both black boxes from AirAsia crash

dhruvbird
1pts0
www.cbsnews.com 12y ago

Digital photocopiers loaded with secrets

dhruvbird
1pts0
ozark.hendrix.edu 12y ago

Node.js has arrived in academia as well (Database systems course using Node.js)

dhruvbird
1pts0
news.ycombinator.com 12y ago

HN Bug: Title field can be 80 characters, but error message requests

dhruvbird
4pts5
engineering.linkedin.com 12y ago

Optimizing Linux Memory Management for Low-latency, High-throughput Databases

dhruvbird
142pts27
www.independent.co.uk 12y ago

The punishment was death by stoning. The crime? Having a mobile phone

dhruvbird
1pts1
github.com 12y ago

LINQ for C++ (gcc/clang/vc)

dhruvbird
1pts0
blog.errorception.com 13y ago

Get your JS error notifications wherever you like

dhruvbird
22pts0
arxiv.org 13y ago

Dual Pivot Quicksort (better expected constants) [pdf]

dhruvbird
1pts0
news.ycombinator.com 13y ago

A place for hackers to share news

dhruvbird
4pts0
www.cs.sunysb.edu 13y ago

Data Structures & Algorithms for Big Data (data too big to fit in main memory)

dhruvbird
2pts0
dhruvbird.blogspot.com 13y ago

SQL Query Execution Optimization opportunities missed (or why write better SQL)

dhruvbird
1pts0
www-cs-faculty.stanford.edu 13y ago

Don Knuth releases Volume 4, Pre-fascicle 6A [gzipped ps]

dhruvbird
141pts47
en.wikipedia.org 14y ago

Normalized Google Distance

dhruvbird
3pts1
www.reddit.com 14y ago

Why is Dynamic RAM preferred in desktop PCs but Static RAM in embedded devices?

dhruvbird
1pts0
news.ycombinator.com 14y ago

Ask HN: Why can't I upvote articles in HN search results?

dhruvbird
1pts1
git-scm.com 14y ago

GIT Home Page get a refreshing new look1

dhruvbird
2pts0
www.catonmat.net 14y ago

A poem about division from Hacker's Delight

dhruvbird
1pts0
arstechnica.com 14y ago

Netflix never used its $1 million algorithm due to engineering costs

dhruvbird
2pts0

Very cool. I'm a big fan of swipe. So much so that a bunch of us a Grammarly re-implemented it using a similar technique about 2 years ago on the Grammarly iOS keyboard, so if you want to experience something similar on iOS, you can head to the app store https://apps.apple.com/us/app/grammarly-ai-keyboard-notes/id... and use the qwerty english keyboard layout to get this neural net version of swipe.

See https://www.grammarly.com/blog/engineering/deep-learning-swi... for more details - it's very similar to the architecture described by the FUTO folks.

One key difference is that the learned model does not decode in a context sensitive manner but does it a word at a time. The main reason is because we wanted to release this soon and wanted the user's personal dictionary (i.e. contact names, etc... to show up correctly when swiped). It would have been nice if we could have followed through with the context sensitive decoding as described by the FUTO folks. It would really help with accuracy when dealing with words like:

1. (food, good, hood) 2. (you, toy, rot) 3. (our, or, it) etc...

(Disclaimer: I am one of the authors of the Grammarly swipe system as described in the linked blog post).

This ^^^^

While the provided schema has a "quantity" field, it doesn't mention the units.

<code>

class Item(BaseModel):

    name: str

    price: float = Field(description="per-unit item price")

    quantity: float = Field(default=1, description="If not specified, assume 1")

class Receipt(BaseModel):
    establishment_name: str

    date: str = Field(description="YYYY-MM-DD")

    total: float = Field(description="The total amount of the receipt")

    currency: str = Field(description="The currency used for everything on the receipt")

    items: list[Item] = Field(description="The items on the receipt")
</code>

There needs to be a better evaluation and a better provided schema that captures the full details of what is expected to be captured.

What kind of error should it return if there's no total listed on the receipt? Should it even return an error or is it OK for it to return total = null?

Additionally, the schema allows optional fields, so the LLM is free to skip missing fields if they are specified as such.

Facebook, PyTorch Mobile Team | US-Remote only | Full Time | Software Engineer (1 position available)

We’re the PyTorch Mobile Team (https://github.com/pytorch/pytorch/) working on making PyTorch broadly available for a plethora of mobile devices both within Facebook and outside. We’re interested in motivated engineers in this space who are willing to work remotely (within the US).

PyTorch is the most popular AI framework within the research community, and we’re working on making it production ready (especially on mobile devices).

You can see here (https://ai.facebook.com/tools/pytorch/) that the journey for Mobile (marked experimental) has just gotten started, and you’ll be jumping on to the bandwagon as it starts to leave the station!

Please drop us an email at (agaurav at fb dot com and dhruvbird at fb dot com), and we’d love to chat if this sounds interesting to you!

@bedhead hit the spot with his comment "Circumstances matter. I suppose if Uber hadn't entered into a partnership first, the whole thing would be more palatable. But by going this route, Uber is sending a clear signal to all potential future partners - watch out. I just find it distasteful, and sadly predictable given Uber's history."

Do you mean to say that it's okay for private operators to discrimate based on whether their potential client is disabled or not (when it has nothing to do with the safety of the client or the driver)?

Couple of questions about the post (since the link above doesn't seem to allow comments):

1. Were the numbers for the chart "Willingness to wait in a city 2013 v/s 2014" generated based on estimates from the Uber app or real wait times that were logged once the customer was picked up?

2. Also, looking at the same graph, it seems some of the rides that were not completed because the ETA was < 4.5 minutes (Probability=1) could have trivially been completed had Uber just dispatched the driver a little later (or had the driver delayed him/her-self a bit).

3. What is the volume of rides as a % for each range of waiting times for the ETA?

4. What is the revenue per ride as a % of total revenue for each range of waiting times for the ETA?

Multiplexing is something that many application protocols could make use of and should be added between the application protocol and TCP, and not engineered into every application protocol. Plus, HTTP is supposed to be a simple text-based protocol that I can run by typing into a telnet window. It doesn't seem possible in HTTP/2.0 though :-/