170 karma · joined Mar 16, 2016 (10y ago) · 76 submissions
comment 7y ago · link · parent
That SQLite plus SQLAlchemy makes hackathon code so easy to port to another RDBMS after finishing the initial PoC.
Also makes it super easy to run unittests; just load data into sqlite with the memory connector and go!
comment 7y ago · link · parent
comment 7y ago · link · parent
I don't think it's necessarily that clear-cut. Some individuals are capable of pushing themselves. Those who can't, may have managers who are able to. Or, perhaps they rotate to work on a different project or problem space.
One dosen't necessarily need to leave a company to experience change or extraordinary growth. Granted, the extra push/pressure may assist a bit.
comment 7y ago · link · parent
Response - https://dearstackexchange.com/ HN thread - https://news.ycombinator.com/item?id=21176712
comment 7y ago · link · parent
Race and nationality aside, the transfer of ownership to an entity that has zero open source contributions in the js space does look very suspicious. I'm just surprised that an open source author didn't provide that disclosure to users of his work.
comment 7y ago · link · parent
Why not be transparent about selling the package? Or attempting to do so?
> Chinese developers have contributed more to this repository than anyone from the Koa organization. This kind of racial scaremongering or guilt by association is not acceptable. Its offensive.
Nice rhetoric here. But you know the Country of origin of most cyber attacks is China right?
Source: https://www.csis.org/programs/cybersecurity-and-governance/t...
> I'm not going to say anything more on this issue. This is beyond ridiculous.
Suit yourself. But it really isn't. Sorry for all the harassment you're getting but, it's not exactly unwarranted...
comment 7y ago · link · parent
This is why unit-tests are really important in Python.
> We should have language-level mechanisms for being explicit about what's supposed to happen when unexpected situations happen.
That's implemented as a try-except block. You're not supposed to catch errors at the low level unless you're explicitly handling them. If there's an error, bubble it up to the main().
Python's try-except can catch classes, sub-classes, and/or groups (tuples) of classes. It's important to categorize your errors.
comment 7y ago · link · parent
> And then there's a number of issues with test coverage giving you a false sense of security, with things like reaching 100% for a given piece of code, but only thinking about the happy path.
Yup, and this is why one writes tests against well-defined interfaces/boundaries.
comment 7y ago · link · parent
Similarly, tests can serve as a device for asserting contributions are acceptable pre/post-merge as well as evaluating that your dependencies work as expected.
comment 7y ago · link · parent
I'd like OP to expand on why that's a red flag. Dockerization and using TypeScript seem pretty straightforward and logical additions to me.
Also, if they're only additions, I wouldn't consider them significant changes.
Using TypeScript can be a significant change but Dockerization? That seems pretty standalone isn't it?
comment 7y ago · link · parent
The D1 weapons felt great. It's a shame Bungie keeps leaving gear they designed so far behind every iteration.
I wish they at least added something like transmog. I remember going to D1 panel during PAX West one year and Luke mentioning that there were many WoW players that worked at Bungie.
I really wonder WTF is going on over there lately.
comment 8y ago · link · parent
They make insane promises but, the promises don't like up to expectations.
Kinesis analytics for example, can aggregate data across a time window (sliding window) from a stream (Kinesis). A huge issue that isn't document or stated is that when kinesis analytics restarts due to the process dies (being migrated, binpacked, etc.) the ENTIRE time window has to get re-aggregated. So your count drops to 0.
Really unacceptable if you're using it to generate KPIs which you alert on. We ended up switching to a system which pushes the stream data into influx and running the aggregations there via queries.
Dealing w/ AWS during this entire process was a huge pain.
comment 8y ago · link · parent
However, depending on the stage of the project, getting asked for help may be a red flag for me.
If it occurs too often, it can mean the following: - incompetent co-workers - someone did a terrible job documenting - modules, packages, functions, etc. do not provide a good abstraction layer for the task(s) they perform
comment 8y ago · link · parent
If logging is fubar'd then all 3 of those are impacted.
If you're pushing a PoC out the door. Sure, go on ahead and forgo proper logging. But if you're secured some form of series funding and need to scale. Fix your boat before you launch.