3,953 karma · joined October 25, 2009
Software developer living in Tokyo, Japan
Previous: Oozou (BKK), Omise (BKK→TYO), Varnish Software (TYO), EnergyRoute Japan (TYO)
I run a small IT consulting business in Japan; feel free to email.
I can't comment about the guest vs the hotel, but this one is also filed under Section 14(1) in Thailand's Computer-Related Crime Act in addition to Defamation by advertising, so it is another chapter in a long and ongoing story of Section 14(1) abuse, which says:
"Section 14: Whoever commits the following offences shall be liable to an imprisonment [...]: (1) Dishonestly or by deception, entering wholly or partially distorted or false computer data into a computer system in a manner likely to cause damage to the general public; which is not a defamation under the Criminal Code" (unofficial translation)
The original intention for this Section was to be used for _phishing and fraud_ (as it was originally based on Budapest Convention), but it is worded so loosely that it applicable to anything deemed "false information" as long as it is not directly a defamation. This is mainly due to the use of word "false information" instead of "forgery" in the Thai version. This Section (and the whole Section 14) has been used by government to suppress any political differences for a long time, and never once actually be used for phishing or fraud as it was intended.
It also doesn't help that this Section 14(1) actually has higher fine/jail time than the relevant Criminal Code and cannot be withdrawn, unlike the Criminal Code. Group of lawyers at iLaw[1] has been pushing to amend this Act for a long time, but lawmaker only respond to them by making it worse (to the point that it cannot actually be used for phishing or fraud[2]).
Right now the push to amend Section 14(1) kinda stalled, as Thailand has much bigger problem that need to be fixed (including amending the constitution so Army-tied party no longer get automatically elected, of which a signature of 100k Thai people with a hard copy of their National ID card recently been dismissed in favor for "100k" names in Google Forms from the pro-government side).
[1]: http://ilaw.or.th/
[2]: http://ilaw.or.th/node/5705 (in Thai)
I think this is just Ghibli open up the possibility of using these images in those gray area (e.g. posting these shots on social media, referencing from a blog, etc.)
[1]: https://www.cric.or.jp/english/clj/cl2.html
^1: e.g. for http://www.ghibli.jp/works/chihiro/ it is "© 2001 Studio Ghibli・NDDTM"
The only workaround is to use ndppd[1] set to proxy to the upstream router. However ndppd is undergoing a rewrite right now and latest stable release (0.2.5) has few bugs causing ndppd to stop working after a while. So far, the only way to get everything work for me was to build ndppd from master (which was deprecated in favor for a new 1.0, which is still in development).
OpenWRT seems to include a working version of ndppd out of the box, but its MAP-E supports is somewhat broken.
[1]: https://tools.ietf.org/html/draft-mdt-softwire-map-encapsula...
Blender has ability to do simple constraint, but it's not its primary uses. FreeCAD can also be used the Blender way but the software will warn about being under-constraint. Both FreeCAD and Blender can export to STL file (used by CAD softwares), but Blender's STL usually need to be scaled to real world measurements. In case of 3D printing, this STL file can be imported into a slicer software such as PrusaSlicer, which outputs GCode to control the printer (e.g. X, Y, Z coordinates, extrusion temperature, etc.)
My only issue with selectrum was, back when I'm using ivy, I rebind forward direction keys (<right>/C-l/C-f) to `ivy-partial-or-done` which either complete the input with the selection or visit a file depending on the context. Selectrum doesn't have equivalent implementation, but it's easy enough to implement. Reposting in here in case anybody needs it:
(defun gemacs--selectrum-insert-or-submit-current-candidate ()
"Insert current candidate or forward to `selectrum-select-current-candidate'
if input text hasn't changed since last completion."
(interactive)
(let ((prev-input (selectrum-get-current-input)))
(when (> (length (selectrum-get-current-candidates)) 0)
(selectrum-insert-current-candidate))
(when (string= prev-input (selectrum-get-current-input))
(selectrum-select-current-candidate))))
[1]: https://github.com/raxod502/prescient.el^note1: I don't use rg due to dependency on PCRE2 which doesn't play nice on my OpenBSD machine.
Thanks to the amazing use-package[1] macro (which Spacemacs/Doom also uses) most configurations are self-contained to a certain extent. Searching for use-package in GitHub[2] will yields plenty of results which can be mostly be taken as a reference for your own liking. It should be relatively easy to port part of Spacemacs/Doom to vanilla use-package, e.g. starting with this (which sets up use-package alongside with evil):
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(require 'use-package))
(use-package evil
:ensure t
:config
(evil-mode t)
(use-package evil-leader
:after evil
:ensure t
:config
(evil-leader/set-leader "<SPC>")
(global-evil-leader-mode t))
To add Magit, one could take a look at Spacemacs's git/packages.el[2], search documentation on what each package does, and proceed on porting configuration, only the part that you actually uses, e.g.: (use-package evil-magit
:ensure t
:after (magit evil))
(use-package magit
:ensure t
:config
(evil-leader/set-key ("gs" #'magit-status))
Since most configurations based on use-package are self-contained, when stuck I also like to use GitHub search to look on how other people configure a certain package[3]. In most cases the configuration should be reusable as-is.Finally, use-package is highly extensible. There is straight.el[4] which adds extension to use-package to fetch from Git and pin a version in a lockfile, which adds reproducibility to Emacs configuration. There's also el-patch[5] from the same author that allows patching package on the fly without the need to maintain separate forks.
[1]: https://github.com/jwiegley/use-package
[2]: https://github.com/syl20bnr/spacemacs/blob/d46eacd83842815b2...
[3]: https://github.com/search?l=Emacs+Lisp&p=4&q=use-package&typ...
AFAIK, three parties that are aware of a purchase history of tokenized cards are: Token Service Provider who provides the token, Token Requester who offer the tokenized service (Apple/Google in this case) and a card issuer. Apple Pay for example, uses First Data as its Token Service Provider. (I'm pretty sure Google Pay does as well)
[1]: https://github.com/macports/macports-ports/blob/master/lang/...
People followed tutorial videos downloading Xcode, making a developer account, figure out how to get signing profile works, etc. just to get F.lux installed on their phone. Searching for "Flux iOS 9" on YouTube yields some video with over 100k views. In some community there are people who are willing to do it for you (by VNC into user's machine) at $10 per installation.
[1]: https://lists.llvm.org/pipermail/cfe-dev/2007-July/000000.ht... (announcement)
Most people that switched from Pipenv to Poetry were probably done so during the end of 2018 throughout 2019, of which Pipenv has no releases at all[1] (non-alpha/beta version were only released in November 2018 then May 2020).
There were a rant from few years ago[2][3] regarding other issues (performance, etc.).
[1]: https://news.ycombinator.com/item?id=21781421
[2]: https://chriswarrick.com/blog/2018/07/17/pipenv-promises-a-l...
The reason this has never become a problem in Ruby world is because Ruby community is centered around Rails, of which a requirement to deploy on non-x86_64/ARM64 is pretty much non-existent. Ruby itself doesn't even support non-glibc (e.g. compiling Ruby on musl requires a patch).
The "right to retain its commission on the sale" clause may cover both, but at least in the chargeback case it makes sense to have such a clause.
From the customer side of things, calling their credit card company to have a refund and calling the merchant to have a refund may have the same result, however in the merchant side of things they are completely different with the former result in a penalty for the merchant (chargeback ratio).
Stripe and other modern payment gateway makes pricing simple, but it's far from simple behind the scene. Most people on HN are probably using credit card for App Store, so it's easy to overlook that App Store offers different kinds of APMs: carrier payment[1], local wallet, stored value card, and local payment services[2]. I don't think Stripe supports half or even third of what App Store supports.
I've worked on local integration for few countries for different kind of payment methods. In some payment method they simply don't refund your fee. In some cases where currency conversion happens it's not possible to refund using the exact rate the charge was made. In some cases the fee is prohibitively high (e.g. 12% for carrier payment). In many cases there are contract fees, connection fee, infrastructure ("nah you have to have your own server cage and a direct fiber line from us") fee and many more. This, plus CDN, maintenance and everything, is one of the reasons why I don't think 30% is outrageous and will probably found it acceptable if they don't refund this fee, taking operational costs involved into account.
"From a payment provider" means a chargeback, e.g. a customer calls their credit card company the charge was fraudulent, and the credit card company files a dispute code against payment provider (usually Visa 83/JCB 546/Mastercard 4853/Mastercard 4863 depending on the case). In this case it's not uncommon to not refund the fee. In fact, many payment providers will also charge you extra fee for the dispute (e.g. Stripe charges $15[1]).
There's also filing fee in case the merchant trying to fight the dispute and lose. The fee varies by network: $500 for Visa, at least $600 for Mastercard.
[1] https://www.thairath.co.th/news/tech/technology/1836736
[2] https://www.mcot.net/viewtna/5eccba21e3f8e40af8448090
[3] https://www.bangkokbiznews.com/news/detail/888783?ans=
[4] https://www.bangkokpost.com/business/1896230/fibo-unveils-ro...