skysight-inc/HackerNews huggingface dataset:
Is there a reason that he sets a timeout of 100? Since this is all local (because of canvas.toDataURL()), can't it just run every 16ms (60 fps) instead of 100? I noticed in the gif that it was super choppy but I kind of assumed there was a technical reason, but I can't think of a reason that there would be a reason to have such a long delay.
Good code isn't written, it's re-written.

It is scary when something "works the first time", because it probably doesn't.
> Wikipedia says there's a recent rate of about 1 million immigrants per year, about half of which are changing status for people already here.

Would that mean they weren't counted as immigrants when they first arrived, because they had the wrong 'status'? Or are they counted twice, first when they arrive, and again when they change status?

Edit: It occurred to me, immigration to the US is probably concentrated in the south, so the "15% of total US population being immigrant" is not the most relevant statistic to compare to.
Thank you! I found your site long ago and I’ve enjoyed every article. I often wondered what your plan for it was and would be. This puts a little closure on it. I feel the same way about advertising and wonder what alternate business models could happily maintain such a place while keeping it mostly free and open.
Even if it's true, it's like using "there are more deaths by vending machine per year by shark" to justify everyone swimming with sharks. Not saying that nuclear is inherently unsafe, but if 100% of our power came from nuclear, then so would 100% of the deaths per MWh.
Because people are (mostly) of the socializing type. Even if you don't provide them by corp or ban using corp resources, people will socialize and that in many Western cultures involves copious amounts of alcohol.
I am sorry that you have difficulty evaluating their response without knowing the original story. Unfortunately I will not budge.

EDIT: Someone suggested I’ve overstepped here somehow. I don’t understand how but regardless I apologize; it is not my intent to demean nor otherwise speak less of you. We disagree and I wanted to honor that but also close the thread and I may have done so badly.
Egypt. Every damned year (keep in mind Orthodox churches like Egypt celebrate Easter on a different day). Nigeria. Give me 5 minutes I can probably find a dozen countries it's happened in. Gets drowned out in the news though.

Literally today in Sri Lanka. Hence the OP.
Ukraine election: Comedian Zelensky 'wins presidency by landslide'
I got into crypto investing last year but with a strategy that nobody else seems to be doing (except maybe hedge funds). I don’t have the stomach or emotional stability for risky trades so everything I do is delta-neutral. Mostly leveraged futures basis trades, i.e. selling contango futures and buying spot, or vice versa on backwardated futures.

It will never generate the same returns that skilled long/short trading can pull, but I also never have a drawdown. Still managed >50% return last year so I’ll tale it.
I thought it would tank in 2001, then again in 2008, and yet again in the current bubble. It seems like the environs get hit, but SF and SV itself seem to be immune.

Los Angeles (where we were) is a bit more volatile (ie it actually goes down now and then). If I had bought property in the Bay Area in, say, 1999-2000, I’m quite certain I’d be more willing to put up with tenant bullshit in exchange for nearly endless appreciation.

YMMV!
From what I have been reading previously (and I am NOT trying to make this political/religious), Buddhists have been slaying Muslims. Now Christians are targeted.

I have served my country's army. I am always in favor to be targeted in a terrorist attack, that having unarmed, untrained civilians be targeted. Against me a 'terrorist' (burgler, gunman, etc.) has significanly less chances to survive. Attacking Churches (today), Mosques (a month ago) and shooting unarmed civilians is plain cowardness.

To make sure you get my comment. I am against all types of violence. But having served, and having been trained to kill and survive, I believe that someone armed, and in uniform is 'fair game' in a military conflict.

Unarmed civilians are never 'fair game'.

Edit:typos
I'm not an expert on this, but here's my current understanding:

Symbolic reasoning/AI is fantastic when you have the right concepts/words to describe a domain. Often, the hard ("intelligent") work of understanding a domain and distilling its concepts need to be done by humans. Once this is done, it should in principle be feasible to load this "DSL" into a symbolic reasoning system, to automate the process of deduction.

The challenge is, what happens when you don't have an appropriate distillation of a complex situation? In the late eighties and early nineties, Rodney Brooks and others [1] wrote a series of papers [2] pointing out how symbols (and the definiteness they entail) struggle with modeling the real world. There are some claimed relations to Heideggerian philosophy, but I don't grok that yet. The essential claim is that intelligence needs to be situated (in the particular domain) rather than symbolic (in an abstract domain). The "behavior driven" approach to robotics is stems from that cauldron.

[1]: Authors I'm aware of include Philip Agre, David Chapman, Pattie Maes, and Lucy Suchman.

[2]: For a sampling, see the following papers and related references: "Intelligence without reason", "Intelligence without representation", "Elephants don't play chess".
Came to say the same thing, fun story, great demo!

Are there any other demos/games built with the library yet?
While really novel and interesting, would it really work that well on Tor/etc? Most people using those browsers are pretty privacy conscious and I feel like people would notice a connection that never closes
> But my main point was, the things I create every day are not essential

A country that only produces essential items (food, shelter) for its population is a very poor country.

Almost by definition, a wealthy country predominantly produces and consumes non-essential goods and services.

It gets really difficult to argue which non-essential goods are worthwhile. Is the art on the wall worth more than the stone lintel? Is it good art? Is it a second hand lintel?
Yes! This seems to be the turd in the punch bowl. If you can find a good property manager and a good tenant, it’s not bad. Bad either can get ugly quickly (in CA).
How to write a resume that will impress a bot
Here’s a source from Nasa: https://climate.nasa.gov/news/903/coal-and-gas-are-far-more-...

And a quote:

“Using historical electricity production data and mortality and emission factors from the peer-reviewed scientific literature, we found that despite the three major nuclear accidents the world has experienced, nuclear power prevented an average of over 1.8 million net deaths worldwide between 1971-2009 (see Fig. 1). This amounts to at least hundreds and more likely thousands of times more deaths than it caused. An average of 76,000 deaths per year were avoided annually between 2000-2009 (see Fig. 2), with a range of 19,000-300,000 per year.”
> I'm there legally by permission of the property owner only and can be removed.

Not if you have a lease.
Ask HN: What skill gave you the most ROI?
Hi there HNers!

Summer break is around the corner in the UK. This year, I will have six months of holidays and I want to put the energy to learn specific skill. What skill did you learn that gave you the most ROI over the years and how did you learn it?

Thank you and have a good day!
The browser doesn't seem to update the image any faster (at least not Chrome on Linux) than it already does. You can try different framerates though, maybe some platforms allow higher frequency?
Four of Most Important Language Designers in Conversation
Most of the solar installations around Prineville are replacing sage scrub, not forest.
Actual title of the NY times piece: "Silicon Valley Came to Kansas Schools. That Started a Rebellion."
They've even got totalitarian apps:

https://www.nytimes.com/2019/04/07/world/asia/china-xi-jinpi...

>Schools are shaming students with low app scores. Government offices are holding study sessions and forcing workers who fall behind to write reports criticizing themselves. Private companies, hoping to curry favor with party officials, are ranking employees based on their use of the app and awarding top performers the title of “star learner.”

>Many employers now require workers to submit daily screenshots documenting how many points they have earned.

How long until we see weaker nations require the same of their own people? Participating in the firewall, etc?
https://www.thespectrum.com/story/life/family/2015/04/05/sto...

> In 1871 the U.S. Department of Agriculture published a “Statistics of Fences In the United States.” At that time, it noted that in New England and New York State alone, there were 252,539 miles of stone walls, enough to circle the globe ten times, and to build all the pyramids of Egypt times one hundred. It has been calculated that such an effort would have required an army of 15,000 workers 243 years to accomplish.

When you are trying to harvest crops on a series of glacial moraines,
stones dropped by glaciers and brought to the surface by each winter's freeze/thaw cycles are the most reliable annual crop. :-)

In spring, after thaw, but before the ground is dry enough to till and plant,
some levers, a ground level sledge or "stone boat", and draft animal(s)
to pull it will get the stones to the edge of the field. Making a more
tidy "dry" or unmortared stone wall from them is optional.
>The interesting thing about this is that you can keep the connection open as long as you want and then send the iframes on command.

What do you mean?
No problem at all. I am not attempting to change your opinion (which I understand is well-reasoned), but to explain my own.
> Because there is a big difference between the first and the last items.

Protip: there isn't when the other person is a colleague.
Unfortunately, Sri Lanka has a long history of violence even before the age of social media: https://en.wikipedia.org/wiki/Sri_Lankan_Civil_War
> penalize success

You call it "penalizing success." I call it the principle that successful people have a civic duty to contribute more to the common good.

> owned for generations

You say that as if it's axiomatically a good thing for something to be owned for generations. This is far from clear. Why should one person be entitled to own something that another is not just because of who their parents were?
Yang and Shapiro Discuss Universal Basic Income (UBI)
Is it possible to do distributed builds with GCC and LLVM? I would like to see more options for distributing builds across a cluster of servers in order to significantly speed up the build process.
You’re arguing from principles but not ones which are actually relevant to the problems at hand.

Your regurgitatation of economic dogma is far too simple for the authoritative stance you’ve chosen to adopt regarding how to solve one of the most complex and nuanced problems... ever.
I love his comment "These can get you stuck for days". I wonder how long he had to play.
"Once someone has money they can use it to help themselves and "hold down" others."

They can and do, it's part of daily business strategy. Sometimes those efforts are shared if the company is publicly held, even then, the majority of the returns snowball to the large shareholders.

A retired good friend of mine from the chemical industry worked at one of the leading chemical businesses. Part of their entire business strategy/model was collecting strategic patents in chemical processes to prevent others from competing and forcing them to pay royalties to that company. He worked there for several decades leading one of their core research divisions and they shut down most their research divisions because the patent game gave more ROI than actually producing innovative new processes. That specific business now primarily focuses on acquiring IP as blockades and tolls to innovators entering the industry.

That's just one example but I see many businesses use as many anticompetitive strategies as they can get by with. In the tech industry, often potential competitors are simply bought out early before they become competitors either through offers or hiring their talented staff.

Pick a business and they've probably engaged in similar activities. People are not delusional with this assessment, it's spot on.
That's still a long way from being "nearly every country with a Christian minority".
It also contains this passage:

> When I first suggested that yoga teacher training was an MLM, someone rightly responded: “it feels like everything today is an MLM.” That’s what happens when an industry is fully enveloped by capitalism: When a hedge fund buys a yoga company — or when universities are figured as money-making businesses, with actual consultants hired to lead them.

That's the source for the title.
I hope you know what you're doing and making money, as I was afraid to go into futures / leveraged trading so far.

I'm also working on making more money with some trading, but I don't want to talk about it, and even in the best case it has only a small of upside compared to just holding Bitcoin itself.

I understand your viewpoint totally, as I saw many friends getting into deep depression because of the volatility of the Bitcoin price. It is very serious thing. One friend of mine got very strong into cocaine, another friend's marriage burned down, another friend started day trading alts and lost half of his Bitcoins, and another friend (the smartest one) realized that he can't take the volatility and sold after a 10% loss. I view holding Bitcoin as a revolution, so I'm emotionally attached to holding it even if its value goes to 0. Still, I'm a software engineer, so even in the worst case I just work and get a high salary and probably start investing again.

One thing you could do is to just buy Bitcoin with 1-2% of your net worth, which is a great hedge for the current financial system, and also maybe that loss / volatility you are able to stomach. You're upside will be tiny, but you will get used to volatility a bit more.
I found this interesting and an excellent general overview of today's monitoring practices while using microservices.

I have to say, though, that I am always perplexed by these toy microservice architectures because they are not solving a problem but creating it. For example, we would not need sophisticated distributed tracing if we used less moving parts; we would not need to use highly optimized (but hard to debug) protocols like grpc and protobuf if we did not have to rely on a massive graph of calls for each service, and so on.

Of course, there are a bunch of lovely use cases for microservices, mostly around "how do we make 1k developers collaborate over our codebase?" (answer: enlarge the codebase!), which always sounded like a self-fulfilling prophecy to me, but then again, I loathe working for huge companies.

If that is your case, then these tools will make your developer life a little more bearable. If you are playing with microservices because they are fresh and new, please consider a more conservative architecture first.
If part of your job description entails that you have the right to kill someone that is a legitimate threat to your own life...

I worry that you are operating from a misconception here. Cops definitely do not have any special rights to kill another person. Most self-defense legislation reads more or less the same as what you wrote: “...you have the right to kill someone that is a legitimate threat to your own life...”. Police officers have the same right of self defense as anyone else — they are just in that situation a lot more often than most people. Cops are not soldiers and don’t lose their rights as citizens. (Are you asking for cops to be soldiers?)

Cops do have some special rights to restrain people, make arrests, enter people’s property and so forth, just as you described, but killing other people is not one of them.

...you better be 100% sure...

There is only one way to be sure. How is this a realistic standard?
Within the monetary market model, the fundamental factors are money supply and money flow. To solve poverty and ensure that everyone has basic necessities satisfied, either buy from the poor or donate to them. These are the only civil options.
This is the problem with this idea. Format of the index will be intricately tied to the algorithms that are meant to traverse it. The production of a search result by Google or Bing in a fraction of a second is an outright miracle of software engineering. If this open index service provides something developers can easily understand and consume, such as a term-doc hitlist with a simple encoding, it will be enormous, expensive, and impractical to traverse.
The problem is the definition of "by hand". I assume you mean it as "writing code in a general programming language". Note that in a sense, lex/yacc and antlr are programming languages as well.

Parser combinators are usually put out in the form of DSLs. So effectively they're very similar to the above.

e.g. here are JSON and Java in Autumn
https://github.com/norswap/autumn4/blob/master/test/lang/jso...
https://github.com/norswap/autumn4/blob/master/src/norswap/l...

There is actually very little difference between parser generators and parser generators. Like you could take the above Autumn code and make it generate a parser (I plan to do that eventually).

The main advantage of parser generators is that the code you generate is usually a faster. The main disadvantage compared to combinators is that you add a layer of indirection: it's not code in your language that you can trace and debug directly, but generated code.

The main advantage of Autumn over lex/yacc and ANTLR (and a whole host of others, though not all) is that you can define new combinators (not an advantage of PC, you could have this in a parser generator too). Essentially add the recursive-descent logic you need to do something new, then wrap in a nice combinator, and now your grammar has a new primitive element!

Autumn has cool built-in combinators that users could have built themselves using the available facilities. For instance: memoization, longest-match, ways to define left- and right-associative operators, ... (https://github.com/norswap/autumn4/tree/master/src/norswap/a...)
Notre Dame's bees survived the fire
I hope this is the American version of a trillion and not the British.. googles how many billions are in a trillion and got back

“In the American system one billion is 1,000,000,000 and a trillion is 1,000,000,000,000 so one trillion is one thousand times one billion. In the British system one billion is 1,000,000,000,000 and one trillion is 1,000,000,000,000,000,000 so one trillion is one million times one billion.”
Making Sense of the Modern Startup
Actually it doesn't even work with most vegetables. To get the kind of yields people are used to, many vegetables are hybrids. The kicker is, the second generation plant (the one that you'd grow from the seeds) is no longer a hybrid, so you won't get the same plant.

https://en.wikipedia.org/wiki/Hybrid_seed

And as you point out, most fruits can't be grown from seeds either. _Something_ will grow, but you aren't going to get Sweetango apples from seeds.
Bad analogy, it would be somewhat valid if I compared the TOTAL number of deaths between activities done by vastly different amount of people.

But I compared PER MWh PRODUCED, so it's nothing like with vending machines vs sharks.

> if 100% of our power came from nuclear, then so would 100% of the deaths per MWh.

If 100% of our MWh came from nuclear, and nuclear has less deaths per MWh - then some deaths would be avoided that now aren't.

How is that not important?

Honestly, your analogy was so bad it seems like intentional manipulation.
* I have a £200 sit-stand desk and alternate at least once between sitting and standing.

* most mornings, I put on death metal and do a 15-minute run while I imagine myself carrying a defibrillator or fighting orcs or something dramatic. I intersperse pushups, squats, and pull-ups in that.

* I have an Instant Pot and a chest freezer and a kitchen setup to reduce the cognitive cost of cooking. I usually eat leftovers for lunch.

* For snacks, I try to go with apples or carrot sticks for the satisfying crunching feeling.

* Most months, I go contra dancing at Cecil Sharp house, which is healthy simultaneous dose of physical touch, social interaction, monofocused mental stimulation, and aerobic exercise.
I actually love it when I get a response just like yours.

It informs me that you're probably a JQuery developer, personally offended because you believe that your work is incredibly advanced and challenging. In reality, what you do is probably some of the easiest "coding" to have ever come to fruition. Yet, you toss out the "at scale" comment ad nauseam because you think it'll make you sound important.

Just by the fact that you denounce anyone who recognizes the simplicity of it modern development tools shows me you probably fail to recognize the simplicity yourself. Or you don't want to admit the simple fact that programming has gotten much easier. That's been intent of so many modern languages, yet we're always going to have someone like you who claims we all don't know what we're talking about because we've never built anything "at scale".

Your 10,000 hits / day blog isn't "scale" buddy.
I guess I’m saying, marketers aren’t persuading me I need a car. I made a fairly practical choice that I needed a car (maybe I’m not typical?).

But perhaps instead of buying the cheap Japanese one, I bought the expensive German one. So marketers persuaded me to spend 20% more?

The idea that marketers are somehow controlling people’s lives assumes that without marketers, we’d all be living some kind of radically different lives. I doubt we would.
The Yodeler Who Sued Yahoo
The page says:

Sorry, the page you're looking for can't be found;
> I've done significantly better than my peers with salaries, without lying about it.

Thats great. But the other strategy, of engaging in successful negotiation tactics, has also worked out quite well for me.

So it seems like the strategy can be successful.
It's important to speak up for as long as they seek to censor and imprison any person who dare to mention it, and use their economy to force foregn companies to help them censor/rewrite history.

Staying silent, or defending their tantrums, is what allows the Chinese to make it impossible for Macs sold in China to display Taiwan's national flag, to justify Mariott firing an employee for liking a tweet thanking the company for listing certain countries on their website, to force Leica to remove their ad and issue an apology over nothing, etc.
> Actually, that's exactly how it works: we can't both own the same dollar. Duh.

I’m guessing you’ve never taken an economics course. Or if you have, you didn’t understand it.

“Making the pie bigger” (growth) is a thing, and it’s a thing that happens quite frequently. “Getting a bigger share of the same size pie” (zero sum) leaves a lot of opportunity on the table.