Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seivan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
631.
▲
by
seivan
11y ago
You could omit the parenthesis and it starts to look a lot like HAML :-)
632.
▲
by
seivan
11y ago
I recently used someones template tool to generate some methods in Swift but with some erb-like syntax to actual Swift code. It was actually more pleasant than I thought, and I usually use Ruby for this. Might do this more often in the futu
633.
▲
by
seivan
11y ago
I actually like Reflux https://github.com/spoike/refluxjs It's not "Pure" Flux, which is the reason I like it, it doesn't deal with a Dispatcher and it has syntactic sugar for 'common' use
634.
▲
by
seivan
11y ago
You're missing the idea here. The idea is that the front-end engineers don't have to deal with styles anymore. They can just take a <Tab><Item/><Item/><Item/></Tab> and expect tho
635.
▲
by
seivan
11y ago
I'm guessing you might want some 'small' parts of logic, like the unary operation. Guessing!
636.
▲
by
seivan
11y ago
That's clever! Nice work btw, love the little DSL it becomes, very clear and readable!
637.
▲
by
seivan
11y ago
You're joking right? Identity politics is (in my opinion extreme) left-wing stance on problems.
638.
▲
by
seivan
11y ago
Does it have to be that expensive? Have there been efforts to cut costs? I don't disagree with the second statement, frivolous prison sentences cause all sorts of problems, but I disagree that life sentence costs are insignificant.
639.
▲
by
seivan
11y ago
Not a popular stance, but I agree with you. As a Swede I'd want the death penalty. Then again, currently Sweden (all of Scandinavia) is on the extreme but on the other side.
640.
▲
by
seivan
11y ago
Seems to work in Singapore, look at their crime stats.
641.
▲
by
seivan
11y ago
What do you suggest in regards for money being spent on containing people who have zero chance on rehabilitation? Sweden can't afford cancer medication for certain people, but has no issues containing violent sadists. http://
642.
▲
by
seivan
11y ago
I couldn't find any info on this in the docs, but would there be a possibility to use React components (JSX or regular js) inside of Cycle? This would open up possibilities of using already done D3-react components together with Cycle
643.
▲
by
seivan
11y ago
The first time I saw that pattern was in Youtube where you could drag down the video to the corner and it would transition dow. I am just guessing that they're using a custom transition on a modal presentation and using UIPercentDriven
644.
▲
by
seivan
11y ago
Some i18n strings are missing, but apart from that, pretty good. Added my songs and I'm ready for a run.
645.
▲
by
seivan
11y ago
You can't mock everything in Apple (using Swift) unfortunately. I've resorted to use XCExpectation for physics :-/ But the other snippet, you don't have to set a time, instead of continuously checks a condition and then
646.
▲
by
seivan
11y ago
Actually, when it came to integration tests KIF wasn't so bad. In fact I'd argue KIF was way better than UI Automation in instruments. Hell, KIF even forced you to make sure you had accessibility strings on stuff like icons and sh
647.
▲
by
seivan
11y ago
I love watching Game Dev channels on Twitch! I hope they get that as a category soon!
648.
▲
by
seivan
11y ago
I downvoted you, not because I disagree, but because I think this is a desperate attempt at censorship. We're not allowed to talk about X because of Y. I actually agree with this being a phenomenon that is occurring all around the deve
649.
▲
by
seivan
11y ago
So do you also think that about Islamic flag(s) and symbols? https://en.wikipedia.org/wiki/Islamic_flags or does that get a free pass? Apart from the atrocities committed in the past, it is today used by ISIS to butche
650.
▲
by
seivan
11y ago
No, I'm thinking of working for McDonalds in front my place. Literally have 2 seconds to and from work then. Just to be clear, it's not the code part that bothers me. It's everything else that comes with it.
651.
▲
by
seivan
11y ago
Actually, I did the same thing as you. Not sure what makes me happy, but I know what doesn't, and I don't think I'll end up working with code again.
652.
▲
by
seivan
11y ago
Not sure they built it, but I remember reading they replaced Cassandra with HBase(?).
653.
▲
by
seivan
11y ago
I like the fact that development for applications is moving towards what game code seems to have been using. Building components and re-rendering with new state when necessary actually much better than what we're currently doing. Which
654.
▲
by
seivan
11y ago
Yeah I'm spoiled silly by Rails forms builder, both the standard as well as the better simple_form! But I suspect Components will make forms awesome for React!
655.
▲
by
seivan
11y ago
Hey! I got started with Webpack and now got a decent workflow. Still figuring out the interoperability between React(JS) and TypeScript. There are some issues regarding arrays from React that don't have Typescript features, even when c
656.
▲
by
seivan
11y ago
Thanks, I actually found a decent way to work with Webpack and Typescript, still figuring out how to import files/modules and use JS code from TS.
657.
▲
by
seivan
11y ago
At what point will you stop justify said "code of conduct"? Asking for Raif Badawi.
658.
▲
by
seivan
11y ago
This is also a decent path to take before fully migrating to Typescript and get type checking :) Does anyone know if you can use ES6 code side by side with ES5 without any issues?
659.
▲
by
seivan
11y ago
You won't be needing Emblem if you use CoffeeScript and React.Dom instead of JSX. Something like... import {Div, P} from React.Dom render -> Div P {color :"blue}, "Hey"
660.
▲
by
seivan
11y ago
This is precisely my issues, but with TypeScript instead of ES6 , types on this.props is worth switching to TypeScript from CoffeeScript or ES6.
More ›