bibyte
bibyte on Hacker News
Posted by
bibyte on Wednesday January 24, 2024 @08:37AM
from the self-post dept.
I signed up for Google Cloud (free tier) just to try it out. I made the smallest compute VM and played with it.Just after two days I got an email saying that I need to verify my billing account, or they will shut down my account by May. So I gave them the documents they asked for.Well, apparently that was not enough. I got another email saying I need to take better photos of my documents. So, I...
Posted by
bibyte on Wednesday January 13, 2021 @11:03AM
from the raymii.org dept.
Does anyone have a link to the source code? I was thinking about writing some code in asyncio to compare but I couldn't find the code.
Posted by
bibyte on Wednesday April 29, 2020 @03:38AM
from the jfmengels.net dept.
Thanks for letting me know. It is good to be aware of alternatives.
A very important project because it is one of the two browsers on Android that support extensions (the other one is Firefox Mobile). I didn't know it was closed source.
Posted by
bibyte on Wednesday February 26, 2020 @05:00AM
from the pythonspeed.com dept.
Posted by
bibyte on Wednesday February 26, 2020 @04:53AM
from the yes-www.org dept.
Posted by
bibyte on Wednesday February 26, 2020 @03:32AM
from the joeduffyblog.com dept.
Fair enough. My assumption was that you would consider a source to bytecode compiler an interpreter (to be fair most people do). The next time I say something about Common Lisp I will list all the implementations instead of saying something as simplistic as "compiler" or "interpreter".
The word "compiler" is so overloaded that every time someone mentions one it turns into an argument. This is the whole transpiler vs compiler vs interpreter vs JIT argument. The trouble is that sometimes some programmers implement all of them (myself included).
> CLISP has its own virtual machine, which is the target of its compiler
Then CPython is also a compiler? and Lua?
Of course many implementations do compile to machine code but there are also a few that don't (clisp, ecl, abcl). It is really complicated to talk about languages that have multiple implementations. That is why I went with "interpreter". That was pretty lazy of me :).
But you didn't say anything about the original question. Have you seen Common Lisp code deployed as an executable or as source code?
Isn't Common Lisp's save-lisp-and-die roughly analogous Pyinstaller? I mean they both work but nobody seems to be using them. In my experience Common Lisp code is most commonly deployed with an interpreter.
What about the Samsung Galaxy Tab S6? It seems to be comparable to the iPad Pro in terms of performance and screen. I tried out an Android tablet a few months ago and it seemed pretty fine.
If your want to do portable programming I would recommend a light 2 in 1 laptop. You can dual boot Windows and Linux on it (Windows for media consumption and Linux for programming). But it is bigger then a tablet.
Of course if you use a server you can use anything you want to do programming. But personally the latency is a dealbreaker for me.
If you want this on Android it is available in the Termux repository. If you have a flagship device it should be fast enough to be usable.
I can't edit it now but I was talking about the default Reddit app for Android, not the new mobile website. The website was pretty fast for me. But because of these new changes you can't even view a subreddit without using the app.
I just installed Boost for Reddit and it is pretty fast. But thanks for letting me know about i.reddit.com, I didn't even know that exists. The old Reddit is still the best on desktops, I hope they don't kill it.
I started seeing this a few days ago. What is even more exasperating is that the default Reddit doesn't support tabs and it is INSANELY slow. I can stream 4K content on YouTube comfortably but I have to wait multiple seconds to open a text thread. Maybe I should try the Boost client...
My takeaway was the exact opposite of yours. For example the goto graph seems very intuitive and simple. But it is much more complex to reason about compared to exceptions. My takeaway was that simple graphs like these can't really explain the pros and cons of high level programming constructs.
Implementing a minimal Python is pretty easy (even with the huge standard library) but implementing a complete Python implementation is a herculean task. And even after that there is no guarantee that every Python library will run on your implementation (Pypy).
I don't know about you but I would rather make hundreds of Scheme and Forth implementations then one Python interpreter. But I don't really see that as a downside. I mean who decides on a language based on how easy it is to implement ?
Yes, I meant the pseudo-code quality of Python (I wish Wikipedia would use Python as it's pseudocode :)).
I completely agree that Python is pretty hard to implement. Perhaps you have heard that simple doesn't mean easy ? I could easily implement a Forth (or assembly) interpreter. But it isn't that easy to understand a big complex Forth program (compared to Python). Simple languages like Forth and assembly are too unstructured for me.
I guess I was too fixated on the exceptions part of your comment. You are right that due to Python's dynamic nature every line can turn into a runtime exception. Maybe it's because English is my second language but I couldn't understand that in your first comment.
Maybe I am missing something but I think every dynamic typing system has this problem. I can't see what this has to do with Python and exceptions in general. It is not like there aren't statically typed languages with exceptions. This comment is an excellent critique of dynamic typed systems but it has nothing to do with exceptions.
Can you please elaborate on those problems ? Personally I believe exceptions are the worst way to handle errors, except for all other ways.
I can't speak for other people but the only reason I still use Python is because of it's syntax (but the "one way to do it" is slowly changing). You get much better concurrency with Golang and even better parallelism with Julia.
It is dominant in data science but still some people use it for other things because the syntax is so simple (Scheme is a close second for me).
Posted by
bibyte on Monday January 27, 2020 @04:19AM
from the danluu.com dept.
Posted by
bibyte on Friday January 24, 2020 @01:49PM
from the pron.github.io dept.
Aside from patching the kernel I have done everything GP said. Just because the Arch wiki says it is unstable doesn't mean it always is. It just means Arch Linux can do breaking changes (systemd) without worrying about backwards compatibility. And FYI I wasn't defending Arch Linux. It just seems strange to me that everyone is having instability problems and I can't even reproduce it.
I also agree that you shouldn't run your production database on Arch Linux. It isn't made for workloads like that. But personally I find maintaining Arch Linux+"custom packages"(with AUR) easier then Debian+"latest packages"+"custom packages".
I also have another VM that I use from time to time. I think my longest update was about after a year. I don't remember having any problems like that.
Sometimes it feels like I am living in an alternate reality. After I started using Arch Linux as my main OS I was fully prepared for it to break every few months. But it's been more then 2 years (maybe even 3 or 4 ?) and not one breakage. Also keep in mind that I update it every single day. From time to time I check the Arch Linux news site to see if anything needs manual intervention. So far I haven't needed to do anything.