Lurker News
A lot of what hackers do takes years of building knowledge upon knowledge. That's also true for physicists, marketers, salespeople, managers, etc.

Are there any quick wins that 30 ~ 60 minutes of intense concentration can generate?
For example an average person, if focused, can learn to read (but not understand) Korean decently in under an hour.
A person can also learn a few guitar chords and possibly play a carefully-chosen song in that time.
But those aren't valuable skills in themselves.
Do you know of any simple + valuable wins in your area of interest?
("valuable" intentionally left vague)

Comments (1,076) 251 threads

Earlier comments
aamederen1 reply#
Basics of presentation skills like

- Using voice, body and mimics properly
- Not putting lots of text on slides and just reading them
- Using bullets instead of paragraphs
- Tell a story and use a less formal more friendly style (not always but applies to majority of technical presentations)
A nice video about the topic: https://www.youtube.com/watch?v=vB2pl1QbY3I

peteforde5 replies#
There's a growing realization that you can completely side-step the need for Single-Page App frameworks like React using websockets and the morphdom library.

Projects like StimulusReflex (Rails) and LiveView (Phoenix) allow developers to build complex, reactive modern apps faster and easier by rejecting the need to even have client state.
https://github.com/hopsoft/stimulus_reflex
https://github.com/phoenixframework/phoenix_live_view
I haven't been this excited for a web technology since Rails came out.

jes51991 reply#
neat! Of course, this makes me want to run React serverside...
peteforde1 reply#
Whatever floats your boat, I guess.

I don't understand why some folks are determined to see everything through a React lens. It makes sense for Facebook, which is why they made it. If you're doing CRUD, you are just torching your productivity.
Here's an example of tabular data, sorted, paged and filtered in 115 LOC including templates:
https://expo-pjf.herokuapp.com/demos/tabular
No transpiling, no API endpoints, no Redux.

jes5199#
I just think that React components are more readable and more maintainable than erb templates
samcheng1 reply#
Seems like cool stuff. Unfortunately, both of the StimulusReflex demos (Heroku apps) are giving errors right now. Maybe somebody hit a quota!
escanda4 replies#
Your mind will be furtherly blown when you realize this has been working for decades in JavaServerFaces!
nurettin#
Excited for jsf, asp.net, Wt and UniGui. Full circle is complete.
aitchnyu#
Jose Valim responded to me saying its a fast, simpler, stateless and scalable solution compared to stateful solutions. For an example of stateful Java/ .Net app, I use a site that randomly logs me out, logs me out after inactivity, opening stuff in tabs are hit and miss (older ones let tabs mirror each other in background), normal UI actions has unexplainable pauses.

https://elixirforum.com/t/phoenix-liveview-is-now-live/20889...

zacym#
Don't forget GWT!
peteforde#
Citation, please.

I can't yet prove that you don't understand what we're doing, but if I failed to communicate the end result, well, that's on me. It's a hard thing to summarize quickly, and I'm working on it all of the time.

dokem2 replies#
I made similar functionality for Django a few years ago called Sniper. You write all your dom modification code as an Ajax request handler. In his handler you yield out a sequence of dom modification objects and sniper handles the rest. I couldn’t understand why this wasn’t a more popular approach.
choward#
Do you still use it?
peteforde#
The combination of websockets and morphdom vs Ajax polling and DOM updates is a major leap forward. Check it out!
rayalez#
Cool! Is there such thing for Flask? For Node?
aazaa1 reply#
Two suggestions.

1. Research a daily exercise routine that requires no equipment class, or gym, can be finished in 30 minutes and can be done while traveling. The goal should be to increase flexibility and strength, but not necessary build muscle. This stacks the deck in your favor against the main enemy of fitness - failure to do some kind of activity every day.
2. Understand the periodic table. It's one of the most successful mental models in science, and the basic principles can be grasped quickly. The most important division is the columns (groups). The column an element appears in tells you the ratio with which it will combine with other elements to form compounds. From table salt to amino acids, these rules predict elemental compositions of the things in this world you interact with all the time but may only rarely think about. From there, you can predict the products of reactions that you know nothing about. This macroscopic predictability can be explained rigorously through quantum mechanics or heuristically through Lewis theory, depending on how deep you want to go. For simplicity stick to the 8 main groups. The transition metals are a can of worms best opened after grasping the rest of the table.

jonnycoder#
Your first point reminds me of this talk about consistency in training and why russian wrestlers are supposedly always the best: https://www.youtube.com/watch?v=_fbCcWyYthQ

I've been applying this concept 5 days a week to do 20 min of exercise. It's so much easier to do more in the long run by doing it everyday and not going all out exertion.

saalweachter1 reply#
Spend an hour learning whether you can safely attempt something.

There are two complimentary problems: some people don't realize that they can do something, and will never attempt it because they assume it requires training and skills and materials and time beyond their reach; other people don't realize that they shouldn't do something, because it is dangerous, because it is illegal, because it would require far more resources than they can reasonably devote to the project, because they just aren't good enough.
Regardless of which camp you tend to fall into, spend an hour every now and again determining whether something you're thinking about is feasible. Maybe you discover, "Huh, it's really easy to repair my running toilet, and very little can go wrong in this case". Maybe you discover, "Wow, if I screw up that electrical work I could electrocute myself or burn my house down, and I'd still have to get it inspected in my jurisdiction anyway so I might as well hire someone.". Maybe you discover that your startup idea would require an absurd amount of capital and would probably only ever have razor-thin profit margins at best, maybe you discover you could make a reasonable living self-employed.

hnick#
This is underrated. Of course I knew most plumbing probably isn't too hard but I never gave it a try until I complained about fixing a leaking tap and a friend showed me how. I bought my own simple tools and have fixed a bunch more in our house by myself (it's just getting to that ~10 year age right now). Here a plumber will charge $150 just to show up.

That really opened things up for me and now I often check things like repairing drywall or replacing a door handle on YouTube. It's a really good way to gauge if you think it's something you can handle.

Load more comments