Better HN
topnewbestaskshowjobs
Log inSign up

justaaron

444 karma · joined Mar 15, 2015 (11y ago) · 342 submissions

Submissions

comment 7y ago · link · parent

I've posted exactly one post in the past months, this one.

Perhaps you are referring to my comments on other posts?

comment 7y ago · link · parent

I post this as I saw a basic humanitarian essay "flagged" by one of our less enlightened fellow readers. The humanitarian essay that was "flagged" is the following link:

https://joelx.com/american-immigration-policy/14965/

shame on the person who flagged it, you risk your very soul...

comment 7y ago · link · parent

Criminalizing basic humane behaviors (such as saving drowning people, or giving water to a dehydrated person at risk of death) is making things worse and strips us of our very humanity. We wring our hands and move on, preferring to not know about it, instead.

4.

Pictures of dead migrants inspire our sympathy. But what use is that to them?(theguardian.com ↗)

3 points · by justaaron · 7y ago · 5 comments

comment 7y ago · link · parent

Play around. Make things. Try things. Sit down with a rough plan and a few hours and see what ends up slowing you down, then surpass it.

comment 7y ago · link · parent

be prepared for rich nations/people to aid poor ones.

there can be no winners in such a disaster, let's stop jostling for position.

(We, the USA, are literally the only unilateralist nation with regards to this issue. We are an outlier, some would say a criminally negligent outlier. Time to make up for past misdeeds!)

comment 7y ago · link · parent

[flagged]

comment 7y ago · link · parent

Indeed. There are still plenty of people spreading doubt and nonsense about the climate emergency not being real or not being caused by our industrial-scale burning of stuff for "energy".

We unequivocally NEED to stand behind a singular message:

1) it IS our activities causing it

2) we can and should curtail these activities IMMEDIATELY

3) while we can't avoid the effects "in the pipleline", we can prevent further effects from piling up.

4) number 3 is our duty to the children and their children, it's our legacy.

comment 7y ago · link · parent

Why anyone uses this glorified "hello world" app, let alone bases anything serious on it, is beyond me.

comment 7y ago · link · parent

Being aggressive and hateful to the entire world at once will tend to requires substantial bodyguard resources, and will eventually fail.

Peace based upon respect and respect for hard-won rules and structures is the right road.

Switzerland learned this lesson through bloodshed, after a disastrous campaign in which nationals supporting the Duke of Milan got caught in reprisals from his foes, thus beginning the great Swiss tradition of neutrality in foreign conflict.

While I won't argue about the relative morality involved in World War 2, I will argue that all ensuing wars the USA has been involved in have ultimately undermined it's prospects for future peace.

It seems like many of my fellow Americans need a history lesson vis-a-vis Iran.

The USA and UK conspired to overthrow the democratically elected Iranian prime minister Mossadegh, as he threatened to nationalize (their own) oil, which Standard Oil, among others, didn't like very much (Shades of United Fruit and Guatemala anywone?)

We then attempted to install the Shah (we knocked down their democracy because it was too lefty, then we put a king back on the throne.)

The 1979 revolution was a direct reaction to this, and could have been seen coming from a decade before.

This was initially a real revolution, but of course, they purged the lefties and students out and installed a right wing religious government, rather like many Republicans want for America.

And we have the nerve to hammer on them for desiring self-actualization... incredible.

Hypocrisy is not even the beginning of it...

comment 7y ago · link · parent

not to mention that we openly support regimes that will cut their own peoples legs and pollute their own lands for our business.

comment 7y ago · link · parent

making our stuff, and disposing of our waste.

comment 7y ago · link · parent

double bonus for being witty as all get-up. well written. scroll to the bottom.

comment 7y ago · link · parent

Bonus points for not being on Medium!

comment 7y ago · link · parent

I tend to think that Google is rather bigger than any one nation-states ability to contain it, at this point, which makes comparisons to Apple somewhat funny. Amazon appears to be desperately seeking to connect with the funding channels this article highlights.

Overall reaction: meh, the entire tech sector has always played this role in any society since inception. Silicon Valley, ARPA, and later, DARPA seem to seamlessly fit with such a vision as outlined.

No disputing anything here, it's simply that we aren't in any position to assess what Google wants, really, are we?

comment 7y ago · link · parent

Mongo itself, per-se? Never. (single write master = scaling bottleneck)

A document database? Whenever I wanted to lump certain "tables" worth of data together literally ALWAYS (as in modeling many real-world entities) in my CRUD operations. Literally the opposite use case of what the person below me outlined with "whenever the data structure may change too frequently" as I see relational-dbs directly applicable to aggregations (data analysis/metrics) and frequently-changing amorphous data structures in which various concretely and atomically known entities have their interactions and composition fleshed-out.

When you need to take that and run and run hard, documents make sense, then you can look at turning that into primitives (key:value mapping like ohm...?)

Incidentally, there are decent commercial MongoDB SAAS vendors, but running your own replica-set is somewhat cumbersome, and I've personally experienced data-loss suddenly on a self-hosted system after 1 year of flawless operation and 5 nines of uptime...

comment 7y ago · link · parent

<insert high-availability joke>

(was going to insert tcp joke but didn't know if everyone would get it...)

this makes me ponder about whom you check do see if THIS is down...

https://www.isitdownrightnow.com/

comment 7y ago · link · parent

haha! was just gonna ask who they are going to search for solutions lol

comment 7y ago · link · parent

https://www.w3schools.com will get you started on making a static html page that you can open in your web browser.

A web server responds to a web browsers request for a document at a url. Learn about HTTP.

Then, you can begin serving this file, but rather than serving it from Apache or some other webserver, you can begin exploring a backend application server environment of some kind, perhaps PHP or Node.js or Ruby "Sinatra" (you mentioned Python, so there's "flask") or something just to get you familiar with HTTP and it's request-response lifecycle. You will never leave this lifecycle, despite doing lots of fancy stuff in between the bookends of receiving a request and returning a response.

You can start with returning your static html page and move on to passing data back and forth.

You can then investigate persistence and how to store data and look it up via a database server that your applcation server can connect to, for now you can have them on the same machine.

There are a million directions you can take the general stuff I outlined above.

comment 7y ago · link · parent

Somewhat tangential, but I'll take Haproxy anyday over Nginx for the simple fact that Nginx is a a Freemium product, rather than a true open source libre software entity.

I somehow failed to realize over the years that their Pro product is $2500 (given the ubiquity of usage in the OSS community).

I am not contesting it's value, as it brings several vital features to the table, but I feel that it should be mentioned.

Familiarity with Haproxy's dead-simple configuration (although this Caddy seems as simple as pie!) and it's reliability and scalability leads me to also prefer it, even in Kubernetes land, so I do apologize for giving Caddy short shrift in this comment.

It appears that Caddy differentiates merely on free downloads and business SUPPORT plans, which is much cleaner feeling to me, so I applaud this effort to re-direct peoples attention in front-end land.

comment 7y ago · link · parent

I agree. I've seen System-Verilog used for simulating such propagation delays, but it's not exactly a language-abstractable concept yet (precisely as it involves the actual hardware gate implementation) in that such black-box simulations estimate average propagation delay as a fixed function dependent upon results obtained from testing specific functionality blocks in specific devices specific gate-counts away from I/O pins, etc. It would be highly desirable to have HDL level modeling of this stuff in the abstract sense, although I confess to not knowing how that could possibly work, given the above.

comment 7y ago · link · parent

Leaving aside the fact that open source toolchains exist for various Lattice FPGA's (the ice-40 and ecp5 etc)

About the simplest environment for doing what you just described is http://papilio.cc/

While using the existing Xilinx Webpack tools for actual synthesis, place and routing, etc. the Papilio Design-IDE will LITERALLY let you add peripherals to virtual Arduino like appendages! It takes advantage of a number of community projects like the Wishbone bus, and achieves a nearly drag-n-drop level of visual design tool.

Once you have loaded your custom arduino chip onto the papilio boards FPGA you can program it with a modified version of the Arduino IDE!!!!

One of their virtual chips you can start with IS the arduino atmega 328! Another is the ZPU-ino, an implementation of the Zylin ZPU (a 32bit mcu) done by Alvie Boy that allows you to program this much more powerful device ALSO by the Arduino IDE!

comment 7y ago · link · parent

point being: Control. Precise control over timing is required for deterministic temporal activities.

Removing precise control over timing from the language stack one uses to program FPGA's with is removing a desirable feature for many of their uses cases.

If one is interesting in glossing over all this abstraction, why is one wishing to use an FPGA at all?

I will reverse the question and say: "in which scenarios is someone hoping to avoid addressing precise timing constructs in FPGA programming?"

Obviously I'm not referring to clock propagation delay or quantum entanglement etc LOL I mean the intentional macro stuff wrt "timing"

12345
12