Ulti
|
7 months ago
|
on: Python performance myths and fairy tales
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.
Ulti
|
7 months ago
|
on: Python performance myths and fairy tales
More of a question of /will/ Mojo eventually be entirely open source, chunks of it already are. The intent from Modular is eventually it will be, just not everything all at once and not whilst they're internally doing loads of dev for their own commercial entity. Which seems fair enough to me. Importantly they have open sourced lots of the stdlib which is probably what anyone external would contribute to or want to change anyway?
https://www.modular.com/blog/the-next-big-step-in-mojo-open-...
Ulti
|
7 months ago
|
on: Python performance myths and fairy tales
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.
Ulti
|
1 year ago
|
on: Full text search over Postgres: Elasticsearch vs. alternatives
yeah looks like how they distribute too, basically pre installed and configured pg_search pg_datalake and pgvector
Ulti
|
1 year ago
|
on: Show HN: ffmpeg-english "capture from /dev/video0 every 1 second to jpg files"
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.
Ulti
|
8 years ago
|
on: Why I published in a predatory journal
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.
Ulti
|
9 years ago
|
on: The Case for More Intellectual Humility
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.
Ulti
|
9 years ago
|
on: Japanese company develops a solar cell with record-breaking efficiency
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
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.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
Not for performance which is what I think rurban was getting at.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
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.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
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.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
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.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
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;
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
No one talking about Perl 6 compactness means golfed code! Just naturally translating over say a Java program with the OO design intact will be hugely compact. In a way that means the code is written at a succinct conceptual and declarative level. Perl 6 is incredibly declarative, you say what you want, not how to get there. The core features cover nearly all of what you want out of the box too.
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
Since Christmas 2015 was the "production" release of the language specification. Hence the 6.C version number, the C stands for Christmas. Rakudo around about now implements that feature set in a stable way. The last year has mostly been optimisation work in the runtime and VM. The whole thing is about as stable and production worth as Swift. That is to say features do still change, but not the ones already specced as 6.C
Ulti
|
9 years ago
|
on: Ask HN: Why hasn't Perl 6 taken off yet?
Because people keep asking why it hasn't taken off rather than using it and posting here about how it was awesome.
Ulti
|
9 years ago
|
on: Tech Talent: How the UK lost six potential titans
I'd say most netbooks or tablets replaced it for all of those things now... But you're right that Psion were super innovative. More important than their series 5 hardware was the operating system. EPOC was a 32bit embedded OS long before anyone else was doing them. It was nice to program for and dealt with multiprogram which even the first iPhones didn't think about.
Ulti
|
9 years ago
|
on: Where Can a Ph.D. Take You? Back to School, Usually
This article shows a gross ignorance of the reality. Academic sciences especially are woefully under funded and anyone coming out now with a PhD has no position to go into especially if you are half decent. Accepting to only teach in a crap university and struggle to have a research career is not a choice for competent people. Instead they leave once they fully understand the insermountable task of obtaining a decent life in the academic world is. Worse is the younger 40-45 yol academics think people now face the same world they did. Whereas there has been a 10x increase in PhD graduates since they went looking for a position. The number of available jobs has not dramatically increased at all. This and the stochastic nature of funding of grant proposals means no one chooses to remain in academia. Apart from the top 1% or the no hopers who think being a stooge for the next 40 years is admirable and they should take one for the team to pursue "science". The reality is research jobs outside of academia are obviously booming with this sudden availability of talented and highly educated work force.