Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Kequc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
Kequc
10y ago
Sendgrid is overly complex for what I need it to do. It's bloated with features, and over-complication. Their API to build a simple email necessitates creating at least three different objects. They have a whitelisting feature, in case
152.
▲
by
Kequc
10y ago
I figure if you need to re-issue or initially issue the two cookies you set one of them to expire after 6mo and the other 1yr.
153.
▲
by
Kequc
10y ago
I've explored this in the past. Wouldn't it be possible to simply set two 1yr cookies one at the mid-expiry point of the second. Then re-set the first when it expires and vice versa?
154.
▲
by
Kequc
10y ago
He holds wide appeal despite what most sources would tell you, he was as popular with elites as Bernie Sanders. He would not have made it this far without receiving record numbers of votes. http://www.thegatewaypundit.com/20
155.
▲
by
Kequc
10y ago
The title states "western-style diet", but the article is about obesity. What is the purpose of changing words around like this? Not everybody who lives in western society is fat. Plenty of people living in non-western societies a
156.
▲
by
Kequc
10y ago
puts on tinfoil hat I think the companies that are doing it are fighting over the space the same way operating systems do. Android, iOS, Windows. Potentially apps could start being developed for Angular and React and so on, in the future
157.
▲
by
Kequc
10y ago
I create a separate file for each concern, and I dump them into the same directory together. If the files list become significantly long I separate them into subfolders of more general concerns. For example a folder for everything to do wit
158.
▲
by
Kequc
10y ago
Hmm, not client side I haven't. Wouldn't it be easier to draft a set of design principles for the project? What I mean is if you really need a single page application, and usually you don't, that can be accomplished easily wi
159.
▲
by
Kequc
10y ago
Every time I've noticed I'm on a page using Angular or React the experience feels terrible. Like there are 100 different unnecessary things going on in the background. Though to be fair these are only the times I've noticed I
160.
▲
by
Kequc
10y ago
As a 23andme customer I guess this means that drugs that suit my DNA are therefore as a result of this study going to benefit me before anyone else. I don't mind if my DNA is used for scientific research and I don't call that a mo
161.
▲
by
Kequc
10y ago
Yours is a simplistic cartoonish and insulting strawman of the older generation. Britain has been in the EU for 43 years, 65 year olds were kids themselves when it joined. Everyone in Britain has been in the EU their whole lives. Couldn
162.
▲
by
Kequc
10y ago
It's going to take 2-3 years before the UK is out of the EU, that is in no way simple. The referendum was only called after decades of political squabbling over the issue and Cameron was extremely confident in putting the question to r
163.
▲
by
Kequc
10y ago
I looked up the distance from Bucharest to Rome it's 700 miles. The same distance as Minneapolis to Denver. The cheapest price I found quickly booking 2 months in advance was $34 (eu) and $90 (us) respectfully. Interesting price diffe
164.
▲
by
Kequc
10y ago
I've driven past Gibraltar. My initial intention was to go visit, but they have a significant border. The UK is outside of the Schengen area, so Gibraltar is there checking passports just like they will be in a few years when out of th
165.
▲
by
Kequc
10y ago
[Not the right community for discussion and you can't delete old hacker news posts so let me nip this in the bud.]
166.
▲
by
Kequc
10y ago
I would structure my suggestions like this. In the `_buildSuggestionElement` method check the type, set a colour from some list you have, or set a class and change the colour in your css. interface ISuggestion { name: string;
167.
▲
by
Kequc
10y ago
What I like is that all the code is laid bare. You could add a line or two into the `_onKeyup` method which does this. These tags are sorted by popularity. if (this.parts.suggestions && (e.which || e.charCode || e.keyCode) ==
168.
▲
by
Kequc
10y ago
Thank you I am the author. I find myself wanting to promote self determination in the JavaScript world, it seems more often than any other ecosystem I've involved myself in to be the one that depends heavily on external libraries and d
169.
▲
Make your own tagging system from scratch
(kequc.com)
77 points
by
Kequc
10y ago
|
14 comments
170.
▲
by
Kequc
10y ago
I've amended `try1.js` and `try2.js` to my gist. https://gist.github.com/Kequc/bcd80980184ed480b864581bcdb351... I'm not sure async is my new favourite library. It seems to obfuscate a lot of behaviour out of
171.
▲
by
Kequc
10y ago
I've got a classic callback hell type situation that just cropped up in one of my applications. We are using an image library to change an uploaded file into a background image for the header. https://gist.github.com/Ke
172.
▲
by
Kequc
10y ago
I haven't been using npm for a hugely long time, but every time I push out an update to one of my packages it sees a boon in downloads. Then that trails off. I assumed there was already a system in place that more or less keeps people
173.
▲
by
Kequc
10y ago
It's amazing. Just about every single one of my email addresses have been compromised in one way or another, how could it be there are so many websites with such bad security.
174.
▲
by
Kequc
10y ago
I think there's too much attention payed to ideologies in programming. OOP is bad but only because it is so demanding in its scope. Everything in programming is really just a set of tools, so who is deciding which tools I am to use all
175.
▲
by
Kequc
10y ago
While seat belts work, I think what saved these kids lives were the crumple zones. Those do work twice. If the car crumples in areas that don't impact the riders that's a good thing. Nobody would have survived such a crash in a cl
176.
▲
by
Kequc
10y ago
This is the clearest analysis of the situation. He is mentally unstable and needs help, not a media spotlight.
177.
▲
by
Kequc
10y ago
When javascript performs an asynchronous operation it doesn't block the thread. It stacks everything on a queue and then just works through everything as fast as possible. Any other language would require a separate thread for each ope
178.
▲
by
Kequc
10y ago
I'm still not all the way on board with promises - from the sounds of it this article says there is already a successor down the pipe. As you've pointed out some of these libraries make things behave a lot more similarly to other
179.
▲
by
Kequc
10y ago
Well... he did take a lot of drugs. Prescription pills are a hell of a thing, much stronger than street drugs, and he was taking them in excess. Not just doctor's prescription if you know what I mean. I don't want to talk about pr
180.
▲
by
Kequc
10y ago
Calling someone a racist is a quick way to get unfriended, yes. I've been blocking people who use that kind of personal attack on me and my life is better for it. His perception of your feed and your perception of your feed are likely
More ›