skysight-inc/HackerNews huggingface dataset:
If anyone else was hoping to see something related to Golang you might like https://github.com/gopherjs/gopherjs

GopherJS is not related to this project other than what I would have expected GoJS to be without an explanation.
This comment is a request to the author author asking to respond to this comment and to speak on the subject of "Crafting 'Crafting Interpreters'"
I'm learning how xgboost and numpy works internally by implementing them in golang
Apple will produce 1M face shields per week for medical workers
Quantum Computing for the Very Curious: https://quantum.country/qcvc

Wonderful into to the topic and easy to understand. It's my first foray into the field so I really appreciate the Author's writing style.
Thank you very much, didn't know about that subreddit.
Someone like Bill Gates or Warren Buffet could have this man up and running 24/7 by simply providing a guaranteed contract valid for 5 years. Given that a million dollars was a big deal to this guy, it seems like a contract for $10 million would be way more than sufficient.

NOT A SINGLE WEALTHY PERSON has done this. None. Zero. Nada.

There's your answer as to the priorities of capitalism.
They don't make corporate profit because they funnel the money to management salaries and adminstration companies.
And when you abandon them next month, then what?
Clojure, clj tools, figwheel-main, leiningen, sqlite, https, certificates, csrf, reagent, uberjar, smtp. For one app.
Addressed here: https://news.ycombinator.com/item?id=22789745

Also, if the situation is really dire, I'm sure the government can grant him a waiver
Neat! I agree with the commenters above that we geeks try to take bread making (essentially, a free art form), and quantify it somehow and make it into and algorithm. And cheers to that!

Feature request: adjust timing automatically given a humidity + temperature measure.

Feature request 2: fetch ambient humidity and temperature automatically from users' GPS and time of day. ;-)
On creating the diagrams (buy scratch on pen and paper):

> I make mistakes sometimes, usually when lettering like “upvaluels” here. I fix that in Photoshop after scanning.

That's a pro tip, right there. All too often I get caught up in using the tool/program I'm in to do something completely, where it causes inefficient work loops. Part of that is realizing I'm stuck in a loop in my mind, and need to expand my horizons. Familiarity lets you know when to abandon one approach and use another (or at least when and where to shave off the rough bits you're subjecting yourself too). As an example, this doesn't happen to be in the shell. I'll happily take any textual output I'm given and process it through one or more tools to manipulate it, or if it comes to it, write a Perl one liner (or even convert that to a small Perl program with better syntax if it gets more complex) to manipulate and massage data, even if the purpose it to throw it back into the same program.

That may or may not be the most efficient way to tackle the problem, but it's a known solution, as opposed to not only not knowing how to to it in the tool I was using initially, but not knowing how to efficiently determine if it can even be done in that tool.

In this case, he's using pen and paper. He makes a mistake in the lettering after making sure the rest of the structure is correct, so he's got 90% of it correct and to his liking. He can start from scratch which is time consuming, or use some other physical medium tools (like white-out) to fix it, but it may not look quite right, or he can annotate the error with the fix and he can use a separate tool designed for quick and accurate visual manipulation (as opposed to creation, which it does but for many not as easily as with pen and paper) and layer a very effective fix in place afterwards.

Recognizing where and when you can do this effectively is likely one of the most beneficial skills you can train. It comes naturally with experience in an area, but being able to apply it to almost anything you do is a skill in itself.
Sure, but toki pona is also designed to work with a small subset of ascii, so the question remains.
Fiber guys are lucky that they can cheat with things like Raman amplification that us poor RF souls have no real equivalent for.

https://en.wikipedia.org/wiki/Raman_amplification
... do you both work fulltime jobs?

... is exterior/yard work in the sheet?
Leveraged ETFs are not leveraged in the traditional since as one might expect. The article misses this point and the author should rectify and clarify immediately.

Leveraged ETFs promise the daily return. They are reset every single day. So your return over N days is completely path dependent.

Even a positive return of the benchmark may result in a negative return in a leveraged ETF if that path was volatile...

Leveraged ETFs are trading tools. Do not hold them in your portfolio for more than a few days.
I am taking this course[1]: Programming Languages. It emphasizes on big ideas behind languages and functional programming which is very interesting and enlightening.You will implement a type checker and interpreter through this course(I am struggling ML's pattern matching now but feel quite pleasant ).

[1]https://www.coursera.org/learn/programming-languages/
Cool. This subject is on my list and will probably approach it through Clojure's Core.Logic (a logic library inspired by both prolog and miniKanren) [1]

1: https://github.com/clojure/core.logic
The SEC should just not call them ETFs.
If the third party service is Migadu, then I agree. Terrible support (bordering on nonexistent), long (24h+) outages with zero communication, an overly aggressive spam filter than prevents tons of legit mail from hitting my inbox. Looking for alternatives.
> STLC

Software Testing Life Cycle? That is not a type system, that is a software development methodology. Thought you'd mention atleast TypeScript or Elixir, but no, you went for the a whole software development methodology. Which kind of puts you in a bind now, since you also said: "..it is guaranteed to be free of type errors provided the type system is sound". So where does that leave us if you cannot confidently give an example of a sound type system?

> That level of confidence in types is just not possible in a dynamic language.

Not possible with static languages either, unless ofcourse you use the whole "Software Testing Life Cycle". Do you know what I like most about STLC? It advocates what I have been saying all along: discipline and best practice!!!

And you can use STLC with dynamic languages to and get the same benefits.
Endangered sea turtles hatch on Brazil's deserted beaches
"Old and quirky" is an understatement. It's a god-awful mess, with semantics so murky that people end up just copying patterns and hoping that it'll do what they want it to do. And it can't be killed, because every bit of those implementation-defined semantics are used by someone.
The report is disputed, see the following thread: https://twitter.com/amber_athey/status/1246520453847449600
I am glad this isn't just another bag valve mask with a linear actuator. Unless the patient is heavily sedated a system that just pumps air in and out can cause damage to the lung because it isn't working with the patient. This Tesla system unlike the other corporate ventilator PR stunts is monitoring pressure, and heating the air going in.
You answered both my questions! Also saw you created dynalist. Look forward to seeing this new project!
Not as Easy as ABC
One thing I've been thinking about recently is conservation rules. are there any popular fiction worlds that explore conservation of e.g. magic? The only example I presently know about is https://www.hpmor.com/chapter/78 (search for "conservation").
It looks like you're not escaping single quotes in the find pattern, so the command output gets malformed.

Also, you're reading in the whole file before replacing, even though most uses of sed will probably be per line. Including an option for line-by-line (maybe as default) would be much better for large files.
The entire rest of the world that's not part of Scandinavia is not the polar opposite. There are many countries, and much diversity in their equality and government responses.
Even so, that administration ended 3 years ago.
I’m trying to free my mind from the usual grind.
I started before covid, but I'm learning Clojure, XSLT/XQuery/XPath 3.0, SPARQL, RDF* and SHACL. I look forward building a personal knowledge base combining all these.
A very cool, overlooked, and timely feature of Reaper is NinJam which is a way to “jam” with people remotely through a fixed time-delay.

It’s been around for at least 15 years, but looks like the author has recently started updating the feature again. Check it out!
> but you end up with huge banks of delay lines to simulate control-flow constructs

I'm not sure what you're referring to. Pd has a whole category of control objects for routing arbitrary message data. This includes branching and looping in zero logical time.
Let me know if you have any question about Russian (email in profile) :-) And I am a Rust learner too!
Considering how many billions of dollars get spent on military jets, a few million dollars for throwaway masks seems affordable.
I have a renewed appreciation of so much that we usually take for granted, chief among those are the contributions of our teachers and child care professionals.
How to get from 10k downloads in a week to 100K downloads in a month?
Celery Client / Worker for Node.js
It’s crazy to me that the fundamental protocol running the entire internet is essentially based on the honor system... it is not working out well
What are you making? I like django, seems easier initially than something like PHP-Laravel
I'm still in school and am just starting to get into more difficult math; right now I'm learning introductory odes, vector calculus, and introductory analysis. All three are really enjoyable, but in some ways vector calculus and differential equations feel like a review, in that the hardest part of each is just the calculus I've forgotten since Calculus I-III. I find analysis to be the most interesting course because of how novel it is. I remember at the start of the semester, it was so confusing; the concepts weren't difficult to grasp, but I just didn't understand why we were learning what we were learning, or what it had to do with calculus, for which we were supposedly trying to develop some theoretical foundation. But as the weeks went on, I began to appreciate the beauty of the subject, in small increments. I began to understand why the real numbers were constructed just so, and why we needed to understand ideas like compactness before we could talk about ideas like convergence.

One quote about analysis that I read online somewhere is that you should study it until it starts to feel "natural." At the time, I guess it sounded true, but I didn't appreciate what it actually meant. Now, I'm starting to.

It takes a lot of effort to digest each new lecture, but I'm excited to see what the rest of the course holds, and to graduate to "real analysis" afterwards.
I am a person who gives in easily to accessible compulsions. Whether it's snacks that are sitting out or picking up my phone and quickly checking twitter. I recognize these things are unhealthy, but they are so immediately available it's hard to avoid nibbling on them when they are around.

I've decided to try and disengage from Twitter by getting into mobile gacha games -- you know those games where you randomly collect stuff to play? (I chose Granblue Fantasy which is a JRPG with random characters/loot, but I've also played Puzzle and Dragons which is a match 3 with random loot).

While these games have, at best, a predatory financing model, I have noticed a significant uptick in my own mental health by replacing the casual Twitter check with the casual loot farm. I sleep better, I'm less anxious, I'm less impatient. Especially because a lot of the time I was looking at Twitter right before bed and seeing a constant stream of terrible news (and people being wrong on the internet, which must not stand.)

So, I dunno, I can't say I'd recommend getting into a grindy, random slot machine, but I can say it has been a salve for me right now.
This is awesome! thank you for sharing it. I was looking for something like this.
The beauty of the wildlife from the sea to the sky
chiropractors are snake oil salesman, pure and simple ... a lot of these clinics are fronts for religious organizations -- they figure out a way for their clergy to access the dollars in the medical system, and there is a virtuous cycle as people who are willing to believe in chiropractic care are also susceptible to other forms of faith based manipulation (in colorado you can get chiropractic services paid for by health insurance which ultimately means some of the money comes from the state).

I had back pain and tried it once -- didn't know anything about it before but i did it for a few weeks. i tend to have strong opinions about the role of the mind in body function which implies the brain does have significant effect on pain perception -- so i decided even tho there is absolutely no way the little tool they tap your back with 5 times in a session could do anything -- to see if i could pretend like it was helpful

... but when i noticed the anti vax material playing in the lobby -- i decided i'd had enough of the experiment and that these actively harmful belief systems didn't deserve any of my money ...
It is so strange - when I write exactly the same assertions I am getting downvoted into oblivion lol.
Oh my god. I’ve wondered about a way to do this but... this is just devious.
Not to mention that the more physical nature of architecture makes it less flexible than code itself so "architectural" patterns are, as a result, significantly less abstract and complex than coding patterns/algorithms.

This is the reason that software engineers need adult supervision. The fact that you think that modern infrastructure is physical and static displays a lack of experience. There is nothing static about modern cloud infrastructure.

I just had to deploy an API to ECS/Fargate (Docker). We had to determine the best combination of memory/cpu of the Fargate runtime environment and what hardware we wanted to give the ElasticSearch environment. I basically wrote a CloudFormation template (infrastructure as code) that defined the environment and then wrote a Node script that ran the CF template and passed in parameters to vary the hardware environment (cpu/memory). After the environment was created, the script then ran a series of Artillery load tests, recorded the results of the load tests, gathered metrics from CloudWatch and estimated the monthly cost compared to the performance.

We reported that to management to let them decide how much they were willing to spend for the throughout they needed.

I’ve created entire environments with databases, Redis Caches, ECS clusters (think AWS version of EKS), etc as a proof of concept by using CloudFormation deploying code to it, showing management as a demo, and then tearing it all down just by clicking delete until we can come back to it after the contract is signed and then spin it back up with one command.
> You're refuting all the points by saying "X country also as Y attribute" but what you fail to grasp is that China is one of the only country that combines all at the same time.

The point was that all those non-superpower level attributes don't collectively amount to superpower status. China would have to rise a notch or two on every metric in order to even be considered a superpower. Even then they'd have a lot more work building the global infrastructure that the US built over many decades.

> Not really https://www.globalfirepower.com/countries-listing.asp

Yes really. The fact that your list puts russia anywhere close to the US in anything should make you question the list. I'd love to see how the justification for how russia compares to US in "military might and financials to logistical capability and geography.".

Russia is a joke militarily to the US. What do they have? 1 small carrier? Financials? Is that supposed to be funny. Logistics? Only the US has worldwide logistics capability. Geography? Russia is pretty much tied to northern eurasia and their geography is mostly a liability than an asset. We have territories stretching from the arctic to the pacific to the carribean with no real competitors in our hemisphere.

> Maybe, maybe not, if we start making up our own definitions of a superpower it's going to be a long discussion.

I don't think it is controversial to say that you can't rely on another nation to provide your defense and claim to be a superpower. But then again you think russia is a near equal to the US in power based on a website, so what's the point continuing the discussion. Just another case of agreeing to disagree I'm afraid.
Or, the new dev doesn’t see the second copy, because they gave you the benefit of the doubt, and only apply a bugfix to one copy.

Later, since your team is growing, some other dev applies some other fix to the other branch (which was also copy pasted three times by three distinct devs because “rule of three”).

Soon, you have a dozen copies, and they are all wrong/diverged enough to not be clear copy pastes any more.

I’ve seen this happen more often than not, especially when scaling teams. Since the team is scaling, the original dev won’t always review all the code changes.
Ask HN: Learning a New Language Effectively
I'm trying to learn Esperanto, but I found that Duolingo jumps directly into translations and vocabulary. Is there a good way to learn a new language from a more theoretical point of view i.e. by understanding the foundational principles upon which it was designed?

I would also appreciate recommendations for experimental languages with interesting syntactic/semantic properties that I can explore.
I have lost my contract as a developer and am helping a non-profit [1] streamline their operations. The organization aims to provide food and heath kits to the marginalized. We have already distributed over 600 kits and are on track to reach a 1000 in this week. Each kit is designed to support a family of 4 for 1 month.

I was introduced to them by a friend who was helping them build an open platform [2], open in the sense that all processes, donations, procurement and guides are public.

Although my core competency is building and managing Saas, I took up the task of setting up their operations. I find a striking similarity b/w managing Saas and not-for-profit distribution.

We are relying heavily on Airtable.

Despite of being jobless, I feel less worried. The situation on ground is much worse than mine.

---
[1] https://karuna2020.org
[2] https://open-data.karuna2020.org
I'm a big user of graphile - they've also got a pretty good starter boilerplate with auth, etc baked in: https://github.com/graphile/starter

Have you tried it / do you have comparison points? I only poked around in Hasura a bit before deciding it wasn't worth the switching cost atm, but the out of the box upserts are compelling to me.
You are asking the business owner to arbitrage his business (place a bet that he can carry expenses until some crisis allows him to gouge).

Why do you want the business owner to arbitrage his business when the people who do arbitrage for a living won't do it for him? If the experts at arbitrage declare it a bad idea, then he probably shouldn't do it either.

And he's not. That's sensible.
I "hand-draw" graphics for technical articles, but on an iPad, which works well for me. Here's how I came to my current style, by experiment and reverse engineering: https://philipkiely.com/essays/useful_charts.html
Awesome. As a CS student, I'm trying to take in as much as I can. Just finished the Phoenix Project. Will start on this now.
This is goto with slightly more code ;-)
Norwegian!

Originally, I was going to do a hiking and photography tour of Fennoscandia in the Fall. I'm not sure if that'll still come to pass with the ever-looming collapse of society, but at least it's pretty refreshing to learn a new (non-programming) language for the first time in over a decade, and for the first time in my adult life.
One of the best courses ever.
Probably because China doesn't have (or maybe enforce?) "price-gouging" laws. This 100% wouldn't be happening if we just let people charge what they want for their own property.
Just a reminder that in most compiled and JIT optimized languages with switches, this

switch (c) {
case 4: return 30;
case 5: return 70;
default: return 0;
}

compiles to the same instructions and therefore same performance as

if (c == 4) {
return 30;
}
else if (c == 5) {
return 70;
}
else {
return 0;
}

As a side note, it's easier to see accidental fallthroughs if you write switch statements like this.

switch (c) {
case 4: {
return 30;
} break;
case 5: {
return 70;
} break;
default: {
return 0;
} break;

But in my opinion, the `if` statement is more clear in both cases, and only one level of indentation instead of 2.
And there was no room to raise them in quiet times either because they were already more expensive than imports.
NUGT, DUST, JNUG, JDST are not based on the gold, but on the gold miners. NUGT/DUST & JNUG/JDST are based on GDX and GDXJ respectively.

Usually gold miners (GDX/GDXJ) lag behind gold prices. Many in the market know that gold price is range bound. That's why you can't expect similar moves across GLD and GDX/GDXJ.

Leveraged ETFs are bad if the underlying is more volatile. Gold miners are more volatile than biotech(say, IBB), which is more volatile than SPY, QQQ.

Go for leveraged bull ETFs on the less volatile underlying, and in the bull market: TQQQ, UPRO, etc. If one wants to capture some short term gains, go for LABU (3x IBB).

Leveraged instruments are path dependent. If the underlying ETF is choppy, you are not going to make any money--be it leveraged bull/bearish ETF. An example of choppy/sideway moves in week: 0.5%, -0.45%, +1.2%, -1.3%, 0.25%. In such a market, just stay away from leveraged ETFs.
>Sure, it could be done. Is it worth it? Obviously not, or he’d be doing it.

All of the factors you listed can be conceivably factored into the price and/or be part of a purchase commitment. The fact it hasn't either means:

a) the increased price isn't something the market is willing to bear. I'm skeptical about this because the presence of scalpers on the market makes me think that there are at least some consumers willing to pay insanely high costs for masks. I will also go on a limb and say most people would probably be willing to pay 2-3x "normal" price for N95 masks (a quick search on archive.org says they normally retail for $1/ea when purchased in modest quantities).

b) the owner is behaving irrationally from a profit maximizing perspective, perhaps because he got burned last time or thinks any profit isn't worth the hassle.
The one discussed directly in the grandparents of this thread.
Let’s talk about occupational hazards faced by people doing forensic investigations...