HNHacker News
TopNewBestAskShowJobs

frobaldo

11 karma · joined July 3, 2015

submissionscomments
frobaldo··on Randexp.js: Create random strings that match a given regular expression
It's practical, if you check the new one is not a duplicate - the lib info does not state how distinct the values would be, or how does it uses the RNG.

Depending on what you really need (output string format, amount of numbers, non-additive links), you should find a hash function for your fit. You can always start by looking for youtube url hash.

frobaldo··on The increasingly long lives of old Macs
I got 2002 700Mhz HP still kicking. I still use one thinkpad from 2007 with core 2 duo every now and then (not enough ram and too slow hdd for daily work, unfortunately).
frobaldo··on Ask HN: Where can I find “unsolved problems” for various industries?
Depends on the term comparison: for on premise / iaas / saas/ paas, normal software is baking it yourself.

http://www.ektron.com/assets/0/75/132/2147483682/2b35a8f4-f2...

frobaldo··on Ask HN: Where can I find “unsolved problems” for various industries?
Software as a Service

In Pizza as a service terms: you dine out.

frobaldo··on Don't test with SQLite when you use Postgres in Production
Yeah, when not hitting any DB, you're not testing runtime with ORMs. Got bit by that.

.net Entity Framework has this problematic limitation that you can't check if SQL queries will be properly built without DB - example situation is if you're trying to use not mapped .net method in your SQL-targeting queries. That's a runtime error you can't (yet) test without DB.

I'm cautious enough to believe other ORMs may have similar quirks, only testable with something to query on.

frobaldo··on New iPod touch
http://www.apple.com/ipod/compare-ipod-models/

16 - 128GB in price ranges of $199 to $399

frobaldo··on Recombine to avoid naming when naming is hard
I've spent half a year of my professional life programming custom business rule engine and my experience aligns with a sarcastic note I've read somewhere: "Business builds business rule engines so they can change their rules and workflows without the need for expensive programmers, but in the end they need to hire even more expensive Business Rule Engine Programmers".

Declarativeness of the system was really nice and named rules really made sense, if the actions you can take are really meaningful. It was more like naming every function set while doing FP.