Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mediumdeviation
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
mediumdeviation
8y ago
Webpack and Gulp were never meant to be simpler alternatives. Gulp used streams instead of serially processing files like Grunt, which made it faster, but obviously streams working in parallel are more complex than just processing the files
152.
▲
by
mediumdeviation
8y ago
Example: https://imgur.com/oR3Nk8q This was generated by one line of code, simply applying the hoist-non-react-statics library as recommended by the official React docs https://reactjs.org/docs/higher-o
153.
▲
by
mediumdeviation
8y ago
Their actual efficacy is questionable at best though. After about 10 minutes of breathing, water vapor from your own breathing would have rendered it more or less permeable to anything infectious. Sneezing into a handkerchief would probably
154.
▲
by
mediumdeviation
8y ago
I have seen similar issues with overly aggressive parser in Messenger for Business, but with dates instead. It tried to turn the words in the following real conversations into dates for adding appointments * "Christmas" in "M
155.
▲
by
mediumdeviation
8y ago
Consider the opposite - would Christians go out and start murdering people if they stopped believing in God? If tomorrow incontrovertible proof came out that the ten commandments and the Bible were in fact not the word of God, would my Chri
156.
▲
by
mediumdeviation
9y ago
Actually, I noticed YouTube's recommendations seems _heavily_ biased towards what you watched recently. This is likely due to how people watch videos - much like people binge watching TV serials, they are very much likely to continue w
157.
▲
by
mediumdeviation
9y ago
It's amazing how the world's largest internet company cannot build a good blog. I don't know why Google is so insecure it thinks it needs to resort to the same tactics used by third-rate blogspam sites to keep users reading t
158.
▲
by
mediumdeviation
9y ago
bcrypt is old enough to vote this year
159.
▲
by
mediumdeviation
9y ago
Yes - for instance it makes the Correct Horse Battery Stapler passphrase strategy[1] difficult to apply, because now you can only pick words up to ~4 letters long. [1]: https://xkcd.com/936/
160.
▲
by
mediumdeviation
9y ago
Historically, equatorial countries in Africa, South and South East Asia were colonies. I think we can also assume each country weights equally on the regression line, even though they vary greatly in population - this favors latitudes with
161.
▲
by
mediumdeviation
9y ago
It seems Firefox supports a non-standard fourth parameter, so that won't work either. addEventListener is possibly the worst organically grown API I've seen in a long time. If anything, its sordid history should be a lesson to the
162.
▲
by
mediumdeviation
9y ago
In older browsers, useCapture is NOT an optional parameter, and in most cases you do NOT want to use event capture instead of event bubbling. There's no trivial way to support addEventListener(event, handler, { passive: true }) on both
163.
▲
by
mediumdeviation
9y ago
I've had the pleasure of working with Swift for a few months last summer to develop some iOS prototypes. To borrow something Douglas Crockford said about JavaScript and the DOM in 2006[1], Swift is a pretty good language saddled with a
164.
▲
by
mediumdeviation
9y ago
Counterpoint: React is no less opinionated, fast, or has less of a DSL than Vue. Opinionated: React is a library written for a language that is not JavaScript (the first prototype was written in OCaml). It demands immutability, which JS has
165.
▲
by
mediumdeviation
9y ago
Our school introduced it in a year 2 computer organization course that was required for all CS majors. It went into how the processor converts assembly into instructions for the ALU, instruction pipelining, branch prediction (though only qu
166.
▲
by
mediumdeviation
9y ago
Flow bakes React libdefs right into the binary https://github.com/facebook/flow/blob/master/lib/react.js - so yes, Flow damn well have good React support, because the React libdef is given the same
167.
▲
by
mediumdeviation
9y ago
Let me add a few cons then - Saying the error messages are "not intuitive" is a bit of an understatement. Most memorably, this was an actual message I was presented with after upgrading to Flow v0.53 - https://imgur.com
168.
▲
Undercover in Temp Nation
(projects.thestar.com)
1 points
by
mediumdeviation
9y ago
|
0 comments
169.
▲
The Photos the U.S. And Saudi Arabia Don’t Want You to See
(nytimes.com)
4 points
by
mediumdeviation
9y ago
|
0 comments
170.
▲
by
mediumdeviation
9y ago
Wow, Safari Mobile only gained support in iOS 10. That's September 2016, and leaves out iPhone 4S, iPad 2 and iPad 3, devices from 2011 and 2012.
171.
▲
by
mediumdeviation
9y ago
Ironically we have the exact same problem, except worse with Safari, since it has (relatively) poor support for some cutting edge APIs, and unlike Edge/IE we can't even legally test it in a VM because Apple doesn't even allow
172.
▲
by
mediumdeviation
9y ago
It's a matter of personal opinion, but I guess I'm more used to server-side templating languages, which Vue's looks much more similar to. I have the same problem as you for JSX - I keep trying to read it as HTML, except it&#x
173.
▲
by
mediumdeviation
9y ago
JSX is closer to JS than HTML, which means it annoying to write in some cases. Quick, what does this render as? <a href="...">Link 1</a> | <a href="...">Link 2</a> | <a href=
174.
▲
by
mediumdeviation
9y ago
Updating an array element arr[3] = 'New content'; Updating an array element immutably arr = arr.map((element, index) => { if (index === 3) return 'New content'; return element; }); It's po
175.
▲
by
mediumdeviation
9y ago
React feels like a library written for a language that's not JavaScript. JavaScript defaults to mutability by default - there are no immutable primitives that you can easily use, and even in ES6 just maintaining immutability without de
176.
▲
'Hate speech' tweets painted at Twitter HQ in protest
(bbc.com)
1 points
by
mediumdeviation
9y ago
|
0 comments
177.
▲
A New Era of SSRF: Exploiting URL Parser in Trending Programming Languages [pdf]
(blackhat.com)
4 points
by
mediumdeviation
9y ago
|
0 comments
178.
▲
by
mediumdeviation
9y ago
On a side note, if your fan started spinning up when you opened this, it's because of the particle simulation in the header. I know because I reviewed this library ( https://github.com/VincentGarreau/particles.js )
179.
▲
by
mediumdeviation
9y ago
The Flash authoring tool comes bundled with a standalone Flash movie player that can open .swf files. It's available here, but I have no idea if this will continue to work (the page warns against using this if you're not a develop
180.
▲
by
mediumdeviation
9y ago
Laravel 5.4 integrates with Vue. https://laravel.com/docs/5.4/frontend#writing-vue-components Laravel can act as the API backend to the frontend (basically a set of REST endpoints that the frontend can talk to), o
More ›