Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fetbaffe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
fetbaffe
6y ago
Yes, that is why it is futile to try to have an exact copy of the production server because the smallest difference will ruin your performance profiling, to be absolutely sure you have to do the profiling on the production server itself. Us
92.
▲
by
fetbaffe
6y ago
Thing is that the dev servers of the past was never equal in setup of the prod servers, difference in software versions, failovers, proxies, crons, backups etc, that was just a lie that was told. In my opinion is is much better to develop
93.
▲
by
fetbaffe
6y ago
My Windows 10 Calculator.exe uses around 20 threads. Seems a bit excessive for a calculator app. Any one having access to old classic calc for comparison? Open up Task Manager and go to Details tab and show the column Threads (right click o
94.
▲
by
fetbaffe
6y ago
1. Personally I find it easier to read variable names prefixed with dollar signs, it differentiates variables from other symbols, which makes them very easy to find, especially now when many languages gives information overload by lots of t
95.
▲
by
fetbaffe
6y ago
Because it fundamentally destroys the current agenda within software development, that tools should be created for developer satisfaction, not customer satisfaction.
96.
▲
by
fetbaffe
6y ago
Yes, and all three of them has very good backwards combability, one of the most underestimated features in a language for developers but one of the most important ones for building a stable business. I recently upgraded a huge legacy codeba
97.
▲
by
fetbaffe
6y ago
Many small businesses just want to get online, how does a container help them? Actually it doesn't. Containers definitely has its place, but there hundred of thousands problems out there that needs to be solved for a low cost, otherwis
98.
▲
by
fetbaffe
6y ago
Wait, Go hasn’t had any revolutionary change since it arrived 10 years ago. It is still basically the same language/package. I’m not saying that is bad, but why does a language need to be constantly revolutionary if it solves what i
99.
▲
by
fetbaffe
6y ago
Of course. Why change that for zero gain? Powershell does too. Can you point to some research that scientifically proves that the use of dollar sign in variable names makes it harder to solve computer science problems?
100.
▲
by
fetbaffe
6y ago
You can say that about Apple users too, but the zealotry has somewhat declined as Apple products has become more mainstream. Historically Linux users where people that actively choose to use Linux based on a combination of technical & p
101.
▲
by
fetbaffe
6y ago
Correct, Red Hat will decide the future of Linux userland, not the distros, they will just have to follow. This is a way of building one distro with many flavors instead of many separate distros. "One distro to rule them all".
102.
▲
by
fetbaffe
7y ago
If the idea is to remove old & deprecated features from C++ that would be (C++)—-
103.
▲
by
fetbaffe
7y ago
Agree, lets hope this rfc gets approved. https://wiki.php.net/rfc/explicit_send_by_ref https://externals.io/message/108699
104.
▲
by
fetbaffe
7y ago
I used to be in exception camp, but I have lately turned to the anti-exception camp. Exceptions have a nasty way of polluting your architecture, they live orthogonal to the rest of the system but still part of the API and have a tendency to
105.
▲
by
fetbaffe
7y ago
Typescript works well without classes because you have great type system, you can implement an interface on the fly by just passing an object with the correct properties to fulfill it. But the class based architecture doesn't necessary
106.
▲
by
fetbaffe
7y ago
Yes, key point is to separate classes if they have state or not. I have a simple convention in my code base, a repository does not have state, a service depends on repositories & can have state, thus a repository can have lots of method
107.
▲
by
fetbaffe
7y ago
Love when the C++ dev enters the debate and claims with a straight face that security vulnerabilities is problem in other languages.
108.
▲
by
fetbaffe
7y ago
Nushell looks great. This is what I have been looking for, structured data but with sane naming .
109.
▲
by
fetbaffe
7y ago
I use Powershell daily on novice level (shell only, no scripts). There are some nice things compared to bash, like tab completion on program arguments. However it is somewhat slow. What surprises me is that somethings are just awkward &
110.
▲
by
fetbaffe
7y ago
Monorepo can help you in tracking dependencies between services at build time, however services are still executed independently in production, thus existing running services will have a dependency to older versions. To solve that without
111.
▲
by
fetbaffe
7y ago
I'm no fan of sanitizing inputs, transform unsafe input to safe input and the storing it, because as you say, someone will find a way to circumvent that. What I always do is to exactly specify what is allowed in any input by parsing, s
112.
▲
by
fetbaffe
7y ago
What is the drawback of just using a string as storage? Together with something like bcmath for calculations. Strings does not overflow & are easy to transfer.
113.
▲
by
fetbaffe
7y ago
Do you then use variable length for the precision depending on the currency?
114.
▲
by
fetbaffe
7y ago
The ruling class has always used history as weapon against the people. This has been true thru all of mankind’s history to this day, this piece included. So why would you then be in trouble when you are just carrying water for the ruling cl
115.
▲
by
fetbaffe
7y ago
Swedish empire was of obvious reasons not a homogenous rule, however the Swedish homeland was except parts of today’s Finland. Forty percent of all ethnic Swedish males all share the same ancestor Ivar, who came from today’s northern German
116.
▲
by
fetbaffe
7y ago
This research is a complete fraud. What is was about was to get funding for exhibition about Islam & Sweden, it was not qualified research. What the researcher Annika Larsson did was to take a piece of Viking cloth, made a cut & fol
117.
▲
by
fetbaffe
7y ago
Here is an article explaining Spectre & Meltdown with regards to C. https://queue.acm.org/detail.cfm?id=3212479 It has been discussed previously multiple times here at HN, the latest from three weeks ago. https:/&
118.
▲
by
fetbaffe
7y ago
He mentions libusb two minutes into the talk.
119.
▲
by
fetbaffe
7y ago
What is your opinion on riotjs? I have followed that project for many years & it has always had an interesting component system, but I have never done anything serious with it. They have recently released a new major version. Very smal
120.
▲
by
fetbaffe
7y ago
Why do you think that React is absurd? I’m not a Rect developer myself, but it is always interesting to listen to others experiences with it.
More ›