Readit News logoReadit News
hartror commented on Firewalling your code   lackofimagination.org/202... · Posted by u/tie-in
hartror · a year ago
I would think Lint rules are better for encouraging this and has no run time implications. Easy escape hatches as well if you really want to crack the firewall to ship something urgently.
hartror commented on Show HN: Little Procedural Pixel Worlds   jason.today/little-worlds... · Posted by u/jasonjmcghee
rpastuszak · 4 years ago
Now I regret “being productive” on my day off instead of playing Dwarf Fortress.

This looks lovely, well done!

hartror · 4 years ago
this x100
hartror commented on Use console.log() like a pro (2020)   markodenic.com/use-consol... · Posted by u/vuciv1
hartror · 5 years ago
console.clear() is the worst. I've had to fight rogue calls to capture debugging information.
hartror commented on 51 Star Flag (2011)   danbliss.blogspot.com/201... · Posted by u/fortran77
frob · 5 years ago
When I coached a programming team, I once had them algorithmically solve this problem for a N-star flag. The constraints were to find all possible combinations where the rows alternated in length by 1. It ended up being a great teaching experience because it was really easy for the students to visualize it and play around with the problem on the whiteboard. It's also a really easy problem to solve without code so the students can easily verify their code and gain confidence.
hartror · 5 years ago
A nice way of teaching the P = NP problem.
hartror commented on Stored Procedures as a Back End   gnuhost.medium.com/stored... · Posted by u/steve-chavez
hartror · 5 years ago
Everything old is new again.

Have a customer with a 25 y/o Oracle PL/SQL system that basically operates their business and they can barely iterate on it. Every year a new consultancy comes in with their flavour of microservices and tries to subsume some functionality and they choke on the monolith to end all monoliths.

hartror commented on Ts-migrate: tool to automatically migrate JavaScript projects to TS   github.com/airbnb/ts-migr... · Posted by u/Rudeg
hartror · 5 years ago
We just finished our TS migration, I wonder if this would have helped.
hartror commented on Seven 'no log' VPN providers accused of leaking 2TB of user data   theregister.com/2020/07/1... · Posted by u/wglb
hartror · 5 years ago
What a surprise, a database technology that previously has made security a premium feature is unsecured.
hartror commented on Procedural Lake Village   anastasiaopara.com/lakevi... · Posted by u/memexy
_bxg1 · 6 years ago
Houdini is an incredibly cool tool: https://www.sidefx.com/products/houdini/

One of the things I most dislike about tools like Blender is that it can be really hard to go back to earlier stages of the process and make adjustments. Most changes are destructive, even though they don't really need to be. I follow lots of digital artists on Twitter and some of them use Houdini, and the kind of stuff they can generate is just mindblowing.

I'd try it out myself if it weren't for the price; I've always been drawn to procedural creation as a bridge between what a person imagines and what they can get a computer to render.

hartror · 6 years ago
Links to artists you recommend?
hartror commented on Ask HN: Do you still use MongoDB?    · Posted by u/macando
danenania · 6 years ago
DynamoDB is a lot more explicit about its tradeoffs. Much of the backlash against Mongo was because it basically claimed to be well-suited to any use case, when its sweet spot was really far narrower. To be successful with Mongo, you need to design the entire app around its limitations, but those limitations were initially downplayed and obscured.

People were convinced that Mongo was a good choice as a default, general purpose db, when it clearly wasn’t for about a million reasons.

I don’t think DynamoDB is marketed or viewed in the same way. The docs are pretty clear about needing to design your data model to specifically work well with Dynamo. People using it seem to generally be aware of its limitations, and deliberately choose to accept them for the sake of performance and scalability. At least that’s my perception.

hartror · 6 years ago
What are those good use-cases for mongo?
hartror commented on Asimov’s Empire, Asimov’s Wall   publicbooks.org/asimovs-e... · Posted by u/smacktoward
AllegedAlec · 6 years ago
> idk what to do about all this; it's pretty easy for me to pass on rereading Asimov or MZB anyhow.

His books don't become worse because of alleged bad behaviour.

hartror · 6 years ago
The philosophy you are espousing is known in literary theory as "Death of the Author".

> argues against the method of reading and criticism that relies on aspects of the author's identity to distill meaning from the author's work.

Source: https://en.wikipedia.org/wiki/The_Death_of_the_Author

I recommend Lindsay Ellis' video on the subject. https://www.youtube.com/watch?v=MGn9x4-Y_7A

Many of the golden age authors rage from "just" problematic like Asimov to a lot worse (see for more: http://www.jasonsanford.com/blog/2018/2/golden-age-sf-not-go...). I still read these authors but I for one cannot help see the author in their books, and knowledge of their actions certainly influences how I interpret these books. I therefore don't believe in Death of the Author.

u/hartror

KarmaCake day3799September 29, 2009
About
Builder of distributed things.
View Original