Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DCoder
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
DCoder
9y ago
I'm partial to Signpost and Towers.
152.
▲
by
DCoder
10y ago
Yes. I just wrote a Chrome extension this week, using plain ES6. There was not enough code in it to require TypeScript or Webpack.
153.
▲
by
DCoder
10y ago
I haven't tried Flow, so I can't say.
154.
▲
by
DCoder
10y ago
IntelliJ Ultimate user here, writing and refactoring TS works quite well. There are some minor issues (e.g. sometimes it doesn't show the usual "this method is overridden in a child class" indicator), and refactoring likes to
155.
▲
by
DCoder
10y ago
A man is walking down the street carrying a 12-roll pack of toilet paper. People surround him, all excited: "Where'd you get that?" The man answers, "I just got it back from the dry cleaner's!" (source: Viktor
156.
▲
by
DCoder
10y ago
* Steven Levy – Crypto * Stephen King – 11/22/63 * Michael R Underwood – Geekomancy series 11/22/63 in particular is hard to put down, King doesn't need the supernatural to create a thrilling story.
157.
▲
by
DCoder
10y ago
You can also look at https://github.com/scmbreeze/scm_breeze
158.
▲
by
DCoder
10y ago
The term for this is "Magpie-driven development".
159.
▲
by
DCoder
10y ago
> one reason is that basic auth lost out early on to site-supplied login forms, so people got used to entering usernames and passwords into the page content anyway, instead of the browser UI To be fair, basic auth is not particularly u
160.
▲
by
DCoder
10y ago
I thought so. What if I don't hate my job yet? Should I just give it more time? :)
161.
▲
by
DCoder
10y ago
BlueAcorn Universal Analytics.
162.
▲
by
DCoder
10y ago
> find an unrelated but expensive hobby Why expensive?
163.
▲
by
DCoder
10y ago
I use the verbose version for readability: set -o errexit set -o nounset set -o pipefail Some commands need custom error handling, which means turning off -e: set +o errexit ansible-playbook ... if [[ "
164.
▲
by
DCoder
10y ago
Hex-Rays is a pretty good decompiler plugin for IDA Pro: https://www.hex-rays.com/products/decompiler/index.shtml
165.
▲
by
DCoder
10y ago
I have been working with Magento CE 1.x for several years now. I have spent at least a hundred hours inside the debugger carefully stepping through the seventy layers of its core code to make sense of it. I can list a lot of problems I have
166.
▲
by
DCoder
10y ago
Somewhat on topic: I work 4-days/10-hours: 2 morning hours from home, commute to the office clears my head, 8 hours in the office, and Friday is free. Pros: - three-day weekends all year long - 20% less commute time - magically enforce
167.
▲
by
DCoder
10y ago
Using a VM is the reason to use Vagrant.
168.
▲
by
DCoder
10y ago
Isolation and reproduction. For one thing, you want the development environment to be as similar to production as possible – same OS version, same webserver version, same DB version, same dependencies, no unwanted extras that differ between
169.
▲
by
DCoder
10y ago
Generics are a pretty integral part of the type system, not a "Java feature". And TS has other good features besides types, e.g. transpiling to ES5, async/await, TSX, decorators. What does pure ES6 offer instead? I am avoidin
170.
▲
by
DCoder
10y ago
> getting things done quickly and easily Sure, fast turnaround is good. Being able to maintain and refactor what you made a year later is even better. I'm currently refactoring an app that has ~30k sloc TypeScript, and doing it wi
171.
▲
by
DCoder
10y ago
> And it lets one write plain old ES6, a luxury in this age of TypeScript fascism by psychopathic ex-JBoss villains. This opinion is one of the many things that are wrong with the JavaScript ecosystem today. Static typing as provided b
172.
▲
by
DCoder
10y ago
PHPMailer can be configured to send mail through raw SMTP, by directly invoking sendmail, or by calling PHP's mail() function (which is a thin wrapper around sendmail). This vuln affects the last mode, where the command line is invoked
173.
▲
by
DCoder
10y ago
> When configured to use CLI sendmail, That's not correct. PHPMailer can be configured to send mail through raw SMTP, by directly invoking sendmail, or by calling PHP's mail() function (which is itself a wrapper around sendma
174.
▲
by
DCoder
10y ago
The parent post said "only implementations using sendmail (ie. not mail() or SMTP) are affected". From my reading of the code, "only implementations using mail() (ie. not sendmail or SMTP) are affected".
175.
▲
by
DCoder
10y ago
That's not correct, the added escapeshellarg() call is inside the mailSend() function, which sends mail through php's mail(). See [1]. [1]: https://github.com/PHPMailer/PHPMailer/blame/4835657cd639fb
176.
▲
by
DCoder
10y ago
That added call to escapeshellarg sanitizes the "From" address before passing it to PHP's mail() function as an additional parameter. That function will invoke a preconfigured executable (sendmail or a compatible wrapper) and
177.
▲
by
DCoder
10y ago
Or, once they have learned the alien language, they see legitimate shortcomings in it that their native language doesn't have.
178.
▲
by
DCoder
10y ago
Web dev chiming in with a similar experience. Last month I interviewed three people claiming multiple years of PHP/MySQL experience, not one of them could tell me what an SQL transaction is.
179.
▲
by
DCoder
10y ago
Thank you for the contact details, I'll send you the details of the security issues later this week. This extension was purchased through Magento Connect just a few months ago. I'm glad to hear the situation is improving now.
180.
▲
by
DCoder
10y ago
> utf8mb4 comes with some technical "gotchas" (google it) I know InnoDB limits index sizes to 767 bytes, meaning VARCHAR(255) using utf8 can have all 255 characters indexed, but VARCHAR(255) using utf8mb4 can only index 191 c
More ›