News for hackers. Stuff that matters.

goatslacker

Re:JavaScript Is the CO2 of the Web [audio] on Saturday June 15, 2019 @01:42AM (#20188546)
I’ve been enjoying the simplicity of keeping it plain using lit-html. It lets you write declarative markup and they’re template literals.
Re:How America lost its love for the stick shift on Tuesday September 11, 2018 @07:59PM (#17964504)
Never found paddle shifters to be in the same league as a manual transmission even in modern high performance cars. There's always that bit of lag and delay with automatic that there isn't on a manual.
Yes and no. Sometimes it's not about the destination but about experiencing the journey. From the post it seems like the author extracted the value they wanted to extract over the years. Knowing when to give up is difficult, especially when you've sunk a lot of cost into the project and feel like you have to finish it. The thing is, you don't have to and it's perfectly acceptable to put it on hold indefinitely.

In the end you'll still have all those experiences with you and that's what you paid for with your time.

Re:Ask HN: Do you use budgeting software? on Thursday June 14, 2018 @05:16PM (#17315448)
How much is this in Twilio fees each month?
Re:Nintendo signals end for Wii U on Friday January 20, 2017 @04:48PM (#13447238)
So long dear Wii U ! I'll always play and update you with neat hacks at my place. Seriously though, I don't understand people. For me the Wii U had way better games than the Wii and I would never trade my Wii U for any Playstation or Xbox. Smash Bros is way better, Mario Kart is way way way better (the best Mario Kart ever?)... Just lacked a really good 3D Mario Game.
This was known and expected.
Re:Manually Testing SSL/TLS Weaknesses on Friday November 25, 2016 @10:45AM (#13037457)
Amazing work! I'll be following through your post on Saturday; it will be a pleasure to reproduce some of those attack vectors.
I've been using this library to read screenshots of Pokemon Go to automatically calculate Individual Values for each Pokemon[1] It's worked great on desktop, but on mobile safari where it matters most the library causes the browser to crash :(

1: https://github.com/goatslacker/pokemon-go-iv-calculator/blob...

Re:Milligram: A minimalist CSS framework on Saturday January 23, 2016 @07:32PM (#10960857)
Love seeing these microframeworks pop-up. I wrote my own a while back for kicks http://goatslacker.github.io/lotus.css/

I would love to be able to make a custom builds of milligram by shedding some of the modules I don't care about. This could also open it up to other modules being added like Modals or whatever.

Re:RedditStorage on Thursday June 04, 2015 @08:43PM (#9663186)
Re:The Evolution of Flux Frameworks on Tuesday June 02, 2015 @12:18AM (#9643821)
I'll take you up on that offer. Having comprehensive examples, documentation, and tutorials is something that sets Alt apart and I'd definitely like to have more of it.

You, and anyone else, is free to also contribute to alt itself, check out the issues tagged with "help wanted" https://github.com/goatslacker/alt/issues?q=is%3Aopen+is%3Ai...

Patches are super welcome :)

Re:The Evolution of Flux Frameworks on Sunday May 31, 2015 @10:21PM (#9636490)
Alt author here. I've actually begun to integrate some of the microflux ideas into Alt itself. Alt already has a lot of the benefits mentioned in the post: time travel, revert, record and replay debugging; but stores as reducers and having them not own state makes for clean code. However, I don't think one size fits all here, some stores are good as reducers of state and others fit a larger role. There are actually many different types of stores that get created in an application. This is really powerful but also confusing for beginners coming from MVC.

Anyway I'm excited for what the future holds for flux and excited for relay.

Re:Facebook PathPicker on Friday May 08, 2015 @04:42AM (#9510572)
Hey - I was the person who used this tool the most while I was at FB. Thanks a bunch for open sourcing this I've been missing it.
Re:Introduction to Facebook's Flux architecture on Monday February 23, 2015 @05:02PM (#9097342)
You can just define a class[1], but you'll need to transpile from ES6.

[1] https://github.com/goatslacker/alt/blob/master/examples/chat...

Five thirty eight's website loads in the ads, images, and even tweets before it loads in the actual content. This is completely backwards from what a web experience should be like.
Re:Flux Comparison by Example on Tuesday February 03, 2015 @06:09AM (#8989722)
Alt[1] has isomorphic support but there are some trade offs such as you're unable to use actions on the server. But you can still keep your stores as singletons and have them be concurrent. I'm still juggling on different ways to tackle this problem to offer more flexibility. There are a couple of example apps sitting in the iso[2] repo which is an isomorphic helper class.

1: https://github.com/goatslacker/alt

2: https://github.com/goatslacker/iso/tree/master/examples

Re:Flux Comparison by Example on Tuesday February 03, 2015 @05:07AM (#8989585)
This is pretty cool. There have been a ton of flux frameworks floating around lately, glad that there's an app that deals with async data to be able to compare each on their merits.
Re:Using React.js and Application Cache for a fast, synced app on Thursday January 29, 2015 @05:00PM (#8969143)
OT: This is the first time I hear about tab for a cause and it sounds very interesting. However, their Chrome plugin requests permissions to "read my entire browsing history". The privacy policy doesn't explain why this is needed, does anyone know?
Re:What the Flux? on Tuesday January 27, 2015 @04:24PM (#8956042)
Very nice, this is a great write up on an intro to flux. It feels like a lot of the learning curve on flux is spent trying to figure out exactly where to query data: in the actions, the store, or utils? And I feel like most of the pain in starting flux from scratch is creating all the constants, action creators, and registering the dispatcher.

After you've got everything set up it's smooth sailing though and you live with no regrets. Getting up that first hill though is tough.

I like thinking of my actions as where I fire off everything that will be fetching data. Then I keep the stores synchronous so that their only job is to get data from the dispatcher and store it. This makes the whole application pretty easy to reason about.

Re:Tuxedo.js – A Framework Built on React and Flux on Thursday January 22, 2015 @08:00PM (#8932821)
The interesting bit of isomorphic applications isn't the fact that you can use JS on the server. For me, it's that you can keep all your UI and UI-related logic written in one language, and have your business logic, data fetching, and everything else in whatever language you prefer.

This has many benefits like code reusability and not having to write placeholders/render code twice -- in two different languages.

Re:Tuxedo.js – A Framework Built on React and Flux on Thursday January 22, 2015 @04:00PM (#8931716)
It doesn't have to be that way. These lessons are no substitute for server side rendering although with more frameworks supporting isomorphism out of the box this will hopefully be a thing of the past.
Re:Tuxedo.js – A Framework Built on React and Flux on Thursday January 22, 2015 @03:02PM (#8931383)
You should check out alt[1] and iso[2] which is isomorphic out of the box and it's pure flux. There are examples in both repos.

[1] https://github.com/goatslacker/alt [2] https://github.com/goatslacker/iso

Curiously, what about marty do you really like that makes it feel like a good de-facto framework?
Congrats, the site looks really nice and the devtools feature is great!
I started with reflux but wanted something that was actual flux. So I ended up with

https://github.com/goatslacker/alt

which looks a bit like reflux in terms of terseness but it adds the ability to have snapshots and rollbacks, isomorphism, and it plays real well with ES6.

There's a few of the flux examples that compare flux to alt in the repo. And there are some good isomorphic examples in here https://github.com/goatslacker/iso/tree/master/examples

I'll be posting a write-up of all this pretty soon.

If you like reflux you'll like alt.

Older »