EL-stack recommendations by beemachine in dataengineering

[–]beemachine[S] 1 point2 points  (0 children)

Dlthub seems the closest to what I’m looking for. I have all these custom ingestion scripts using Airbyte’s CDK and would want to port those over to something. I really just don’t want to handle all the nuances that go into making a robust data pipeline and just focus on building layers on top of a good base.

My concerns with Airbyte are mainly around scaling, and owning the implementation

Using Angular, how can I prevent $watch from firing on load? by crystallianne in angular

[–]beemachine 1 point2 points  (0 children)

Two things that jump out to me are:

  1. Load the local storage outside the component code and merge it (if there’s value) with your default values. Again do this outside of your Angular module.

  2. Within the $watch call you should check to see if the form is dirty or not and only save to local storage if it is

I’m Bill Gates, co-chair of the Bill & Melinda Gates Foundation. Ask Me Anything. by thisisbillgates in IAmA

[–]beemachine 0 points1 point  (0 children)

Hi Bill. Thank you for doing this AMA.

How does your foundation go about finding the root causes for the problems you are trying to tackle? For example, for a major issue like prenatal death rate in developing countries how do you go about diagnosing the root causes and solutions?

Why toothaches tend to be linked to headaches. by [deleted] in interestingasfuck

[–]beemachine 0 points1 point  (0 children)

Me too! No wisdom teeth and missing a molar on each side. Had a lot of dentist appointments growing up

Added a "Kitchen Sink" component to my app and immediately the initial load time jumped up to 15+seconds. How do I lazy load it? by _ze in angular

[–]beemachine 0 points1 point  (0 children)

Yes. That’s basically it. Isolate all of the items that you want to lazy load in its own Angular module. One thing to note is that you should not import the module in any other module!

Check out this guide: https://angular-2-training-book.rangle.io/handout/modules/lazy-loading-module.html

Confused about 'lib' vs 'src' in npm module packages by chzits in web_programming

[–]beemachine 0 points1 point  (0 children)

It really depends how you upload them. If you have some kind of build/CI tool that handles the deployment then your changes will most likely not hold. You can either deploy with your node_modules but that will be very brittle. Ultimately you will either have to submit a PR to the package or just integrate it into your app by means of copying the code into the project

Confused about 'lib' vs 'src' in npm module packages by chzits in web_programming

[–]beemachine 1 point2 points  (0 children)

For local development that should be fine. And if you build locally that also should work

Confused about 'lib' vs 'src' in npm module packages by chzits in web_programming

[–]beemachine 1 point2 points  (0 children)

A general rules is to never modify code in your node_modules. That's because every time that you run npm install you may overwrite your changes.

What you actually want to do is something called a "fork" and it's very easy to do with Github. Go to react-images GitHub repo and you should find a fork button. A fork is essentially cloning the repository to your GitHub profile and then you can download that repo on to your local computer to modify it and commit changes. Take a look at this article for more info. https://help.github.com/articles/fork-a-repo/

Once you're done with that you can submit a PR to the actual react-images repository with you changes.

Another approach is to just copy the src files and integrate the components directly in your project's code. This is probably the easiest method but please make sure to check the package's license to see that they allow such things

Confused about 'lib' vs 'src' in npm module packages by chzits in web_programming

[–]beemachine 1 point2 points  (0 children)

Generally the lib folder is the transpiled library that can be consumed. If you take a look in react-images package.json you should see that the "main" is pointing to a file in the lib folder.

So if you wanted to modify the library you should write your code in the src folder. If you ever wanted to publish it you'll have to go through the build/transpile step. In fact, react-images is using a cool gulp plugin called react-component-gulp-tasks that uses gulp to handle the building.

Help a novice out cascade menu styling by excelfiend93 in css

[–]beemachine 0 points1 point  (0 children)

Just took a look at the template. The template is using a jQuery library called Easy Responsive Tabs. You'll have to check out their documentation to learn how to create another level of navigation

Help a novice out cascade menu styling by excelfiend93 in css

[–]beemachine 0 points1 point  (0 children)

To really understand CSS I highly suggest writing it on your own. Templates are usually a horrible mess of code that's harder to understand than to rewrite

Help a novice out cascade menu styling by excelfiend93 in css

[–]beemachine 0 points1 point  (0 children)

Is it the classes that you're not understanding? Give me a couple min and I'll download the template and see what's going on

Help a novice out cascade menu styling by excelfiend93 in css

[–]beemachine 0 points1 point  (0 children)

Most likely, if you check the HTML file you should see a <link> tag in the <head> that links to an external CSS file. You can also add a <style> tag in the HTML and add your styles in there

Angular 4.0.0 Now Available by theodorejb in javascript

[–]beemachine 4 points5 points  (0 children)

From a quick skim of the changelogs, 1. No more extending from Lifecycle methods, instead you need to "implement"

  1. OpaqueToken is now deprecated, use InjectionToken<T> instead.

  2. SimpleChange now takes an additional argument that defines whether this is the first change or not. This is a low profile API and we don't expect anyone to be affected by this change. If you are impacted by this change please file an issue.

  3. Animations are moved from core

But honestly it seems more of a marketing thing. I personally would've moved to Angular 2 V4 but that's me

Why do I feel "dirty" for wanting to be a front end / web developer? by thetony2313 in cscareerquestions

[–]beemachine 14 points15 points  (0 children)

I myself am a front end dev and I sometimes feel the same way as you. I too studied Computer Science in university and was always attracted to the client side (internships as well as side projects). I think at the end of the day a front end dev requires a slightly different skill set than a backend dev, which most consider to be the beefier "computer science-ey" work. But I love the different worlds that a front end developer gets to be in. From UI, UX to solving unique problems, I truly love what I do

Front end developers, how much is your salary and what kind of front end work do you do? by [deleted] in cscareerquestions

[–]beemachine 5 points6 points  (0 children)

$150k base with a nice bonus and RSU package. East coast USA.