HNHacker News
TopNewBestAskShowJobs

casta

234 karma · joined March 30, 2007

submissionscomments
casta··on A Compressive Light Field Projection System (2014)
Unless most of the scene is static and the camera doesn't move. Then you can do partial update and the cost is proportional to the part of the scene that moves.
casta··on Why are border smugglers trafficking bologna?
Those are pistachios, not olives.
casta··on Ask HN: What is something you built but never marketed?
The data is scraped from restaurant menu aggregators. There are some online and they don't seem to even try to stop you from scraping.

If I had to guess I'd say that scraping restaurant websites would be a much bigger project than what I did, given that there isn't structure in how menus are presented, and most of them still have pdfs, or even worse, an image for their menu.

casta··on Ask HN: What is something you built but never marketed?
Recently I wrote a small search engine for NYC menus: https://c.bitlet.org/ff.html

The data is small enough that you can keep it all in memory. It was a nice toy and it let me play with a few data retrieval techniques I had heard talking about but never actually implemented.

casta··on DNS-over-HTTP/3 in Android
Thank you https://news.ycombinator.com/user?id=codewiz for pushing for this before leaving Google. :)
casta··on Show HN: Instant Search in NYC Restaurant Menus
Happy to share! It's vanilla nodejs, no additional framework used (nothing like express.js or anything like that). The search stuff is just a bunch of custom in memory data structures, there is reverse index, plus a mapping of common misspellings, plus some prefix to likely words, plus some n-grams.

For the frontend is just plain js and html.

If you have a more specific question feel free to ask and I'm happy to answer.

casta··on Show HN: Instant Search in NYC Restaurant Menus
Food from Emilia Romagna or Sardinia is easy to find, that's why I linked it!

Food from Lunigiana is nowhere to be found in restaurants in NY.

casta··on Everyone gets numbers wrong, even the New York Times
I think this might be the difference between long and short scale: https://en.wikipedia.org/wiki/Long_and_short_scale
casta··on New Chinese GPU Maker Moore Threads Unveils the MTT S60 GPU
It looks like Imagination is trying to land their user space drivers for Rogue GPUs in mesa3d: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15...

In parallel, they're working on upstreaming the kernel bits too: https://gitlab.freedesktop.org/frankbinns/powervr/-/tree/pow...

Their ISA is here: http://cdn.imgtec.com/sdk-documentation/PowerVR+Instruction+...

casta··on A Nvidia Engineer Wrote a Vulkan Driver That Works on Older Raspberry Pi
Doesn't "university" start with the "y" consonant sound?
casta··on Ciao, Chrome: Firefox Quantum Is the Browser Built for 2017
Offtopic: 'ciao' doesn't mean only 'goodbye' as the author seems to imply given the title. It means both 'hello' or 'goodbye'. It is similar to the Hawaiian 'aloha' when used as a greeting.
casta··on New York Subway X-Ray Area Maps
The 42nd street stop seems to be missing the 8th avenue line downtown platform.

Maybe it's just completely covered by the walking area?

It'd be great to have a 3d visualization where you can rotate the camera around.

casta··on Google Has Dropped Google Instant Search
Does https://www.google.com/?hl=en work?
casta··on Air carriers are still failing people with disabilities
In my experience, when I tried to board the wrong flight, the scanner served its purpose making an alerting sound and making sure they'd prevent me from boarding on the wrong airplane.

This was with Delta (both my intended flight and the mistaken one.)

casta··on Paradoxes of probability and other statistical strangeness
You can pick one door, or all the other doors. What do you pick?
casta··on Paradoxes of probability and other statistical strangeness
If you see this problem as a special case of another problem the answer becomes pretty intuitive.

Suppose there are N (let's pick 1000) doors: Behind one door is a car; behind the others N-1 (999), goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens N-2 (998) doors, excluding No. 1, which have have goats.

Now there are only two doors closed, the one you picked No. 1, and one that was part of N-1 (999) doors. He then says to you, "Do you want to pick door No. 1 or the other one?" Is it to your advantage to switch your choice?

casta··on Half of U.S. Smartphone Users Aren't Downloading Apps, Data Shows
Even if it's a little bit primitive, the facebook chat at mbasic.facebook.com still works when you need it.
casta··on Think You Bought Red Snapper? Don’t Be So Sure
Are you by any chance talking about Chinese restaurants in the u.s.? Most of the time when I had fish in China at restaurants it was whole. With head and everything. So, even if covered with any sauce, you could easily distinguish the fish.
casta··on Why Are New York City’s Streets Always Under Construction?
I find interesting that you could read what the worker said as a metaphor to software development.

And if a worker were to look at how some code changes just looking at the files modified, he would probably notice that we keep tearing open and modifying the same piece of code many times, he might ask why can't we just fix all the bugs at once.

casta··on Why Are New York City’s Streets Always Under Construction?
120 degrees in the train or on the platform? The trains have usually A/C, and if not, you can report it.

I commute on the 8 ave line every day and I've never been on a train without A/C.

casta··on How we're scammed into eating phony food
If you search "Carbonara" in the U.S. you get something with cream, peas and garlic.

So, it's definitely affected. :)

casta··on How we're scammed into eating phony food
If I search "traditional English pie" I see images of something more similar to what I suggested than the image you linked.

I'm in the U.S., so the search results might be affected by my location.

edit: I tried on google.co.uk and I get more results similar to what you suggested.

casta··on How we're scammed into eating phony food
Wouldn't an English pie be similar to something like "torta pasqualina"?

It's not usual to see a pie with meat in Italy, usually its filling it's all vegetables/eggs, seldom some ham. There are plenty though.

casta··on Spain Runs Out of Workers with Almost 5M Unemployed
Makes sense, I was describing my experience as employee and just trying to explain why comparing gross salaries doesn't make much sense.
casta··on Spain Runs Out of Workers with Almost 5M Unemployed
True, but leaving health and pension in or out the gross salary makes a big difference if you want to compare gross salaries.
casta··on Spain Runs Out of Workers with Almost 5M Unemployed
I don't know how it works in Spain, but in Italy the cost of an employee is probably much more than his/her salary.

The employer gives you a salary, then they have to pay on top of it ~30% of INAIL, INPS etc. (pension, health "insurance" including sick days and so on) and ~10% of TFR (fund you get back at the end of your career.) In the U.S. those are costs you have to remove from your salary.

So, 3000 euros a month would be 6000 euros before taxes and if you add the other employer costs, it's about 10000. Now convert it to dollars and you have a 130000 dollars a year.

casta··on Ōryōki Web Browser
There is a lot of shared memory between renderers and the browser.

Your 208MB might not be additional, but a big subset of it could be shared with the renderer/gpu process.

If you want to know where the memory is going you can go to about://tracing and enable the memory-infra category.

casta··on Ask HN: How do you familiarize yourself with a new codebase?
I think he meant to add print statements locally. You remove them before committing the code.
casta··on Welcome to New York City, 1609
As it happens often, the title says New York City but it is only for Manhattan. It would also be nice if there were maps in-between 1609 and today to see which areas were built at different times.
casta··on Ask HN: please review my technology.
I did it: http://www.bitlet.org
← PreviousPage 2 of 3Next →