Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gbuk2013
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
271.
▲
by
gbuk2013
7y ago
Simple types are by value, objects are only by reference - feel free to verify in your friendly local debug console. More than that, assignment of an object is also only by reference which is super useful and great potential for spaghetti c
272.
▲
by
gbuk2013
7y ago
Don’t get me wrong, I actually love Javascript. I have written code in quite a few languages but JS is the one I am most productive and happy in by far (within the area of network services and web apps that I work in). It has also been very
273.
▲
by
gbuk2013
7y ago
It is true that C is capable of those thing by virtue of being capable of everything, including writing a functional Javascript engine. But you have a choice. You can have strict typing in C, you can pass structs by value and most C program
274.
▲
by
gbuk2013
7y ago
If it helps you, great. I’m happy enough with plain JS, thanks. ;)
275.
▲
by
gbuk2013
7y ago
When you have reached the stage of mud-ball it is already too late. ;) With the appropriate amount of skill and discipline, however, this stage can be postponed for longer than the life of the application. Typescript is absolutely not requi
276.
▲
by
gbuk2013
7y ago
It probably does apply to all languages, but I prefer to speak from experience, which in my case is mostly JS. Architecture and the related abstraction is definitely the hardest thing about programming in my experience, and what really sepa
277.
▲
by
gbuk2013
7y ago
It is not difficult to implement all those features using plain Javascript, in fact I would recommend it as a great learning experience. What is difficult is doing it in way that is maintainable over a long period of time. The nature of the
278.
▲
Real Attack Stories: Online Payment Center DDoS
(devcentral.f5.com)
1 points
by
gbuk2013
7y ago
|
0 comments
279.
▲
by
gbuk2013
7y ago
Unfortunately it is written by someone whose technical ability far exceeds his people skills, which are essential for a library module that developers can safely depend on. This is doubly unfortunate because I very much share his views on b
280.
▲
by
gbuk2013
7y ago
> Decorative or not, for example, I can't understand why the British don't behead their royalty and be done with it. As long as we have a Monarch, our PM can never become President. Even though the power of the Monarch is theor
281.
▲
by
gbuk2013
7y ago
"checkm8 doesn't allow law enforcement to decrypt the phone, but it does allow them to rootkit it with 30 seconds of unattended access. Once it's unlocked by the user they'd get everything they need." That sounds li
282.
▲
by
gbuk2013
7y ago
I use Vue.js old style without any compilation for a reasonably complex app and it’s pleasant enough. Node.js backend uses Pug for templating, each template includes a script template file. These template files are built with Make and load
283.
▲
by
gbuk2013
7y ago
This is very bad and dangerous advice. Please don’t try to learn and practice advanced energy arts from books and the internet. At best you will waste your time, at worst you will mess yourself up. Source: 15 years of practice under instruc
284.
▲
by
gbuk2013
7y ago
Makes me think of this: https://unbreakableumbrella.com/product/unbreakable-walking-... I own one and it’s a great umbrella that I have only ever used for conventional purposes. :) Now I just need to learn this Kunfgu
285.
▲
by
gbuk2013
7y ago
Structured JSON logs to Elastic Search and local disk. ES gets “info” level, disk also has “debug” but only 2 weeks.
286.
▲
by
gbuk2013
7y ago
There is also the simpler "Isha Kria" guided meditation available online: https://www.youtube.com/embed/K4hCvdDn7Zc (important introduction) https://www.youtube.com/embed/wHnl_XugJyE (in
287.
▲
by
gbuk2013
7y ago
> This is a frustrating belief It is not a belief. It is a realisation that came from 15 years of inner work, for which I literally travelled the world. But if you want to play the victim and wallow is self pity that is your right - it i
288.
▲
by
gbuk2013
7y ago
> Telling this is like telling "Just believe in God". It is nothing like it. Believing or disbelieving actually means you don’t know, but are not accepting it as that. If you know something it is useful, if you admit that you d
289.
▲
by
gbuk2013
7y ago
Life does not ask “why?”, it only asks “how?”. Just enjoy being alive! :) Looking too hard for meaning, even if you zoom out a little to the context of our solar system is a sure way of getting depressed. The meaning of life is to experienc
290.
▲
by
gbuk2013
7y ago
Except, TFA talks about renting a server rather than running your own infrastructure. ;) Sure, with AWS there is less work to do (if you have the skills to set it up in the first place, or it’s £££ time) but TFA is right in that you get muc
291.
▲
by
gbuk2013
7y ago
Good luck finding a Cloud Engineer for that money to manage your cloud-based infrastructure. ;) Because it’s not going to manage itself, not if you are doing anything remotely complex. And even if you are not doing complex things, DYI is on
292.
▲
by
gbuk2013
7y ago
I would certainly question his advice to go to Malaysia - the Chinese community there has been subjected to increased discrimination over the years.
293.
▲
by
gbuk2013
7y ago
I don't think it's complex at all. The scoping rules are very simple. Block scoping just added another piece. The difficulty is that there are many simple things like this to learn and to combine in a safe and maintainable manner
294.
▲
by
gbuk2013
7y ago
No, otherwise I would have written it that way. ;)
295.
▲
by
gbuk2013
7y ago
I would say JS is simple, but it’s not easy. :) I love the language - it is earning me a comfortable income and I am very productive in it, but it requires experience and iron code discipline not to let it bite you!
296.
▲
by
gbuk2013
7y ago
https://www.bbc.co.uk/news/world-europe-30414955
297.
▲
by
gbuk2013
7y ago
This is a very important distinction to make. Success is external: it is a certain set of arrangements in your exterior circumstances. Happiness is internal: it is a certain state of your mind and your emotions. Because success is external,
298.
▲
by
gbuk2013
7y ago
The National Forest is one such organisation. https://www.nationalforest.org/ https://en.m.wikipedia.org/wiki/The_National_Forest_(England...
299.
▲
by
gbuk2013
7y ago
No, it really is that simple, if you are taking about a “website”, not a “web application” or some sort of “platform”. Learn to do it by hand or you will forever be dependent on tools. VSCode or Atom is what everyone seems to be using but t
300.
▲
by
gbuk2013
7y ago
My advice is based on my own experience, so obviously I think it is true. It is my job to know a LOT about putting content in users browsers (from TCP protocol level up to the HTML) but I still think that GitHub pages is too limited for any
More ›