Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DCoder
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
271.
▲
by
DCoder
11y ago
Websites. RTEs are a necessary evil there. If you want to post some text on your website (an announcement, press release, anything), your options are plain text, RTE, or non-WYSIWYG solutions such as Markdown/HTML, which are far outsid
272.
▲
by
DCoder
11y ago
But the compiler's output will be polluted with these false positives, making it harder to see actual errors. (Also, there's a compiler flag to prevent codegen on error, which comes in handy sometimes.)
273.
▲
by
DCoder
11y ago
> Every JS code is a valid TS, since TS is a superset of JS. There are still cases where you'll need to sprinkle <any>. For example: var state = { foo: 1 }; if(something) { state.bar = 2; } is valid JS
274.
▲
by
DCoder
11y ago
Google Closure Compiler [1] can also perform dead code removal, but it requires extra work annotating all public APIs and naturally it can't cope with dynamic/indirect calls. [1]: https://developers.google.com/clos
275.
▲
by
DCoder
11y ago
Speaking of things that the soviets reverse-engineered, I think the B-29 Superfortress is worth mentioning: https://en.wikipedia.org/wiki/Tupolev_Tu-4
276.
▲
by
DCoder
11y ago
Here's a similar joke I found in Viktor Suvorov's faschinating Kuzkina Mat [1] : 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?"
277.
▲
by
DCoder
11y ago
> (email is in my profile) The "Email" field in your profile is private, others can't see it. You need to put your email in the "About" field for it to be publicly visible.
278.
▲
by
DCoder
11y ago
As I see it, the auditor's job is to analyse the system thoroughly, not to skim some areas of it. Looking through 5000 pages worth of code on a computer screen would also be quite a challenge, even with the interactive aids you get fro
279.
▲
by
DCoder
11y ago
To be fair, an IDE is not geared at auditing and it would be much more painful to do freeform annotations in it. Circling problematic areas, drawing connections between variables/functions, making handwritten notes in the margin... all
280.
▲
by
DCoder
11y ago
MySQL can turn those warnings to exceptions on its own, via sql_mode [1]. New installations of MySQL 5.6 have this behaviour enabled by default on InnoDB tables. [1] http://www.tocker.ca/2014/01/14/making-stri
281.
▲
by
DCoder
11y ago
Antitrust's "I think my girlfriend is trying to poison my food, so I'll cut myself, expose the cut to that food and see if I get sick" scene ruined the movie for me. I know that's basically how allergy testing works
282.
▲
by
DCoder
11y ago
We have a web app that downloads a large list of simple repetitive maintenance tasks ("check amount of spare printer toner", "water the office plants", and such) with documentation, images, etc. that need to be performed
283.
▲
by
DCoder
11y ago
> the default MySQL datastore quietly drops strings longer than the field [...] I don't know if that's still true. If it is, then I'm glad I no longer have to deal with MySQL. That's still true, as I recall. To avoi
284.
▲
by
DCoder
11y ago
> where a new major version number indicates backwards-compatible changes lucio was probably referring to this part, where "incompatible" is indeed correct.
285.
▲
by
DCoder
11y ago
Yes, in Windows 8 / 8.1 Solitaire (as well as other casual games published by Microsoft, such as Minesweeper, Sudoku, etc.) did include ads. They were shown in small boxes on the start screen, if you swipe to the right, and in the end
286.
▲
by
DCoder
11y ago
In that case, you will probably need additional budget for a sysadmin to keep it up to date.
287.
▲
by
DCoder
11y ago
To add to what everyone else is saying: I started using TS back in the 0.8 days, before generics were a thing. Since then, I have built several projects with TypeScript and migrated one JavaScript project to TS. These projects also involved
288.
▲
by
DCoder
11y ago
> Does there not come a point where cutting support for a class of platforms is a good thing? For example: An article was linked on the HN frontpage a couple days ago about how CP/M reserved names (COM1, etc) still live on in ASP.
289.
▲
by
DCoder
11y ago
Link-only answers are discouraged on StackOverflow - the mods will ask you to copy the relevant information into the answer so that it can be useful even without following the external link. The justification about "the sites change&qu
290.
▲
by
DCoder
11y ago
It does happen, but you picked a bad example. Read the close reason: " Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. "
291.
▲
by
DCoder
11y ago
See also: http://www.johnstonsarchive.net/nuclear/radevents/1954USSR1....
292.
▲
by
DCoder
11y ago
It seems like that code just builds random-ish data that conforms to the wanted file format and then gives it incriminating names. For example: [1] https://github.com/hackedteam/rcs-common/blob/38290d4eab2b2c.
293.
▲
by
DCoder
11y ago
Yes, you're right. My bad.
294.
▲
by
DCoder
11y ago
The idea isn't "don't use promises", it's more "use/chain the promises you already got from libraries (e.g. AJAX calls), don't construct new promises yourself". See the StackOverflow question ing
295.
▲
by
DCoder
11y ago
No, it returns a new Promise that's already been resolved to the value you returned previously.
296.
▲
by
DCoder
11y ago
Chrome dev tools also support node drag-and-drop as well as ctrl-x/c/v in the Elements panel.
297.
▲
by
DCoder
11y ago
Command&Conquer: Red Alert 2 and its expansion pack also received community patches (I contributed to them a lot) to its binary. When EA later released The First Decade bundle with all the old games in it, they removed the old copy-
298.
▲
by
DCoder
11y ago
> It's weird thinking we used to pay for compilers People still do. For example, Intel sells several compilers: https://software.intel.com/en-us/intel-compilers
299.
▲
by
DCoder
11y ago
I'll second all those points, especially the first one, but I'll add a word of caution. All of the points you mentioned require the IDE to parse all the code, not just the code you are writing at this moment. If it doesn't kn
300.
▲
by
DCoder
11y ago
> J. Eric Townsend reviewed a copy [of GURPS] for the early computer security zine RISKS This looks like the review in question: http://catless.ncl.ac.uk/Risks/10.03.html#subj10.1
More ›