Hacker Newsnew | past | comments | ask | show | jobs | submit | thatcherthorn's commentslogin

As a backend developer who previously used bootstrap, it has been a delight to discover tailwind: https://tailwindcss.com/


They've reported surpassing GPT4 on several benchmarks. Does anyone know of these are hand picked examples or is this the new SOTA?


It will be SOTA maybe when Gemini Ultra is available. GPT-4 is still SOTA.


Usually SOTA status is established when the benchmark paper is released (probably after some review). But GPT4 is the current generally-available-SOTA


They also compare to RLHFed GPT-4, which reduces capabilities, while their model seems to be pre-RLHF. So I'd expect those numbers to be a bit inflated compared to public release.


They certainly claim it is SOTA for multimodal tasks: “Gemini surpasses SOTA performance on all multimodal tasks.”


Comprehensive. Seems surprising that Harvard is sitting at the absolute bottom of the list.


Keep scrolling past the main list. There is an additional list of six "Warning Schools":

> The following schools have policies that clearly and consistently state that it prioritizes other values over a commitment to freedom of speech. These colleges were excluded from the rankings and were scored relative to one another.

They all have much less free speech than any school on the main list.


Why are you surprised at that?


As now f-strings can contain any valid Python expression inside expression components, it is now possible to nest f-strings arbitrarily:

>>> f"{f"{f"{f"{f"{f"{1+1}"}"}"}"}"}"

'2'

Is anyone aware of the change to the interpreter that allows for this?


At https://peps.python.org/pep-0701/#motivation

> When f-strings were originally introduced in PEP 498, the specification was provided without providing a formal grammar for f-strings. Additionally, the specification contains several restrictions that are imposed so the parsing of f-strings could be implemented into CPython without modifying the existing lexer. [...]

> The other issue that f-strings have is that the current implementation in CPython relies on tokenising f-strings as STRING tokens and a post processing of these tokens. This has the following problems: [...]

At https://peps.python.org/pep-0701/#rationale

> By building on top of the new Python PEG Parser (PEP 617), this PEP proposes to redefine “f-strings”, especially emphasizing the clear separation of the string component and the expression (or replacement, {...}) component.


JavaScript has this with template strings. I use it often:

    s = `something ${cond ? `(${v})` : ''} something`


This has always worked in a Javascript.

  > `${`${`${`${`${1 + 1}`}`}`}`}`
  '2'
It was simply a limitation with the Python parser.

Heck, it even works in Vimscript

  :echo $'{$'{$'{1 + 1}'}'}'
  2


Parse it recursively.


yup


Is it uncommon? Ruby does it in a fairly syntactically similar way:

    "Hello, it's #{"#{Time.now}"}"
    => "Hello, it's 2023-10-02 09:41:40 -0400"


Ruby can do this:

> puts “h#{”#{i}”}”

You “just” have to make your parser understand how to have all expressions or whatever inside braces. No idea how the python parser works but think about how you can nest json arbitrarily.


js can do it

  $ node
  > `${`${`${1+1}`}`}`
  '2'


> Is anyone aware of the change to the interpreter that allows for this?

Why answer your question when I could just brag about how my personal favorite language has supported this for awhile?

/s


But did you know Javascript, Ruby, and Vimscript can already do it?


just replace `f"{` -> `(` and `}"` -> `)` and it's conventional expression eval.


For what reasons?


It's a combination of two things, open source packages have matured to a very stable level. Fedora uses very recent packages and it just works somehow because they've all become very good. So to keep a stable desktop system there is no more reason to use "sta(b)le" packages.

The other reason is snapshots, because no system is perfect. An operating system should in fact be designed around the fact that something will go wrong. Windows has had this for years, and some linux users have done it with btrfs.

But Fedora Silverblue does it seamlessly with ostree and grub, so if something does go wrong in a newly applied update, you simply choose the last working one in the grub menu and go on with your day until you have time to resolve it.

This for me to use Fedora as my daily driver is crucial.


I suppose snapshots, so you can retirn to a previous state in case of trouble


Introducing, BTRFS + Snapper.


I just discovered tailwind after using bootstrap for a few years...

Yes. It is amazing. Flowbite is the component library I've been using.


Interested in this clever tactic you speak of


Make your code open-source, but don't merge in PRs, don't actually use it for development, and don't promise anything buildable. (NetApp, Tesla, Samsung do this)

OR have the core of your tool be open-source but add proprietary value on top of it so that the proprietary version is more attractive (like Tailscale with their Coordination Server). With Terraform, this could have been the cores that manage plans and state.

The issue here (purely unsubstantiated outsider opinion) is that Mitchell is a hacker that created things that were immensely valuable and punted the profit part of it for later. Hard to undo that, but it was good enough to raise millions on millions and create a super sweet company to work for (before they went public and were forced to wear a suit like the rest of The Street)


> Tesla

Yeah, so Tesla AFAIU isn't even GPL compliant as what they publish is not the complete corresponding source code for their Linux/buildroot based firmware.


Salami slicing tactics are pretty common, that way you can gaslight detractors by saying they’re crazy for making a fuss over such insignificant changes.


This is a fantastic library. I plan to use some of the search functionality with a system that tries to figure out how to manipulate/work with/add features to existing code.


Curious, did you try GitHub copilot before switching to Amazon?

If you have, what are the differences?


> AlloyDB AI allows users to easily transform their data into vector embeddings with a simple SQL function for in-database embeddings generation

Slick!


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

Search: