Hacker News new | past | comments | ask | show | jobs | submit | albert_e's comments login

A more simpler realization after playing around with the music player on the home page -- being able to skip tracks and sample a large variety of music tracks without any ads in between -- was pleasantly surprising!

Everytime I clicked next I was subsconsciously cringing and expecting an unwelcome and jarring ad to blast through my speakers - and each time releived to actually be greeted by the next music track.

What have we done to ourselves.

It only feels like yesterday that the default was hoarding all your favourite tracks and playing them at will through winamp.


What about the bandwidth burned needlessly for thousands of users on their data plans.

At some scale such careless mistakes are going to create real effects for all users of internet through congestion as well.

If this was not a $8000 mistake but was somehow covered by a free tier or other plan from Google Cloud, would they still have considered it a serious bug and fixed it as promptly?

How many such poor designs are out there generating traffic and draining common resources.


They mention specifically handling the situation for one user. So, I guess it is a case-by-case thing.

Sorry for slight digression.

In a larger system we are building we need a text-to-sql capability for some structured data retrieval.

Is there a way one could utilize this library (sqlglot) to build a multi-dialect sql generator -- that is not currently solved by directly relying on a LLM that is better at code generation in general?


You can use an LLM to generate query-builder expressions from popular libraries in whatever language.

For example, on the JVM there is jOOQ, which allows you to write something like:

  select(field("foo"), avg("bar")).from(table("todos"))
And then it will render dialect-specific SQL. It has very advanced emulation functionality for things like JSON aggregations and working around quirks of dialects.

Alternatively, you can ask an LLM to generate a specific dialect of SQL, and then use jOOQ to parse it to an AST, and then render it as a different dialect, like:

    val parser= DSL.using(SQLDialect.POSTGRES).parser()
    val parsedQuery = parser.parseQuery(postgresQuery)
    val renderedMySQL = DSL.using(SQLDialect.MYSQL).renderInlined(parsedQuery)
    println(renderedMySQL)
Unsure if functionality like this exists in other Query Builder libraries for other languages.

This is a SQL to X library, though. I don’t think it’s what you need.

There are non English versions of Wikipedia also.

Can anyone please point to information on how we can download a copy of one specific language version?


You can find plenty of other languages here [1] for example. These are the Kiwix versions.

[1] https://dumps.wikimedia.org/other/kiwix/zim/wikipedia/


It's literally described there on the page if you open it...

the linked page tells you where those are available already

is there a video/audio of this talk available somewhere?

PS: I couldnt find it in a quick search. I was tempted to see if I an "recreate" the audio of the talk using the full transcript and other information available about the two experts who spoke. Google's NotebookLM podcast feature should probablybe the nearest fit for this?


Same experience in India.

Additionally for past year or so they have always consistently charged me higher than what they quote originally.

I jump through the hoops to get a "refund" of the difference through automated support workflow. Ofcourse never real money -- just a credit applied to account or so they say.

That credit can never be seen or verified because wallet screen is always down for maintenance or whatever.

There is no email trail or anything else where you can prove you are owed an x amount of credit.

That credit never gets applied to a future ride.

Excellent "growth hack" I guess.

I have done screen recordings of this support workflow shenanigans a few times. Never had the energy to fight it till closure. I know the kind of duplicitous run around the support is going to give me the first five times I raise this.


"Yet another" is not my main worry

The concept of prefixes itself feels a little deviant from readable code that is close to human language -- which is the spirit of Python


Additionally, it will probably be confusing that it is called a t-string but it is actually a constructor for a Template object and not string at all. I would rather see a new special term `template` than this.


The single letter f or t does make it unnatural to read, but if it were sql"..." or html"...", I think that would help with that.


Should have been a keyword.

    a = template "foo {bar}"
As should raw and format.


> Four years earlier, the search giant had come for the mobile web with AMP—accreted mobile pages.

typo in third line of the post.

should i feel warm and fuzzzy knowing that this was not run through an LLM?

or is it a hallucination artifact of that very thing.


Absoutely agree,

Gmail started scraping all emails a decade ago. Amazon responded by removing all product and pricedetails from Order confirmation and Order shipping emails. We consumers lost out -- we dont have our own copy and archive of what we ordered. If Amazon links perish to link rot and we lose access to Amazon login, our past order and spend information is gone.


FWIW, as far as I'm aware, it wasn't gmail scraping that was the cause of Amazon pulling that information. It was third-party plugins that read people's inboxes to provide them with coupons, discounts, etc., and those companies would sometimes sell the pricing data. I assume Amazon wasn't thrilled about that, but there wasn't anything they (or gmail) could do about it as long as the user was granting them access to their inbox.

But also - I just ordered something off of amazon and I noticed that the confirmation had the item that I ordered in it, albeit in a shortened/summarized way? So maybe they brought it back, figuring that with just part of the name, there's not much someone can do with the pricing information? Or maybe they just don't care anymore?

(disclosure: I work at google, but not on this, but worked adjacent to the gmail team for a few years and am going off of my memory. I'll also tap the sign that Google doesn't mine your gmail for ads, for both consumer AND paying customers).


Shopify in particular launched an app with the option of scraping your inbox.


When reconciling my budget (with YNAB) I often use gmail as my way to connect items to transactions [0]. I've found that I can just search for the amount that my card was charged in my email and find the Amazon email that relates to that order. Then, normally from the body, there is just barely enough information for me to know what I bought.

That got annoying enough that I just wrote a chrome extension to scrape Amazon orders/transactions and auto-match and update my YNAB memo line with a summary of the items.

That's a bit of a tangent just to say: yes, they nerfed their emails but not completely.

[0] Yes, YNAB recommends that you enter transactions right as you make them, but that's not how I use it.


Amazon has a "Transactions" tab in the payments section of your account that makes this easier (YNAB user here)


Gmail has always scraped emails. That was in the TOS from day one. Your data was the price for the free service.


They stopped doing that in 2017.


Tangentially related

I once picked up my memory foam mattress and stood it up against one of the walls ... for cleaning the bed or whatever.

As I walked past the mattress I instantly noticed that the mattress is such a good absorber of audio waves that I could immediately notice a dip in ambient sound in the ear facing the mattress.

The room was already "silent" and this newly discovered lower limit of silence was pretty surprising to me physiologically.


Everyone should try a real anechoic chamber once. The silence there is deafening.


If you are handy to an R&D lab that has a combo Faraday Cage/anechoic chamber you can have a nice experience free of RF and audio noise and stimulus. Even better if it is dimly lit in near-infrared. Even better-better if it has a tank of warm water with lots of epsom salts, although I've never been in a lab that had such a thing as a requirement.


I'm skeptical of shielding yourself from RF noise having any detectable effect.

Unless you have amalgam tooth fillings, that anecdotally can act as a crude diode, and demodulate strong enough AM signals.


The goal is not to prove or disprove any affects on one's physiology, but simply to have the experience of being free of RF and audio for the sake of it.


I think the point is that even saying the "experience" of being free of RF implies a perception which does not exist.

Plus it's well-known that you don't really get the full experience of this unless you manage to shield yourself from neutrinos by surrounding yourself with sufficiently-dense proto-neutron stars.


Neutrinos, cosmic rays, and extraterrestrial subatomic particle streams are not considered RF, right?


If we're going out of our way to eliminate things that cause zero perceptual experience I don't see why you would exclude them.


Those requirements were not specified, so were not designed or built. If you can increase the budget, we can write-up a proposal to wrangle some sufficiently-dense proto-neutron stars.


RF anechoic chambers are, as a side effect of their construction, pretty low echo also when it comes to audible frequencies. I have spent a bit of time in one (EMC testing a product), and it was the quietest room I have been in by far.


Don‘t know if this is the same but I went to Death Valley on the Devil‘s Golf Course during summer. There was no wind no nothing. It was so damn silent. Wonder how that compares to an anechoic chamber now.


Having experienced both, it's very similar.

Edit to add: I've been in an anechoic chamber and also the black rock desert, which is dead flat and thus has very little surface area oriented to reflect sound back at the listener, which makes it similar in that you don't experience environmental reflections.

Devil's Golf Course has more "texture" to it but if you were quiet on a windless day I think the effect would be similar.


I shudder to think what tinnitus would sound like in an anechoic chamber…


Probably similar to whatever its normal frequencies are for you, but perceptually louder. That seems to be my experience when I'm in a ___location with minimal background noise...


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: