skysight-inc/HackerNews huggingface dataset:
People say this every time anything related to k8s gets posted and I always wonder who it’s addressed to. The system doesn’t actually have to be that complex for kubernetes to be useful and kubernetes isn’t that hard to run. We’re in the process of switching from ecs to kubernetes and while it’s not an easy thing to make ready for production, it enables so much that wouldn’t even be possible with ecs.

To me this advice is only useful for tiny startups running a handful of web servers.
Unreal, not Unity. Making a game.
Ask HN: Algorithm for Calculating Contour of Polygons
This is something that's central to PCB manufacture and surface mount soldering.

Given:

+------+
| |
| /|--------+
| / | |
| | | |
| \ | |
| \|--------+
| |
+------+

The output would be:

+------+
| |
| +--------+
| |
| |
| |
| +--------+
| |
+------+

Where in general we can have lines, circles, ovals, and so on.

Now there are algorithms for extracting the contour if the input shapes are limited to rectangles. The goal is to generalize to arbitrary shapes.

Quadtrees + intersection + inside/outside polygon computation could help. I've also read about the marching squares algo but that looks like it works on bit maps.
Google Cloud Run, AWS Fargate, Google App Engine, Heroku etc. are comparable experiences to Kubernetes if you have the flexibility of (1) running on cloud (2) not having to configure host OS or rely on host GPUs etc.

Disclaimer: I work at Google Cloud Run.
treesnetwork.com still exists
They care about they revenue they get by making people buy the hardware that gives them access to the developer program.
If you want to get into the habit of sleep tracking before you buy something expensive and you have an Android phone, this is worth checking out:

https://sleep.urbandroid.org/

Sleep for Android has some problems, but it has a free-tier and is easy to start using.

For better sleep tracking, there are some mattress cover devices, which will help with the leg movement problem a bit better than SoA can. The most common one afaik is Eight:

https://www.eightsleep.com/
Sadly, I think you are absolutely correct.
The U.K. MOD has BANNED zoom what do they know
> Which is obviously not constant time, and will leak information through cache/timing sidechannels.

This confuses me. Why is it in the kernel if it's not constant time? Isn't that a security risk? (Is there any context where it would be safe to invoke this?)
https://metro.co.uk/2020/03/25/concern-zoom-video-conferenci...
Then wouldn't it be appropriate to offer a native app to offer that functionality? A web browser in 2020 is a place to run vast swathes of untrusted code safely; it is not a digital workstation platform, that is the job of the OS. If what I am downloading from you is important enough that I want to have it even offline, then I trust you enough to install your native app.
If you’re only there to watch and listen you’re doing it wrong. It’ll be faster, cheaper, and more effective watching videos offline.

Conferences are for networking and interacting with like minded people. It’s for asking questions that are not part of the presentation, learning about something interesting someone is doing that’s not in some slides, or just bouncing off your own crazy ideas on a new audience.
Does anyone know what the picture is like on FreeBSD? Is it faster?
Ambulance Car
CIA's Predecessor to the SR-71 Blackbird Tested Electron Guns to Hide from Radar
https://news.ycombinator.com/item?id=22688861
"Two minutes past twelve."

The problem with stuff like this is that most people have no knowledge about the dangers of exponential growth.

It only takes an hour, but it's the most valuable use of an hour of your lifetime to watch Prof. Bartlett's talk on exponential growth in 'Arithmetic, Population and Energy': https://www.youtube.com/watch?v=O133ppiVnWY
This.

Thousands/millions out of work may (or may not) experience morbid effects. They will have a harder time participating in the buy side of the economy and driving demand, and also represent missing productivity. That's nothing to sneeze at.

But thousands/millions dead are guaranteed morbid effects. And dead people are even harder to get back into the demand side of the economy (or productivity) than jobless people.

Also near the peak of an unconstrained pandemic... what should we think people's improvised reactions will look like? Business as usual, no economic impact?

The best way to not have an economic impact was not to have an uncontained epidemic we weren't prepared for. We kinda missed that step. Why would we have a choice not to have serious economic impacts at this point?
We Need Masks4all
All Covid countries show rapid declines by day 25
This is cumbersome, but click on this link, then click on comments, and find the last comment - starts with Cynthia Gong. Links inside to models
https://annals.org/aim/fullarticle/2762808/incubation-period-coronavirus-disease-2019-covid-19-from-publicly-reported
Ford partners with 3M to make respirators, ventilators and face shields
I mean, sure, the bookmark would save a snapshot, but the user would have to manually replace it every time.

Might be simpler to just give them a file to save / load.
Yes! Swift 5.3 is planned to introduce official Windows support, led by Saleem Abdulrasool who has done a bunch of work on it.

https://swift.org/blog/5-3-release-process/
Yes, there is, you can find all clients on this documentation page: https://docs.meilisearch.com/resources/sdks.html

Note that we are reworking the js library and there will probably be React integration too!
noise pollution does not seem to have occurred to the writer
> the fact the fatality rate goes up drastically if the medical system fails

We all assume that this is so (and I hope it is), but this is not completely clear. It might be that for covid-19, help from the medical system doesn't matter much, given our current state of medical knowledge and care. And iatrogenic harm cannot be discounted. Certainly we cannot ethically run the experiment.

As a single anecdatum, there was a (BBC?) piece on a hospital in the worst Italian region, showing a number of people on ventilators. The narrator explained that the staff was demoralized by the fact that everyone they had put on a ventilator died anyway.
Really cool! Growing up, my friends and I spend many nights self queuing or on similar sites. Out of curiosity, what's your stack? Also, are there any plans for open source?
PopSQL (YC S19) is hiring a software engineer to own our Rails backend
No, I've done this with my mask (n95, same one I use for wood working) four times now and it appears to be fine.
I think you missed the "requires Apple hardware". I know that rich Americans think everyone has Macbooks, but that is not the case.
> I have to sit through hours of stuff I don't care about to find the nuggets that are useful.

> This is NOT confined to software conferences.

It's not confined to anything. This is a problem any time you want knowledge of any kind. Nobody in the past wrote a book thinking of you specifically having whatever problem in the future.

Consider Ben Waggoner's answer here: https://www.quora.com/What-is-the-equivalent-of-the-names-of...

Imagine the question is "what were the Norse constellations?" (It's not the question originally asked, but it is the question being answered.) This is the type of thing that might have been formally documented. But if it was, all such documentation was lost. Instead, the knowledge is distributed through every cultural artifact ever produced by the Norse:

> Here's the thing. We do have some astronomical manuscripts written in Iceland, in Old Icelandic. However, they're translations of Greek or Latin works

> Most of these are found in Icelandic treatises on computus, the medieval art of reckoning the calendar and determining the dates of Christian holy days; these also contain some astronomical lore. But they're not useful guides to what the pre-Christian, pre-book culture Norse would have thought about the stars.

> Most of the constellation names are direct translations of the Latin names. Aquarius is Vatnkarl (“water-man”), Pisces is Fiskarnir (“the fish”)

> Some of the texts refer to constellations that I don't think are even visible from Iceland, such as Centaurus and Ara, so clearly they're not "native Norse" texts.

> And yet. . . every so often, one of these translations will slip something in that's not in the original.

>> Andromeda, daughter of Cepheus, wife of Perseus, sits in the Milk Ring [Milky Way], there where we say "wolf's jaws", in between Pisces and Cassiopeia and Aries

> And boom, there's a constellation name that has nothing to do with Greek mythology: in normalized spelling, úlfs kjöptr, "wolf's mouth" or "wolf's jaws."

If you want to answer this simple question ("What were the Norse constellations?"), you need to read... everything. We got lucky in this astronomical treatise -- it included information that wasn't supposed to be there. Epic poetry isn't unlikely to make some kind of reference to the stars. Maybe we could tease something out of a folk song. Maybe there's a picture somewhere with a caption on it. Maybe there's an ancient anthropological study of the Norse by some other culture, that happens to mention a constellation of theirs.

Everything is like this. Try studying any language independently and then sitting in on a class. It will either be mostly stuff you already knew, with stuff you didn't know scattered randomly through, or it will be mostly stuff you didn't know, with stuff you learned long ago scattered randomly through, presented as new and challenging. It probably is new and challenging -- to the students in the class, who have been through a curriculum designed to lead them to this one.

There is no way to make the world give you only information that you think is relevant, because "information you think is relevant" is a concept that only exists in your mind.
Yes, however Unity gets big support from Google, Nintendo, Microsoft as well, for their platforms.

https://developer.nintendo.com/tools

https://docs.microsoft.com/en-us/windows/mixed-reality/unity...

https://stadia.dev/blog/unity-production-ready-support-for-s...

https://developer.android.com/games/develop/build-in-unity
Can you give a few examples of paid-for PWAs? Sure there are websites that are paid-for, but I've never seen a paid-for PWA.
Wohoo! That was a ton of fun! (Even though I should've been writing...)

That was great, does anyone have any similar recommendations? I've done paperclip maximizer, but that was more of a clicker than anything else. But something of a similar nature?
Better CSRF Protection with HMAC Tokens
I think I gave quite some details. Do you need the exact AdoptOpenJDK version (11.0.5+10 for macOS)?

And I made a test about the non-global rules too (by trying to submit the same binary and getting rejected).
Does cloud run or fargate have an equivalent to a statefulset? Persistent storage and the ability to talk to a specific node/instance?
are you open to EU candidates remote? Whats the best email to get in touch?
Currently we think this kind of security can be enabled by a simple nginx setup, allowing autorefesh of certificates easily (e.g. certbot). But in the future we will probably handle that in the engine itself.
So this is a requirement that all webapps phone home, moreover that they have a home to phone?
Not sure why this disclaimer has to be posted every time there's a discussion on K8s. It is a tool, if you need to use it, do use it. If not, don't.

Although I would argue that you need to know what trade offs you are making if you have the right use-case (multiple containers you need to orchestrate, preferably across multiple machines) and you are not using it or a similar tool. There are lots of best-practices and features you get out of the box, that you would have to implement yourself.

You get:

* Deployments and updates (rolling if you so wish)

* Secret management

* Configuration management

* Health Checks

* Load balancing

* Resource limits

* Logging

And so on(not even going into stateful here), but you get the picture. Whatever you don't get out of the box, you can easily add. Want Prometheus? That's an easy helm install away.

Almost every system starts out by being 'simple'. The question is, it going to _stay_ simple? If so, sure, you can docker run your container and forget about it.
Not a user myself. My wife loves her Oura ring. Super comfortable, with the caveat that it doesn't come in ring half-sizes. My college-age kid uses an older FitBit for sleep tracking and is happy with that.

I have no insight as to whether the Oura ring is going to give you restless-leg data directly or indirectly, but it is extremely reliable for recording other sleep disturbances in my wife's experience.
Yes, the best engine in that regard is PlayCanvas,

https://playcanvas.com/
This is a logical fallacy called appeal to authority. There is no resume that magically makes the stuff you are saying true. It's bizarre that you would say something like that, as if you don't want to explain or walk back what you are saying and think that you can just state that you are an authority.
I've enjoyed learning K8s for my not massive nor complex personal workload.

It's running and is more hands off than without it. I'm using a managed digital ocean cluster. I no longer have to worry about patching the OS as it's all handled for me. I also don't have to worry about having a server with a bunch of specialized packages installed, although I suppose only using containers could have gotten me that far.

I haven't had a ton of headaches. So, I guess people's experiences may differ.

It's interesting to me that K8s always draws out the "you probably don't need it" comments.
AWS SAM has been great for running rust in AWS Lambda + API Gateway and for managing tables in DynamoDB.
Yes, and that's fine with me. Being on an iPhone, I use the built-in cloud-backed password manager which makes generating and entering credentials near-effortless. Furthermore, by not leaving long-lived tokens in my browser's storage, I'm less vulnerable to exploits that may exfiltrate that data.
When I think about k8s complexity, I can only understand this argument if I'm the one dealing with the infrastructure required. If I have to install k8s in my servers, then I'll probably need to think hard about security, certificates, hardware failures, monitoring, alerting, etc. It's a lot of work.

However, if I use a managed k8s service, I probably don't have to think about any of that. I can focus on the metrics of my application, and not the cluster itself. At least, that's how I think it should work. I haven't used k8s in a while.
Nice blog post from Greenspun, convincing and well-documented. He promises one interesting idea every three months and this is one of them. Well done!
Show HN: Video Call Bingo
Why not just put this in the compiler like every other compiler in existence?
This is equal to saying “I’m ok with Apple having a censorship monopoly of what an iPhone can run”. I don’t think the majority of people here would agree with that. I also don’t think users buying a device that is supposed to support web apps would be happy to find out that in fact it doesn’t. I’m one of those very unhappy users.
Git supports read-only, static HTTP cloning using nothing but "GET" requests on a bare Git repository. IOW, you don't need a CGI program or special request processor to serve a Git repository over HTTP. All you need to do is 1) make the bare Git repository visible under your web server's document root the same as-if you were serving .gif or .js files, and 2) maintain a special index after every commit using `git --bare update-server-info`, which I invoke from a post-receive hook.[1]

Because of this, you don't even need a CGI program for a web UI. Theoretically, it could all be done from client-side JavaScript. I've been wanting to write a PoC, but it's deep in my side-project backlog.

Why bother? Because a read-only, static Git mirror is more secure--there's no server software (other than a basic web server) that can be exploited. And nothing is always easier to maintain than something.

You still need SSH (or a git:// daemon) for write access, unless the entire environment is just for read-only cloning. But SSH access is presumably something already setup and used by the core contributors. (Probably shell access, too, but SSH logins can always be forced to invoke git.)

IMO, static, read-only HTTP cloning is a killer feature of Git which AFAIK cannot be matched by CVS, Subversion, Mercurial, or Fossil, at least not out-of-the-box.

[1] From a hook on the read-write, master repository outside the web server sandbox.
An Alcoholic’s Savior: God, Belladonna or Both? (2010)
Cowen wrote a book called "Big business: A Love Letter to an American Anti-Hero". A lot of academics try to set themselves up on one side of a contentious debate to gain notoriety. Lucian Bebchuck is a good example. Its the equivalent of academic flame war.
The Subtle Power of Booleans: Programming with truth and statefulness
If "String theory" is a framework, it shouldn't be called "String theory" but something like "String Computation Model" or "String Mathematics". The current name make it looks like quantum mechanics or relativity theory.
Show HN: Retirement Calculator/Simulator
Find stuff in a Unity project with grep
There is one more advantage vs ECS: there is no longer any lock-in. You can have more capabilities, using standard solutions that work anywhere you want.
Yes, I actually helped make a clone of it for my final college project.

Since then the cocnept has sort of died. I'm a little surprised it's not something that Spotify did more with. I know they have a colistening feature but I have yet to have anyone want to attempt that. As far as I can tell you need to link up by Facebook to even attempt that.
Install an antivirus for your phone. Problem solved?
Great to see a lot of ideas and competition in this space. Another shameless plug for my team's app: https://www.joyapp.com.

High level benefits vs MFP and the other household names:

- Once you learn the ropes, it's an order of magnitude faster to add entries. It was designed to be opened for as little as possible each day.

- Very flexible with regards to dieting. Works just as well for people who want to gain or maintain weight. Low carb and intermittent fasting is also very easy to use with this app.

- Also, there are no community-entered foods. This is a feature in most cases. All the food is either from a professionally curated database (Nutritionix) or custom foods you enter.

- Tracking works all the way down to the micronutrient level, like potassium, vitamins. etc. If you're into that.

- No ads whatsoever. And we don't sell your data. Privacy is very important to us. You're not the product, we sell a product to you.

Another commenter mentioned corrections: this is built into Joy. Even FDA/Nutritionix items can be wrong/outdated. It's rare, but it happens. Or you want to track them differently. This is a single click away.

For the record: I did look at using Open Food Facts as the backing database a couple of years ago. And gave it a recent look again. But compared to the FDA database (for generic foods) and Nutritionix, it was way behind. I do want to explore ways to help the project.
Hi everyone -- I've been working on this for a while in my free time. It's not 'feature complete' yet, but I'm eager to get some feedback.

It's basically a monte carlo simulation based on market characteristics (correlation, volatility, etc.). The 'killer feature' is that it can accurately account for granular cash flows throughout a person's life. For example, selling or buying a house, receiving an inheritance, a
recurring salary, social security, etc.

This page has some more info about how to use it, and how it works: https://lunchmodel.com/learn-more. I'm happy to answer whatever questions you have, too.

Try it out, and let me know what you think. It's running on a small server, so hopefully it doesn't get too popular :).

One important note is that the form's state is saved in your browser's localstorage, which means you can leave and come back. If you want to delete this data, you can click the 'reset' button at the bottom.

Some features I'd like to add are:

- How would I have performed in XXXX period?

- Save and Load state

- Some nominal registration fee ($2? What would you pay? Anything?) to unlock the 'advanced features'

- What did Equity/Bond performance look like in the 99th and 1st percentile simulations?
>Or maybe this reflects a trait of all Americans: maybe partisanship before sense

In Democracy for Realists by Christopher H. Achen and Larry Bartels they make a strong case backed by data that political identity is not, as commonly assumed, the result of rational deliberation from the bottom up but rather rationalisation of political opinions as they're broadcasted by leaders/opinionmakers.

So Republicans that formerly believed in climate change will quickly change their opinion if the president changes their opinion (in fact belief in climate change even negatively correlates with education among Republicans), and people will adopt political positions of their opponents if they're framed as belonging to their own camp.

This can and does happen in other countries, but the US has particularly few guardrails to stop these effects. US politics is highly personalised, presidents and politicians are treated like celebrities. Primaries and the general political process is open, hearings are broadcasted rather than private, and thus everything turns into a media spectacle. Speech is unregulated, news organisations have no commitment to neutrality, and so on.
One of the best solutions out there.
Hey, this happened to me today at 9:30AM. I’d lined up an absolutely dreamy UX Research internship with an incredible Chicago company — smart coworkers, awesome office, rigorous interview process, the whole 9 yards. Then my phone rang and everything evaporated due to forces beyond my control. I spent an hour sitting on the floor wanting to throw my laptop through the window before I counted the ways I’m lucky and made pancakes. Today has been terrible but I’ll be ok. I did it once, I can do it again :)
That's really interesting. Was indeed in a need of one since a long time.

Already subscribed now and excited to review few emails and their content. Thank you for starting and maintaining something like this.
It was a javascript-like language called UnityScript, that actually compiled to IL, and had a lot of C#/CLR features tacked on top. It was fairly unused, and kinda cursed to boot.

Unity also had another language called Boo, which was fake Python which also compiled to the CLR, and we're happy that's dead too.

There's some packages like MoonSharp which will let you write Lua for Unity (modulo some bindings), and a few visual scripting tools too. There's also going to be a native visual scripting tool coming out in the next year or so.
That's like asking why people store files on disks when they could store everything in the cloud.
Well, happily (?) it appears to be a lie...and I fell for it. Thanks for challenging it. Made me look further.

https://www.redaccionmedica.com/virico/noticias/coronavirus-...
Dalton is a sage. Listen to him.
using that c920s. works perfectly
Let's say you use an app that allows you to add Todos. You've added 30 Todos. No internet needed, it's always just worked. You go on vacation for 10 days. You get back, you open your app. No Todos...all gone. Very simple use case that is now broken.

Yes, you as the user could wipe those out. But now Apple is doing it just because you didn't use it in 7 days. And the user will not blame Apple, they won't even know Apple did that. They will blame the app developer, who in the interest of privacy didn't want to push your personal Todos to a database online.

Again, just a contrived example, please don't go down the road of why a server should have been used. Let's stick to the use case described.
Try Mine Defense, Candy Box, Candy Box 2, and A Firelit room. Of those Id say Candy Box is the least click-heavy.