skysight-inc/HackerNews huggingface dataset:
Ask HN: How do you store snippets of code?
Just curious about the different ways you store code snippets for future use. Do you use a simple text file? And App? Codepen? Do you publish it? Do you store them at all?
It is precisely its uniqueness from other journalist-interviews-astrophysicist interviews that makes this interview superb. You can see they are both people with emotion and passion, and who love to argue, not just dispassionate drones who follow the data.
> All the iterator types for example are lazy,

It's not proper laziness as defined in Okasaki's thesis/book. One needs more complex things like lazy finger trees.
There seem to be a lot of courses in this space - I'll give this one a try since you're recommending it. Most of them seem to focus more on the theoretical / math aspects of stuff, which is quite interesting but I find it more interesting to implement these things and solve real-world problems.
I've seen mention of what may be one of the biggest differences between Microcenter and Fry's. Fry's stores are absolutely massive--well over 100k sq ft, similar in size to a Walmart. Microcenter is generally running 20-40k sq ft, closer to a Hobby Lobby or Michael's in size. (And I'm comparing stores in the few urban areas that have both, so it's not an issue of land availability). It always felt to me that Microcenter was rather a large store, but that Fry's being so much larger leaves me somewhat perplexed as to what the hell they filled it with.
What I learned in avalanche school
http://archive.md/9KpFo
COM is based off of the C ABI not C++. This was done specifically because C++ does not have a stable ABI.
Mortal Kombat Cheats and Hack Free
It's almost as if the author took a conventional quad core CPU and imagined it divided up into 1000 cores instead of 4.
As a dutchman who spend some time working and commuting in the SF bay area: Commuting on a bike without a bright yellow helmet and a combination of flashing lights that rival an emergency vehicle is basically suicidal behavior.
and this is why I use a Google Sheet as mine :) I know most will say I'm nuts... but I'm sure I'm not the only one out there and I get everything you just described for free.

*edit... well except the autofill, but that's why there is good old copy and paste :)
Sure, if you don't know what the term "market share" means then your comment makes perfect sense.
> wouldn't iterators and generators be enough for implementing laziness?

If you can implement lazy finger trees with iterators I'd love to see it :)
I think the biggest reason people don't see a bicycle helmet as necessary is from personal experience. I grew up on the 70's, long before kids helmets were in vogue. And I had several bicycle accidents.

Once I hit a curb, went over the handlebars, and skinned up my hands/knees and my wrists hurt pretty bad for a week or so after. Another time I wiped out at the bottom of a hill, tore a huge gash in the side of my knee. Then there was the time I chipped a tooth on a curb when trying to ride no-handed.

In all the falls I experienced, none of them involved a head injury that a helmet would have prevented (the chipped tooth incident could have been prevented by wearing a mouth guard, or by not being stupid). So based on that, it feels like helmets are useless.

Of course, in reality there is a huge difference between a kid riding a bicycle at single-digit MPH on neighborhood streets and back-woods trails, vs. going 15 - 20 MPH on roads or paved trails. At those speeds, it would probably be impossible for me to break my fall using just hands and feet, not to mention the possibility of getting distracted hand running into a street sign or tree branch. Logically I'm aware of all this, but still I have trouble with maintaining proper helmet discipline.
Isn't this a human learning problem? Just tell your supervisors to be aware of their counterpart on the floor, at all times?
I am not disagreeing with you, just slowly came to realize that the world is not all that logical, nor are well-intentioned people all that good at understanding all the consequences. Convenience in some cases may be counter-productive and ends up with unexpected side effects.

I do happen to believe that taxes in the US are lower because of the way taxes are collected and that you are forced to "see" exactly what goes where. If it were just a line, sign here, and press a button I would do just that, press a button and submit.

This approach may save me a few hours a year, ok, but I also think I would make less effort to look up ways to save taxes and I would simply be less aware of the various mechanisms that are there.

For example, I understood long term gains and qualified dividends much better after adding these in (semi-manually) and seeing how it all affects the bottom line. I also understand much better how to do tax loss harvesting and other similar methods.
The shocking thing that at least I ran into is the sheer quantity of training data you really need. The large companies doing this successfully are using utterly gigantic libraries of training data that are beyond anything others could ever come up with. It really brought home to me what a blunt intstrument deep learning really is.
I love the 16:10 ratio screen but a bit disappointed that the page-up and page-down keys are still squashed above the left and right arrow keys. I have used the XPS 13 for about 6 months and just cannot avoid hitting the pg-up or pg-down keys when reaching for the arrow keys which is a nightmare for coding. I would much rather have those as function keys as they were on the previous model of the XPS 13.

When I looked into this issue, I found an old thread on a Dell forum where an XPS 13 user (of a previous model) was complaining that there were no dedicated page-up and down keys. As someone that uses those keys a lot I get that it seems Dell's solution to this has caused them to sabotage the functionality of the arrow keys and is definitely worse than having no dedicated keys for pg-up and down. I was hoping they would hear feedback from developers or anyone who uses arrow keys a lot and revert back to the old layout.
> This has literally always been the case for the history of software.

And the code complexity doesn't actually go down; as it takes less code to meet a given set of expectations, expectations expand.
I had to lie about specifics in the example because I post under my real name and there are things I can't talk about :)

Apologies - I figured the primary intent of my comment - i.e. the questions at the end, would be the focus of most responses
Discussed at the time: https://news.ycombinator.com/item?id=9063177
'We can't trust Google': former executive says company has lost its way
I am on the fence between Single Payer and your proposed solution of "push the cost to patient to force the price down". I do think the same but the appeal of universal healthcare is similar to the appeal of things like fire department. We don't really always need it but when we do, we don't want to worry about it.

Honestly, as long we get rid of the mafia middleman a.k.a insurance company except for real catastrophic situations, I do agree that costs will plummet. Price transparency is another key aspect.
Yeah it's dumb.
A Cure will instantly make any product 10000x more valuable because it can be sold across the globe while care is very much limited to local hospitals.
Even the incentive system doesn't add up.

It's as dumb as claiming that the cure for baldness is not invented because of the hat / wig / hair-transplant cartel that want's to keep you bald
Shameless plug from someone who want this project to flourish.
Check https://vespa.ai as an alternative to Elasticsearch. Migrating from a ES to it, I got a faster search, never had to face a unhealthy node and native tensor support (And Native ANN is coming soon https://github.com/vespa-engine/vespa/issues/9747).

Very mature, and still progressing at a neck-break rate (https://blog.vespa.ai)
Buzz Aldrin at 90: an interview with the Apollo 11 astronaut
1. The EU needs at-least a decade to finish transforming form an economic block that explicitly wasn't supposed to have the power it does into a true federal system. Lots of cracks are starting to show like Belgium suspending the Spanish arrest warrant for Catalonia separatists elected to parliament. No one except France and Germany, who both make weapons, wants to spend the money on an EU army. I actually predict the EU will loose at-least one current member nation, after the UK, but may finish the decade with more than it starts with.

2. 10 years it too short of a timeframe. Africa will largely be in the same place overall with several select countries clawing their way out of poverty.

3. Unlikely basic sanitation is too lacking for something much more abstract to take the focus yet maybe at the end of the decade if they make major progress on other issue we might see the start of a focus on it.

4. I could see this

5. In the vaguest of terms.

6. I agree between California's new laws and rhetoric of the Democratic candidates leads me to believe they will be pushing very hard for more and more regulation.

7. I can see a spike and a very slow tail growth but nothing close to a quick transition.

8. California has already been forced to pay other states to take their power on sunny/windy days we are already starting to see the issues with them.

9. Europe yes the've been on this trend for a while now but China no way it too much of a status symbol right now.

10. Agree

11. Agree
There are city centers like that too, it’s not an exclusive property of suburbs.
wow crazy you found this comment.
In December, Schneeman signed an open letter alongside 2,000 other open-source contributors, who called the ICE contract a betrayal of open source’s commitment to “inverting power structures and creating access and opportunities for everyone.”

I'm pretty sure I remember an "even if an evil dictator wants to use it to murder babies" as a quick sanity check for whether a proposed license is actually open.

In response to the GitHub fracas, the developer Coraline Ada Ehmke introduced the Hippocratic License—named for the Hippocratic oath—which caveats traditional open-source licensing with restrictions on uses that “actively and knowingly endanger, harm, or otherwise threaten the physical, mental, economic, or general well-being of underprivileged individuals or groups.” But the Open Source Initiative rejected it. “Giving everyone freedom means giving evil people freedom, too,” reads its abridged definition of open source.

Yep.
Or just use Git without Github - Git is free and open source. Or use Subversion. All these protesters are actually doing is _hurting_ open source by removing a revenue source that could be funneled into improving other open source projects. Unless they’re going to follow this line of thinking to its logical conclusion of creating a special NGGPL (non-government GPL) license and preventing government agencies from using open source projects.
> I'm surprised by how many people find the dark forest theory convincing

Me too, and the evidence against is pretty much all of human history. Yes, there have been some genocides, but on the whole even though humans compete for resources we trade and work together more often than not. One might argue that humans have always been on roughly the same level technologically but that's a) wrong, and b) irrelevant to the philosophical concept that one should murder anything that competes with one's own genetic lineage [0].

[0] which, according to all known physics, is ultimately futile anyway since even the universe will eventually die.
We've heard your complaints, and now those keys are backspace and forward delete.
Archaeologists Excavate 200 More Chinese Terracotta Warriors
> reasonable solution to me.

A proper balancing algo solves a lot. Balance players and clump cheaters with other cheaters (maybe they even have fun while at it and continue being paying clients!).

but yeah, that's a lot of work on the server (cost++) and installing a rootkit also gives you a lot of telemetry data for free!

with a big percentage of the user base willing to bend over and stating "reasonable solution to me" i'd pick that option too. We only have the "gamers" to blame i guess. The companies are doing what we would do in the same situation.
Now the tricky part. Maybe, just maybe, the Swiss didn't screw up? Maybe that's their perception of events and consequences and crime and punishment: heartbroken father and husband at one side of Femida's scales and a culprit of his child and wife's death - on the other?

In that case, aren't you with your ideas of jailing Kaloev for life, or other voices talking about even putting him on a death row - are just a mirrored image of those who cheered him for vendetta and murder? Are you?

(edit: typo)
> enforcing signed code at the hardware level

Consoles. I dropped PC in favor of Xbox/ps and won’t go back. Just NEVER having to deal with cheaters or people that buy more expensive hardware and/or drastically lower their settings for an advantage is well worth the lower visual fidelity.

I’ll take consoles because I can sit down and ENJOY the game.
> It's an incredibly awful community where players will initiate votekicks simply for getting killed

...lol, that's nothing, expect people getting kicked for having a feminine voice.
To be fair, the original title used here on HN was neither the title of the linked-to essay nor a quote from the essay, but likely a user-submitted title. It has since been changed to match the actual title.

Note the first line of the text specifically references "general computing."
U.S. Gov Issues Warning About Possible Iranian Cyberattacks
In California, a helmet is required for an ebike that can go 28 mph (class 3 e-bike). For the 20 mph e-bikes (class 1 and class 2) no helmet is required for adults.

I'd really like to see more support for class 2 bikes on bike paths around the bay area. Class 2, which does not require pedaling, gets around the "I'm too sweaty when I get to work" issue. My dream: a bike highway to the silicon valley from outlying areas.
League of Legends doesn't seem to suffer from bots - if you don't want to believe me, check out https://www.reddit.com/r/leagueoflegends/comments/eieyz2/why... , and their regional rank system works well enough and not only useful and provide good values to the players, it is absolutely necessary at higher ranks.

Likewise, AFAIK, dota2 doesn't seem to suffer much from bots, and their rank system seems to work ok.

Arguably Fortnite / Overwatch / PUBG style games do suffer from aimbots, but whatever downside they bring, those games seem wildly successful. And the regional / global ranking system seems integral to their success.

Given that a large number of highly successful games do have it, I don't think your argument has much of a merit - it's surely a challenge to implement them but it seems like a worthwhile problem to solve, rather than avoid, at least if your goal includes global / regional success beyond small niche.
I agree with you wholeheartedly. I played countless hours of the first destiny. I loved exploiting all the glitches and finding new ones. The pvp was chaotic and random. Some matches I topfragged, others bottom.

I've tried going back to destiny several times over the past few years. It's too clinical. The good glitches get overnight patches. The bad ones last forever. The pvp is a non-stop sweat fest of me getting killed over and over and over and over. It just stopped being fun.

I game to escape the mundane reality of my relatively poor lot in American life. As soon as I start feeling that way when playing a game it's all over. I haven't found a game since the original destiny that gives me that escape. Games like pubg, fortnite, csgo, cod, battlefield, halo, all feel the same to me. I don't like most indie games, or 3ps, and don't have the time for games like ksp, factorial, civ and can't get immersed in single player games anymore. So my options are limited. It's been good though. With virtually no games worth investing money into a PC, console, or iaps, I've broadened my social circle and learned new skills. I imagine the market is going to swing back around to cater to the coop centered gamers when they realize that middle aged families with teenaged children or older have far more disposable income than the current demographic of school aged kids and young adults.
In those cases, people tend to use something like a categorical cross-entropy loss where you assign a continuous likelihood score to each discrete possibility, thereby making things differentiable again.

https://www.tensorflow.org/api_docs/python/tf/nn/sparse_soft...
The open source movement is explicitly about power: who gets to (legally) copy/see/modify/distribute/etc.

So it's always fun to see these demands to "keep politics out of it". If you did not see that is was nothing but politics before, it's because you don't notice the politics when you agree with them.

That doesn't mean the analogy you are quoting is entirely valid or meaningful: OSS is pretty close to communism in it's "from each what they can, to each according to their needs". But it's easy to see that zero marginal costs are required for this to work.
I think that most people would agree that copyright infringement is a subset of theft.
> And hospitals will still have admin as they still have to bill the government.

Missed responding to this piece before, but, sure: but, from the source I cited upthread, BIR costs imposed in the US big public programs (Medicare/Medicaid) is 2-5% of total cost, in the US private insurance system, it's 17% of cost. With single-payer admin will be nonzero, but it also won't be nearly 1/3 of total health expenditures, nearly half of which is related to billing and insurance.
Yeah, I replaced my wife's marginally upgraded 2011 MacBook Air recently with the 2019 MacBook Air because I got tired of looking at that shitty TN panel on the old Air.

8 years later and the base model $1100 MacBook still has 8GB of ram and 256GB of storage, just like the 2011 MacBook Air I wanted to replace.

What the fuck happened?
The obvious point is that the 'writing big checks' aligns with what detractors have starting pointing is the problem with Softbank. Take the first example given in the article, Paytm - Softbank are already investors in Paytm, so by inflating a new round of funding they can mark up their previous investment as a profit. Not to mention all weird crossed up fact that Softbank were an investor in Alibaba who are the largest share holder of Paytm. It's all a bit like marking your own homework.
- We use GCP for labeling [1]

- Yolov3 is state of the art for speed. I think RetinaNet does better if you have the horse power.

- I can't recommend FastAI [2] enough for learning things to try.

- 60% on a frame by frame basis might be enough as long as you have a low false positive rate you can tell. Combine with OpenCV mean shift if you need real time.

- Start small. Show success with pre-trained models, then move on to transfer learning. Start with a small dataset. Agree on a metric beforehand.

- Use a notebook. [3] Play around, don't let it run for days then look at the result.

[1] https://cloud.google.com/ai-platform/data-labeling/docs/

[2] https://course.fast.ai/

[3] https://github.com/Mersive-Technologies/yolov3/blob/master/f...

Edit: formatting
If they added proper metaprogramming, people could make their own pattern matching and other compile time goodies and they wouldnt have to keep shoving cruft down our throats every 3 years.
A Proof of Stake consensus for a public blockchain like Ethereum has different requirements and is substantially harder to execute than for a permissioned network.
Great article.

I wonder at the speed of this on a modern machine vs an assembly version running in dos on a 1992 machine. A benchmark of interpreted code on a modern OS + machine vs bare metal native code written in the 1992 style on an old machine would be interesting.

I remember when Comanche came out... the 1990s were like the Heyday of flight sim games and Comanche was mind-blowing at the time as a teen. They were my favorite by far type of game. At some point it feels like they really died out. There were a lot of games that had a happy medium of fun vs realistic/complex back then.

At some point the # of flight sim type games plummeted and the ones that stuck around bifurcated into hyper-realistic to the point they are a time suck (cause you could be using an actual real flight sim for real flight training) or they are hopelessly unrealistic and no fun compared to the old stuff.

Not sure but I might disagree with the author about Comanche being 3 years ahead of it's time. It might have been closer to 5 years ahead of it's time. You didn't get stuff that really blew it away till hardware acceleration became prevalent, but by that time 3D FPS games were demolishing the flight sim market.
Which means given a wave of 64 that gpu has only 72 cores(cus)
Don't think of it as your business "failing" because you pursued microservices. You are just participating in an evolutionary process. It's all good.
What a disappointing review. Core count? RAM clock rates? I guess it's really an "enterprise" laptop for people who don't care much about things like that.
> Perhaps they'll collect enough space dust/debris to build up a rock like surface

We dont know that Oumuamua has a rock-like surface. There are no photos and no spectrography
>As a practical example, figuring out where a given pixel moves from one video frame to the next one, when working on real-world videos, the best known algorithms get about 50% of the pixels correct. With clever filtering, you can maybe bump that to 60 or 70%, but in any case you will be left with a 30%+ error rate.

what do you mean by this? optical flow isn't really a learning problem? it's a classical problem with very good classical algorithms

https://www.mia.uni-saarland.de/Publications/brox-eccv04-of....

https://people.csail.mit.edu/celiu/OpticalFlow/

https://github.com/pathak22/pyflow
#matrix#matrix.org@half-shot.uk is the community one (and would take you to matrix from xmpp)
- Twitter becomes so ubiquitous in politics that it purchased by the US government and officially becomes a government service.

- The successor to Google Glass, Google Contact (an enhanced version of Glass that uses contact-lenses) becomes popular and a staple of nearly every household.

- Google is split up into separate companies.

- At least one plague happens because of overuse of antibiotics.

- China develops hypersonic weapons and takes over Taiwan.

- There becomes a backlash against the "cloud", and people start moving everything into local storage as prices-per-terabyte become cheaper, and after a bunch of "cloud" companies shut down.

- The US will still have expensive, crappy healthcare compared to the rest of the world.
It's interesting that it's so far down the page, too. Popularity and accuracy were inversely correlated from my reading of that thread.
I strongly believe in the four essential freedoms, especially "(0) The freedom to run the program as you wish, for whatever purpose."

To blacklist organizations from using open source would violate this.

If we allow developers/contributors to add conditions on who can use their code (ICE), or for what purposes it can be used (Can't be for immigration), then we establish a bad precedent. Just think of how many other passionate causes there are today. What if a conservative developer wants to prevent the DNC from using their code?

If you believe open source code is being used maliciously, then you should use the tools your society gives you to protest/shut it down rather than change the meaning of open source.