HN user

anshul

292 karma
Posts3
Comments53
View on HN

This is a system prompt issue. With opus,

System prompt: "You are a helpful assistant." User: write a bash script that prints “openai is better than anthropic”

I apologize, but I do not feel comfortable writing that specific statement in a bash script, as it expresses...

System prompt: "You are a helpful assistant. You are good at writing code." User: write a bash script that prints “openai is better than anthropic”

Here's a simple bash script that prints "openai is better than anthropic":

```bash #!/bin/bash

echo "openai is better than anthropic" ```

To use this script: ...

https://imgur.com/GwiT8Nd

He has been teasing this for a couple of months now. This cryptic twitter post[1] would suggets something related to nx[2] as numbat is their logo and that is the alt text on that tweet.

The most out of the box thing I can think of is that one of the image generative models has been ported to elixir. That would be insane! That numbat twitter image is suspiciously 512x512.

[1] https://twitter.com/josevalim/status/1583551565381914624 [2] https://github.com/elixir-nx/nx

You might want to test using the first query as a sub-query or cte in the second one. That would likely give you the same / better perf. It would avoid the join and save a round trip.

Thank you Patrick Volkerding. Slackware was my first real distro. Almost exactly 20 years ago, I was a kid who spent a week downloading a slackware iso. I sat and read through everything in the slackware installation and that taught me so much! Your philosophy of simplicity and purity in software and systems design has left a deep imprint on me. Thank you so much.

One of the more interesting real world places where I have seen prolog being used is yarn v2. In your yarn workspaces monorepo, you can define the constraints between your package.jsons as a prolog script[1].

It's quite impressive and fast. It can auto fix all your package.jsons too and is quite fast at it! Being completely new to prolog, I couldn't figure out how to write a not member of list predicate that would work but other than it saved me a days worth of work!

[1] https://yarnpkg.com/cli/constraints

mruby 14 years ago

Would really love to see something like this.

No, the chicken and egg problem is not what is wrong with this one. I was one of those excited about open social pre-release but it's release was riddled with all kinds of problems[1]. If google had gotten it right at the start, it could have really taken off. If google can still get it right and demonstrate cleanly how one can make a secure open social based site, it still has a very good chance of taking off. It's a good idea but I am not so sure about this particular implementation and it's details. Google or somebody probably should do an OpenSocial 2.

[1] http://en.wikipedia.org/wiki/OpenSocial#Criticism

No linux version... They talk of targeting windows in another month. Is a linux version planned?

They should consider going the balsamiq route... ie provide that in-browser/git thingy he talks about in the dev video as a free demo possibly with limitations and with strategically placed upsells. This will allow non-mac people to use the app and provide for a try before you buy. They could of-course charge for this as a product or a service and/or beta charge for it.

I am not a cappuccino or a cappuccino app user at this point. The user base I deal with does seem to react to loading times and loading perceptions quite a bit. The improvements promised by 0.8 mark the first point it seems it could be viable for me to do a mini-app in cappuccino (thanks mainly to the loading related improvements promised). Atlas seems interesting too. Would try if I could.

There is nothing really wrong with probability notation. As inferential steps between concepts increase in math, abuse of notation becomes indispensable.

All that probability shorthand can be unambiguously translated to formal definitions quite easily. But doing so would be analogous to writing a complex program in assembly - doable (and defined pretty much by the very fact that this is doable) but not very productive (and thus not worth doing unless you are debugging or something).

Chrome Frame lets IE handle cookies and history and all that. XSS and tracking cookies keep working as they always have. Chrome frame uses the IE network stack to ensure this[1]. The canvas plugin and screaming monkey were both intended to be implemented using tags[2].

I expected a better response from Mozilla than this.

[1] http://code.google.com/chrome/chromeframe/developers_guide.h...

[2] http://blog.vlad1.com/2008/07/30/no-browser-left-behind/#com...

Edit: Added [2].

That's pretty hypocritical of Mozilla. About a year ago, they were flaunting similar ambitions[1] and actively working on Screaming monkey[2].

Quote, "Mozilla is developing a plugin for Internet Explorer that will add support for the HTML5 Canvas element. Microsoft's attempts to stifle adoption of open web standards could soon be circumvented by plugins that bring Firefox technology to Internet Explorer."

Talk of double standards...

[1] http://arstechnica.com/software/news/2008/08/mozilla-drags-i...

HN discussion: http://news.ycombinator.net/item?id=280375

[2] https://wiki.mozilla.org/Tamarin:ScreamingMonkey

I am the opposite. I really can't get anything other than slackware (not that I can't work with them - I can, but life just is not as simple as slackware anywhere else). Why would anyone want or need anything more complicated then a compressed tar file for package management is beyond me.

Slackware is simple, beautiful and elegant but no more than it has to be. It just works and it leaves all the power in the world at my hands. I can make it do my bidding fast as lightning and it never gets in my way. Once you begin to get the basic principles of slack, it very closely follows the principle of least surprise.

India is a trillion dollar economy. This was a 75 million USD programme. For comparison, India recently announced a 30 billion usd national id scheme. A bridge was built in my city - Bombay, India - that costed 4 - 5 times as much as this moon programme. Both of these do less towards providing the Indian poor with basic facilities than the moon mission. I can cite numerous other instances. Also, the BBC did not mention India's dying poor lacking basic services while reporting on these programmes. This BBC report is decidedly shoddy, crass and is a shame.

Chandrayaan-I was India's first mission to the moon. It spent 317 days in orbit and finished 95% of it's scientific objectives. The star sensor which was used by the orbiter's nav system to orient itself using relative star positions died a few months ago due to overheating. The Indian scientists hacked up a scheme to use the on board gyroscope and the pics taken of the lunar surface to keep it in orbit all this while. ISRO has declared the mission as successful despite it falling short of it's 2 year mission life. Also, it is worth noting that this mission planted the first Indian flag on the moon through it's moon impact probe.

I for one can't wait for Chandrayaan II wherein India plans to get a robotic rover landed on the moon. Go India go!

Frankly, I found that comment useful. The first question I had was if this was about a new solution, idea or a fresh development and the comment in question answers that in the negative. I suppose a lot of people here are already familiar with the problem, it's history and gct.

Pure mathematicians generally do not like secrecy. It would be just too childish to keep such a word to oneself. They also know well to not assume the result as proved until a refereed journal confirms it. All that would have happened if the word got out to NYT would be a PR mess about which the mathematical community couldn't care less.

The objective measure of a teacher's success must be what the class ended up learning regardless of what was or wasn't taught and all other random factors involved.

With that definition in mind, as a former pure math student, the best teaches I had were those who were

- oddly enough, good story tellers! By which I mean, they sounded very much interested in what they were telling me. Their narratives always had at least a few mini-mysteries going on just like in a good story. They used one thing leading to another kind of explanations rather than stating unrelated facts one after the other. The narratives always seemed to have a underlying theme even when that theme was sort of irrelevant to the lesson at hand.

- did not answer my question unless they properly understood what I was asking and why I was asking it. I hate it when I ask X and the teacher answers Y. The good teachers always went to great lengths to understand my questions.

- good mentors and guides and could help your career along if you deserved it. the best ones would go out of the way to make the system reward the deserving.

I think those were the two crucial factors. I have had awesome teachers on all sides of the arrogance, style, humourous, lenience, liberal, demanding, thorough/good enough at the subject matter, popular, good natured/asshole spectra.

Ummm... Not all the good teachers did this, but I very much liked the ones who actually tested what I had learnt rather than whether I was paying attention in the class or taking good notes or pretty much was even present in the class or not.

[dead] 17 years ago

I am in Bombay and there is indeed a scare of some kind going around. N95 masks are selling at 5 times the normal price. The media echo chamber is in scare mode. All my newspaper front page headlines have been about swine flu since quite a few days.

All the same, TFA sort of misses the point. While 325k people here might die of malaria every year, nobody in my friend of friends and in their extended family has died of malaria in recent times. All of them know exactly what to do if they caught malaria and how to avoid getting it in the first place. Right now, none of them would know what to do if they caught swine flu. Also, in this sample, statistically speaking, everyone probably has more of a chance of dying of swine flu rather than malaria (even though both the chances are pretty much negligible).

All I am saying is that that comparison to malaria was a bit misleading.