Recent submissions

Comment · 1 year ago
Well the "expertise" is mostly just Python thats sort of the value prop. But yeah building an actual AI product ontop I'd be more worried about the early stage nature of Modular rather than the implementation is closed source.
Comment · 1 year ago
Comment · 1 year ago
Feel like Mojo is worth a shoutout in this context https://www.modular.com/mojo Solves the issue of having a superset of Python in syntax where "fn" instead of "def" functions are assumed static typed and compilable with Numba style optimisations.
Comment · 2 years ago
yeah looks like how they distribute too, basically pre installed and configured pg_search pg_datalake and pgvector
Comment · 2 years ago
Came here to suggest this should be generic, but I'd also do something like pack in `man <command>` into the prompt if you are one shotting. Then it works for "all" commands that have a man page rather than just the commands GPT knows about before its cut off. Even just trying to scrape out `<command> --help` or something would be good too.
Comment · 9 years ago
There area also a lot of people naive to how BS publishing has become. Plenty of PhD students get sucked in, a common one is being asked to publish your thesis as a book. Learning hubris comes before an embarrassment is a right of passage to the vast majority of people who think anyone really wants to read their thesis in a bound form from a third rate publisher created last year.
Comment · 9 years ago
No you should strongly reason and believe in your own power of reasoning, but you should never dogmatically hold on to those beliefs in the light of new evidence that contravenes your previous ideas. Essentially all scientists that are even vaguely good follow this ideal. You have to know what is opinion from fact, facts dont change but your opinion about them does. Opinion guides generation of new facts. If you dont have strong opinions then you wont have the dedication to generate new fact. Look at the more zany side of religion, its strong opinion strongly held. They aren't capable of change and generation of new ideas. But if you were forever lacking in an opinion you also wouldn't action on anything and have some kind of existential nihilism all the time.
Comment · 9 years ago
Comment · 10 years ago
I think that says more about you than everyone else. I would walk halfway across town for slightly better bbq. Ultimately what is there to life than improving the quality of your experience. The issue is what consitutes better BBQ is completely subjective. So we might start from opposite sides of town and try and get to each others nearby BBQ ribs place. That's just human nature. With respect to "frameworks" some of this tends to be kind of centric to how you program. For the last decade most of my work isn't within any framework because its algorithmic with only a need for string IO and some parsers. Perl 6 for that is the framework.
Comment · 10 years ago
Not for performance which is what I think rurban was getting at.
Comment · 10 years ago
If you come from only a Perl 5 background this is the issue. None of that is obvious. It is to someone who's seen OO languages that are a bit functional with good exception handling. In Perl 5 you would probably add to the top of the file:

  use warnings;
  use autodie;
To get similar functionality as the implicit Perl 6 IO error system.
Comment · 10 years ago
Well if you are wandering that way again it's a bit faster a year later. About 10x across the board would be a good estimate. That's still super slow for some things.
Comment · 10 years ago
Thanks for your projection of rudeness... Makes me feel extra special given I spent about ten minutes linking all that stuff.

Baliador is meant to be a take on Dancer from Perl 5 which is somewhere between Sinatra and Rails in complexity. In the Perl 5 world the equivalent of Rails would be Catalyst. But even that isn't really as monolithically well integrated.

The point I'm making is Rails wasn't built in a day and to date Perl 6 has had quite a few people want to kickstart a Rails initiative but they always do it with new code and new ideas cloning a previous paradigm. A better plan is to embed yourself in what's there especially the core language. With grammars you could write a complete DSL as a web framework with all of the power of Perl 6. But it would take someone knowing the core language well to make something that's slick. For behind the scenes there is little reason to reimplement HTTP parsing/serving since there are a couple of modules that are tested against every release of the Rakudo compiler already.

Comment · 10 years ago
A) It's released with a frozen spec and a large test suite for compliance (https://github.com/perl6/roast), with a compiler available that supports a module ecosystem with over 700 modules (http://modules.perl6.org). What's a complete state in your mind? If not this.

B) All of the below is core language, not a use or import anywhere required. Error reporting is also handled for you without autodie and friends.

  Reading from a file:

  #Efficiently line by line for STDIN
  for lines() -> $line {
      $line.say;
  }

  #Get everything in RAM right now
  my $string = "filename".IO.slurp;

  #Lazy list will do IO as you request into the list
  my @lines = "filename".IO.lines;

  #Listing of directories if the path is a directory
  my @directories = "coolstuff".IO.dir if "coolstuff".IO.d;

  Playing with dates:

  #Get a DateTime for right now
  my $date = DateTime.now;

  #Does what it says on the tin
  say "Yippee" if $date.later(:5years).is-leap-year;

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton