Better HN
topnewbestaskshowjobs
Log inSign up

anshul

292 karma · joined Jul 25, 2008 (18y ago) · 65 submissions

Submissions

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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

comment 4y ago · link · parent

Does anyone know if or when google intends to make this available for beta testing or public use?

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Here's what would be my dream solution -

• Linear like github sync.

• github like auto links.

• A cli solution that allows me to do frequent tasks from the cli itself.

Right now I use linear[1]. It's easily the most flow preserving bug management solution I have found. It could do with a nicer and faster ui though.

[1] https://linear.app/

comment 6y ago · link · parent

Ruby 3 is expected to introduce new concurrency primitives that evade the global interpreter lock (guilds / isolates) and type definitions for the stdlib for optional typing support. This should be a big release for ruby!

9.

Ruby: We have decided to go forward to 3.0 this year(github.com ↗)

325 points · by anshul · 6y ago · 131 comments

comment 14y ago · link · parent

Would really love to see something like this.

comment 16y ago · link · parent

There was a "Is swap necessary" discussion on lkml and kerneltrap[1] a while ago and iirc, someone in the know had said that the kernel does expect to have some swap to work with. So, I run all my machines with about 10M of swap space.

[1] http://kerneltrap.org/node/3202

comment 16y ago · link · parent

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

comment 16y ago · link · parent

Can we please not do that, at least here on HN? A direct link[1] to the comment in question would be better for a number of reasons.

[1] http://news.ycombinator.com/item?id=1266864

14.

On “trivial” in mathematics(shreevatsa.wordpress.com ↗)

5 points · by anshul · 16y ago · discuss

comment 16y ago · link · parent

Still the default on Slackware.

comment 16y ago · link · parent

gitk already does that, doesn't it?

comment 16y ago · link · parent

Facebook Connect is not an open technology in any meaningful sense of the word.

comment 17y ago · link · parent

Yes. I have done that twice and can affirm that it works as advertised. It's quite nifty actually.

comment 17y ago · link · parent

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.

comment 17y ago · link · parent

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).

comment 17y ago · link · parent

> He has intestinal cancer and may not have long to live.

That's sad. James Randi is just simply incredible. All the best to him.

comment 17y ago · link · parent

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].

comment 17y ago · link · parent

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

comment 17y ago · link · parent

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.

comment 17y ago · link · parent

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!

comment 17y ago · link · parent

Anyone got any updates on the various gnomes? Anyone of them close to the finishing line?
123