301 karma · joined Oct 26, 2016 (10y ago) · 77 submissions
comment 7y ago · link · parent
In my case it happens like this:
I have a long running PHP process that constantly fires away mostly SELECT but also a bunch of INSERT and UPDATE statements and also some DELETEs.
Since the DB and the key files do not fit into memory, its all disk bound work.
All tables are MyISAM.
Like clockwork, this stalls the virtual machine once per day.
All I can do is to hard power down the VM and restart it. Afterwards the table data is corrupted beyond repair.
Not sure it is related to memory though. Because the memory usage of PHP and MySQL seem to be constant. Most RAM seems to be used by Linux for caches.
34.
Libraries are fighting to preserve your right to borrow e-books(edition.cnn.com ↗)
83 points · by HugThem · 7y ago · 6 comments
comment 7y ago · link · parent
As far as I know, being bankrupt means you owe someone more money then you have.
At what point does this situation occur?
I would think at first a court needs to accept the plaint and order him to write a rebuttal or to appear in front of the court or something? I wonder what exactly would happen.
comment 7y ago · link · parent
They know they could bankrupt me
without breaking a sweat.
How does that work? What exactly would they do to bankrupt you?They already started taking action but as I understand it, you are not bankrupt yet.
If you put the links back in place, what would they do next? And at which step would you be bankrupt?
comment 7y ago · link · parent
you're still transmitting/redistributing
the content
Parts of it. Google does the same in their search results. The user can even decide which parts, because they show you the part that contains the search term.So they provide a service that includes storing your content in it's entirety.
Has this ever been tested in court?
comment 7y ago · link · parent
Now I offer you a coin flip with less uncertainty. It earns you $0.6 on head and loses you $0.5 on tail. Would you pay more then $0.05 for it? No. Uncertainty was reduced, but no value was created.
comment 7y ago · link · parent
1: Blazingly fast. As it simply hands DB writes to the OS and benefits from all the caching and optimization the OS does. Depending on your storage medium, insert/updates/deletes often are 100x faster then with an ACID compliant engine.
2: Simple data structure. Want to see the sizes of your tables? "ls /var/lib/mysql/your_database" and you see each table as two files. One for the data, one for the indexes.
3: Easy to copy the data "cp -r /var/lib/mysql/your_database somewhere" and you are done.
49.
Product Chart replaces product lists with scatterplots(productchart.com ↗)
2 points · by HugThem · 8y ago · discuss
comment 8y ago · link · parent
IPFS is like Wikipedia, Uber, AirBnB. There have been encyclopedias, taxis and hotels before. But now it's easier to participate.
My computer has this article cached right now. So if my neighbor want to read it, he could get it from me. The infrastructure is just not there yet. IPFS will add it.
comment 8y ago · link · parent
Wonder what evolution in the simulation would come up with as the best lifespan.
Could be a fun weekend project.
comment 8y ago · link · parent
You can uses CSS as part of a keylogger in conjunction with Javascript that triggers your selectors based on keypresses.
There are sites that already ship javascript that change attributes that trigger selectors on certain keypress events. So by adding 'pure css' to these sites one would be able to log keystrokes on certain fields.
One example is Instagram. It ships Javascript that changes suitable attributes of the password field on every keystroke. So adding the right CSS to Instagram could result in passwords being logged.
comment 8y ago · link · parent
I tried your site and I saw that it adds the VAT when the user selects their country. Since the order page makes network requests to ChargBee, I guess they provide all that functionalilty.
Would you say ChargeBee is also a good solution for small one-time-payments?
When you say it abstracts away 'most of the pain' - what pain is left?
comment 8y ago · link · parent
I am in Europe and want to start a SAAS service that caters to individuals and small companies. I wonder if it is feasible to do so in Europe. Do I really have to ask each customer where he is based, if he is an individual or a company and then tax him accordingly? Do I have to create invoices?
US based startups seem to simply not care. Even big companies don't. They just ask for your credit card number and thats it. For example I used Amazon Mechanical Turk recently to outsource some work. And there simply is no way to get an invoice from them.
Do European startups have a big disadvantage in this regard or am I missing something?
Are there services that abstract that away? Deal with all the invoicing and tax issues?