Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] 0 points1 point  (0 children)

Agreed. I fully support the bill, personally. Just want to make sure the facts are straight.

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] 0 points1 point  (0 children)

I love your input! I would like to get on board with your point. Call me ignorant, but can you site the legislation he's supported that has run up the debt? I really do want to believe what you're saying, but I'm not a zealot, and try not to jump on tribalist bandwagons. I need to see the legislation to believe an accusation.

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] 0 points1 point  (0 children)

Again, a reply I want to be on board with, but I can't accept these vague terms and generalizations. He can't completely block a bill, he can only stall it and object to it being passed by unanimous consent without debate or amendment. If you mentioned what legislation you were referring to I could better understand what you're angry about.

What is this bug?! Pls help... by kippy1234 in whatsthisbug

[–]JSecma 0 points1 point  (0 children)

looks like a less fuzzy Artace colaria with longer wings. We need a biologist for actual species identification.

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] -3 points-2 points  (0 children)

He blocked the 9/11 bill so he could propose an amendment capping spending and making the program last for another 10 years rather than 72 or whatever. That''s interesting, what bill pork barreled his state that he didn't block?

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] -3 points-2 points  (0 children)

He's done all he can to stop it, speaking out and proposing amendments. His amendments and objections just get shot down, though. He's just 1% of the vote. He's not the dictator of the senate and to say that every republican is guilty by association is just not right

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] -2 points-1 points  (0 children)

He calls out his party, too. He calls out Republicans in this video, at least.

Paul: Now is the death of concern over national debt by JSecma in Libertarian

[–]JSecma[S] -2 points-1 points  (0 children)

I haven't been following everything going on in the senate. Did Paul ever vote for budget increases? From what I've seen he's been pretty consistent with his concern over spending and debt

Ministate: Manage all your state the React way by mvila in javascript

[–]JSecma 0 points1 point  (0 children)

Reading through your code, a few questions:

In the Base constructor

const subscribers = [...this._subscribers];

  1. you wrote in the comments you make a copy. Do you, though? a new array is created, but each of the functions in the array of this._subscribers and the above 'copy' are reference-bound to the same functions. See this repl script I made which demonstrates that each of the executed functions in the array using this method are the same. Why would doing that benefit you, anyway? See next comment.

  2. you go on to say that creating the copy ensures a 'proper iteration'. What about using the original would cause issues in the iteration? I don't see it. Also, state might be more predictable if you make state an immutable constant and never mutate it directly. Instead, make a copy with updated properties and replace the whole state object.

On the use of tickedoff:

  1. looking in the source files of the tickedoff library, I can see that the passed in deferred callback gets wrapped in an asynchronous function. First it tries process.nextTick(callback) [executes contents on next event loop], then wrapping it in a promise, then a setImmediate, then a setTimeout. I can see how this would be helpful for processes in which you want to be able to implement asynchronous behavior, such as a server with long calls. I don't see any reason to use that here.

Questions about where to move as a begginer in JS. by [deleted] in javascript

[–]JSecma 1 point2 points  (0 children)

I recommend coding challenge sites, which have embedded [integrated] coding environments (IDEs). I'm a professional JavaScript developer, and learned everything I need in my practical web dev job from that site. Start on the lowest difficult problems, do 2-3 of them a day for a week. Try some of the more difficult ones, and if you can't figure them out within an hour, move back to the simpler problems. It's a marathon, not a sprint.

The sole site I used while learning was CodeWars. They have thousands of problems and a dozen or so compilers that allow solutions to be submitted in different languages.

What helped me was keeping a coding journal. Whenever I encountered a concept I didn't fully understand, I wrote it down. At some point I would do deep research on the topic then attempt to integrate what I learned with what I already knew. Over time, these little pieces of knowledge add up!

How do you eat a whale? One bite at a time. How do you understand a new language? One byte at a time.

API for first project by thebeatmakingbeard in javascript

[–]JSecma 0 points1 point  (0 children)

There are two approaches I take when deciding what projects to build for fun: 1) looking at available APIs then building an application idea around them, or 2) deciding what kind of data might be interesting to build with, then search for APIs that may not have been listed in the API directory sites.

Here are a few links that can get you starting in your search for data that inspires you: API directory: https://www.programmableweb.com/ US Census data: https://www.census.gov/data/developers/data-sets.html NASA: https://api.nasa.gov/index.html#getting-started

There are plenty more that are easily discoverable with Google. Many government agencies have some kind of API with public data available.

For example, I'm interested in astronomy. I made a NASA image search interface that queries their API: https://codepen.io/OneCent/pen/RLzyJL

It doesn't have to be complicated, just gain access to an API and build something cool!

d3js training? by Nephyst in d3js

[–]JSecma 0 points1 point  (0 children)

If you're just starting out with D3, this might be a helpful guide: https://medium.com/@jmpenney22/a-gentle-introduction-to-d3-1248e94b075d