HNHacker News
TopNewBestAskShowJobs

todotask

1,044 karma · joined October 24, 2019

submissionscomments
todotask··on JPEG Committee releases a call for evidence for image compression based on AI
JPEG XL repo seems to have adopt Google Brunsli.
todotask··on Show HN: FastComments
With Firefox night mode enabled, the comments can’t be seen.

When blocked images, the whole comments is hidden, it can pose problem for some readers.

todotask··on Forced migration to Google Sheets API v4
I agreed with the experience, my previous stack was also Node on v3 which is easier with quickstart tutorial, I took a challenge to rewrite in Go for a static binary and embedded all assets.
todotask··on Forced migration to Google Sheets API v4
There is one concern with Go tutorials for v4 are still mostly missing from the documentation, it took me days to find the right code in StackOverflow and got it work.
todotask··on Cutting Google out of your life (2019)
I don’t get the part on custom alias for free?

Only a con for Zoho email is IMAP is no longer a free option, but we do lots of subscription for clients which is quite smooth so far.

todotask··on 2k drones light up night sky in Shanghai to welcome new year
Singapore has 500 drones too! https://m.youtube.com/watch?v=zmpB3SEZ2Rk
todotask··on You can now make horcruxes out of your confidential files
Is your idea of reed-solomon encoding store in a multiple device?
todotask··on Why are my Go executable files so large?
Rob Pike submit issue: https://github.com/golang/go/issues/36313
todotask··on Age: A simple, modern and secure file encryption tool
That's interesting and seem to be an alternative to encrypted zip or 7z which could be used in productions?
todotask··on Age: A simple, modern and secure file encryption tool
Is age designed to encrypt large binary files, which seem to increase the file size by 2KB.
todotask··on Lilith: x86-64 OS written in Crystal
I’m aware of this nice site, but I think you are aware Kemal threw an unfriendly message error when you reach to the last page? 100’s shards on each page is rather slow and limited options to search, I would prefer to stick to Github or self-host with Github API that supported some language.

https://crystalshards.xyz/?&sort=updated&page=11

todotask··on Lilith: x86-64 OS written in Crystal
>I'm interested why it seems to be getting little attention compared to Go, Rust, & Julia

I've noticed the slogan was change to "A language for humans and computers", what it really mean? Related to machine learning?

My impression that other than it was design to be as friendly as Ruby and fast as C. It's a lot helpful to have an FAQ if the Crystal team could provides.

todotask··on Lilith: x86-64 OS written in Crystal
I wrote a benchmark for V too and it’s fast but there are other issues internally and externally.

Have anyone know who is Alex?

He going to build compiler in AST, but as long as it’s useful for your works. It’s too early to tell whether it’s reliable for businesses, I’m more likely to trust Go as we know it’s battle tested.

It will definitely take more years to stabilise and promoting, other languages would have been mature and established.

todotask··on Lilith: x86-64 OS written in Crystal
I can only see 1,209 repos after using Crystal for close to a year, some are no longer maintained. https://github.com/topics/crystal

There are lacking of stories around the cloud computing or any large businesses has success with Crystal. They need more of those to gain support if they don’t want to remain in “uncharted territory” which mentioned in their interview.

todotask··on Lilith: x86-64 OS written in Crystal
When I did a comparison:

Crystal has 1,209 repos https://github.com/topics/crystal

Ruby has 19,721 https://github.com/topics/ruby

For those who needs performance for specific tasks, the option is easy since it’s a small investment to learn Crystal but Elixir is mature.

If we are targeting DevOp, other languages has several advantage like Go for microservices and could be work within mobile app.

todotask··on Lilith: x86-64 OS written in Crystal
I have the same feeling as yours. I wish Crystal web server could be customisable, and lack of gRPC, HTTP/2 (only separate repo) and QUIC going to take more time to implement.
todotask··on IBM Stops Server Side Swift Framework Development
I have tried three web frameworks, indeed, Perfect activities is less active although they came up some interesting UI tools for devs but CLI is always preferred.

I do find Golang has fill microservice space where Kitura couldn’t gain traction.

todotask··on We 30x'd our Node parallelism
If I may add, Monzo bank which utilize Golang has interesting stack.

https://monzo.com/blog/2016/09/19/building-a-modern-bank-bac...

todotask··on Low-Cost VPS Testing
For UpCloud referral, you still need to deposit 10USD to get on top of 25USD free (non-expiry date), it's overall a better deal.
todotask··on Union Types have been accepted for PHP 8
As for mine, Ruby slightly faster 4:05s - 4:09s which is close to PHP in timing.

ruby 2.7.0dev (2019-11-23T07:06:30Z master b563439274) [x86_64-darwin18]

gtime -v /usr/local/bin/ruby --jit -W0 nbody.rb 50000000 -0.169075164 -0.169059907

Command being timed: "/usr/local/bin/ruby --jit -W0 nbody.rb 50000000"

User time (seconds): 249.30 System time (seconds): 0.58 Percent of CPU this job got: 100% Elapsed (wall clock) time (h:mm:ss or m:ss): 4:08.97

---

PHP 7.3.11 (cli) (built: Oct 24 2019 11:29:52) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.11, Copyright (c) 1999-2018, by Zend Technologies

gtime -v php -n nbody.php 50000000

-0.169075164 -0.169059907

Command being timed: "php -n nbody.php 50000000" User time (seconds): 248.02 System time (seconds): 0.49 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 4:09.82

todotask··on Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golang-React stack
Agreed, I have recently built a web server entirely (with timeouts) in Go too and acme.sh for LE certs but I still haven't find a way to support Wordpress from Go to PHP-FPM, I'm not well verse to fix the only this part, if you have any suggestion is greatly appreciate.
todotask··on Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golang-React stack
If it was my case, I still undecided which reverse proxy can replace Nginx, however, there are no known performance benchmarks for Caddy 2 I could refer to.

Nginx was designed to handle backend services easily and programmers from different background may not be well verse in Golang at the beginning.

todotask··on We are making Sandboxie a free tool, with plans to transition it to open source
To think I have forgotten about this for so long, it is unique for web browsing and web development. It's useful to run untrusted binaries files that may create lots of garbage and easier to simply wipe temporary data in an isolated environment.
todotask··on Union Types have been accepted for PHP 8
"Every benchmark on that page is faster for PHP"

Let me advice you to benchmark it "accuracy" on your machine setup, don't rely what is on that page.

Make sure the error with --jit-verbose=1 which will show whether it uses MJIT correctly.

ruby --jit-verbose=1

- N-Body single core

Ruby 2.6.3 6:22.00s

RubyJIT 2.6.3 3:58.18s

PHP 7.3.xx 4:10.90s

todotask··on Union Types have been accepted for PHP 8
Which part do you see that is not performance in that benchmark which shown the average time? I have tried benchmark on my own and PHP took longer than RubyJIT.
todotask··on Union Types have been accepted for PHP 8
The “significant percentage“ is more of a product, web services are majority in Java, C#, Go, etc that can utilise RPC and security need.
todotask··on Go Turns 10
Housekeeping and maintainability are important.
todotask··on Nim: Scripting Ease in a Compiled Language
Do you mean compile times for Nim or a project? It's accurate to test it yourself since it's free.
← PreviousPage 6 of 6