Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tored
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
301.
▲
by
tored
5y ago
And usually configurable, e.g. for interface Reader use FileReader implementation.
302.
▲
by
tored
5y ago
How is DI a cognitive overhead?
303.
▲
by
tored
5y ago
> positioning each gadget manually, coding XML, using visual GUI designer Yes, I have only done manual position. My programs are not that big yet. Some gadgets are not always feature complete, thus sometimes you need to write custom code
304.
▲
by
tored
5y ago
I agree with that is very dominant culture among programmers that they want things for "free" and not pay anything to everyone that have worked hard on it. Myself I have zero problems paying for software if it is good. My problem
305.
▲
by
tored
5y ago
A while back I worked on a Qt 5 code base and a another with QML. I would say I prefer QML over that other Qt GUI Framework, mostly because you can leverage JavaScript for fast development, but not that fond of the the GUI part of QML, but
306.
▲
by
tored
5y ago
Since PHP 7.1 you can write [$a, $b] = [$b, $a];
307.
▲
by
tored
5y ago
PowerShell also has a weird default encoding when piping.
308.
▲
by
tored
5y ago
You can put your PHP site into a single phar (PHP Archive) file if it is important to get that single file effect.
309.
▲
by
tored
5y ago
We live in such bizarre time, things that technology already solved in the past is now considered innovative.
310.
▲
by
tored
5y ago
I remember when one of my first professional mentors jokingly said that all those years spent in university was to write your own .emacs file so you had one when your career started. He was a bit shocked that mine was almost empty.
311.
▲
by
tored
5y ago
The largest spy organisation in the world, Google, uses mostly free software.
312.
▲
by
tored
5y ago
As with every tool you should of course have the knowledge to do things properly without the tool, but not using a good tool is like saying we should use old style shovels instead of a modern excavator because the excavator shields us from
313.
▲
by
tored
5y ago
Problem is that it can’t be done in PHP without on-the-fly rewriting of source files. In JavaScript the caller decide how a module should be used by importing it to symbol, thus different versions of the same library can exist simultaneousl
314.
▲
by
tored
5y ago
Compared to what?
315.
▲
by
tored
5y ago
Frameworks helps developers to move in the right direction, and that is a good thing, however when you have used a framework long enough you start seeing the cracks. Frameworks solves a general problem, you on the other hand has a specific
316.
▲
by
tored
5y ago
All of these problems are created by the developers. I have created many on-the-fly mini-PHP frameworks to use within existing legacy code bases to avoid all of this. Easiest way to avoid manually requiring files is to use classes with the
317.
▲
by
tored
5y ago
Home page of SQLite uses SQLite concurrently. https://www.sqlite.org/whentouse.html If it exist a concurrency problem it should therefore either be in the bindings, operating system or the file system. I only used SQLite in
318.
▲
by
tored
5y ago
A CMS alternative to Wordpress is Grav CMS. PHP, no database (flat file), very easy to install (unzip into document root). Uses twig templates. Supports plugins. An alternative to a CMS is a static site generator. Exist many implementations
319.
▲
by
tored
5y ago
To handle direct database read by multiple micro services you can create views for the different type of authorization checks you need to do. If schema need to change you just update the view.
320.
▲
by
tored
5y ago
It is not comparable, see this comment https://news.ycombinator.com/item?id=30877026
321.
▲
by
tored
5y ago
They can do that because of regulation, not intent. It is more like this, person A is in a hurry and is allowed to drive over the speed limit because person A is good person, but person B, who also is in a hurry, is a scumbag and therefore
322.
▲
by
tored
5y ago
True, but the intent here is very subjective, the court basically has to fantasize about the perpetrators intent. And what it usually comes down to is if the perpetrator is "good" person or not. Speech laws invites courts to be su
323.
▲
by
tored
5y ago
Your comparison would be true if the speed limit differentiated on the intent on the speeder, e.g. person A can drive over the speed limit but not person B because person B has the wrong intent.
324.
▲
by
tored
5y ago
Speech laws also requires the court to make a judgement on the intent of the perpetrator, the exact same expression can either be legal or illegal depending on intent.
325.
▲
by
tored
5y ago
What is typical for organization like police is that they prioritize things that gets the best statistics in a spreadsheet, not the best result for society.
326.
▲
by
tored
5y ago
Agree. The strength of PHP is also its weakness. Because of the separation between PHP and the web server it makes developing PHP really easy because the web server handles the request for you. But you pay the price when configuring your en
327.
▲
by
tored
5y ago
Sweden was not a democracy when the 1809 constitution was adopted, however Sweden gradually became a democracy over decades with that same constitution. That happened by moving decision making from the King to his cabinet, which was already
328.
▲
by
tored
5y ago
> like I feel like there are now a lot of people who are knowledgeable of everything but master of nothing In general that is not necessarily bad, it can be a good thing. > they keep learning framework and library without caring about
329.
▲
by
tored
5y ago
> What if the people who actually voted for the Republicans changed They probably have, but the party haven't (or changed in another direction). E.g. during the G.W. Bush years the republican base was more neocon, thus in line with
330.
▲
by
tored
5y ago
In Sweden broiler is common political term for a person that has their entire career and life within the same political party and many of that political party's suborganisations like for youth, religion, students, women, scouts etc. Th
More ›