skysight-inc/HackerNews huggingface dataset:
We want to control our body weight (system output) by altering how much we eat (system input), based on measurements of our weight, so that it follows a particular trajectory.
We could simply try to calculate how much we should eat ahead of time based on this trajectory and our initial weight, and then follow this schedule without updating it based on any subsequent measurements ("open loop control"). However, this would require a very good mathematical model that can accurately predict future weight based on current weight and food intake. If we instead choose how much to eat based on continuous measurements of our weight (using feedback to achieve "closed loop control"), we can get away with using a much worse model; this is one of the key advantages of feedback.

The proposed control algorithm is simple: when eating a meal, eat a total weight of food and drink (F(t)) that is the weight you would like to be at the end of the meal (r(t+T)), minus your weight at the start of the meal (w(t)). This rule ignores metabolism, so you will fall below your target weight by the next meal, but you will eat accordingly more then.

Obviously, as the article notes, this requires that "the reference r(⋅) has to be chosen larger than w(⋅) at all times". You can see this in Figure 1: the measured mass starts below the reference, then increases up to the reference, then falls below it, then increases up to it at the end of each meal.
> Plan your exit into management, a related field, or some other job altogether. If you expect to be a coder at age 50 you're going to be disappointed.

I'd like to simultaneously disagree and agree with you. If you were a 50 year old coder 10 years ago, then your only hope of remaining in the tech industry would be to add "Manager" to your job title. If you are a 50 year old coder today, that's still a sound direction to go, but increasingly becoming less necessary. If you'll be a 50 year old coder 10 years from now...I think you'll be ok.

Yes, at 50 you almost certainly cannot crank out as much code as you can at 20, but so what? As a coder it is important to understand that most problems in technology are not solved with more code, but less. That you will generate less code at 50 should be seen as a benefit. The advantage you have at 50 over someone who is fresh and new at 20 is that you can recognize that there is very little that's happened in the last 30 years that is genuinely new.

So, if you are 20, go ahead and spend your weekends on side projects learning the latest frameworks. As you continue to do this over the years and decades, shift to focusing more on patterns. By the time you reach 50, you might only generate half as much code as your younger colleagues, but you should be able to solve problems with a quarter of the code required, still making you twice as efficient as them.

When coding was new, code was the only metric by which to measure coders, and non-technical management types would view anyone who generated less code as less valuable. If you're not writing 500 lines of code a day, the argument goes, then you should be managing coders who can. But management and problem solving are not a completely overlapping skill set. Some engineers make good managers, but most do not.

Luckily, the more technically inclined individuals that populate the ranks of company management, the more this is being recognized and the more these companies are willing to hire the 50-year-old-coder-who-codes-less-but-solves-more-problems.
Short view times (e.g. opening a video, watching X seconds of it, thinking its going to be boring, and switching away from it) actually count as a negative in terms of youtube's internal rankings

(though this is just what I remember from a pewdiepie video on the topic, I may or may not be remembering correctly)
Why does every article that bashes organic foods say they are not nutritionally superior to conventional foods?

Who cares if they aren't!? I'm not eating them because of that. I'm eating them because of less/safer pesticide use.
How microbial infections might cause Alzheimer’s disease
If phone number can't be validated, there should be other alternatives offered. It bugs me when I land in another country and the airport's WiFi hotspot wants my phone number. D'uh! It doesn't work yet until I get a local SIM, and I don't want to turn it on 'coz my operator will instantly charge for the incoming verification SMS and whatever else was queued for delivery. What about those who don't have a phone?

Please offer an alternative method. Like, allow Internet access for 2 minutes and do an email verification.
Perhaps not bulk, but dehumanised emails? I don't mind receiving "cold-calling" personal unsolicited comms, if it's specific to me. Quite often I get something interested from someone reaching out, and certainly wouldn't classify that kind of activity as spam.
When we started out, we were short on time and thought of using either whichever covers most of our target user base. Zopfli works everywhere whereas Brotli is not supported everywhere. Also, Nginx does not support Brotli out of the box and had to be compiled. Since there were some complexities as well, we went ahead with Zopfli only.

Now that we have more time, we have the luxury to setup infrastructure for serving both Zopfli and Brotli. Perhaps one of the next steps for us to make our website even faster.
You are correct the shipped game absolutely used hardware 3D acceleration .. by 1998 3D cards were quite popular, that was the early nvidia and late 3dfx era.
In theory yes; in practice, it's beyond our technological capabilities at the moment. A better alternative would be drugs. And honestly, it's our "universal culture" that's more susceptible to this failure mode.
This is bottled water. EU dictates common limits for common market. No source, it is over 10 years ago.
Famous Ghanta Ghar Chowk of Faisalabad
The article mentions microcontrollers that use 100 milliwatts as the lower end of embedded CPUs.

There are actually microcontrollers that use around 1milliwatt for very low power applications. For example the msp430. TI have a neat video of one running using power generated from grapes:

https://youtu.be/nPZISRQAQpw
I've worked with the McDonald's web team before. They do care about performance and security. I reverse engineered an undocumented (to them) protocol for a game system in order to write tests for it--which was really, super fun to watch run.

McDonald's uses 3rd parties for most of their main development work. In the case above, the developers were in Australia, while McDonald's is in US Central Time and I was in US Eastern time. When I reported problems and provided suggestions, they usually had a conference call with McDonald's, the Aussie devs, and my team within 12 hours. If it was a weekend, it was Monday night. McDonald's core team takes this very seriously.

The difference here was that I had all the right phone numbers and am known to them. I was working for a well known publically traded company, which carried weight by itself. I don't know that if I didn't have the right contacts, hadn't been to their HQ and met with the VP/IT and Director of Online, would they have taken what I said seriously?

Secondly, this was the US Christmas and New Year's holidays. They were running a skeleton crew. As Adrian Cockcroft, former lead cloud architect at Netflix, once said, the time Netflix is the most stable is Christmas and New Year's because there aren't any engineers around.

With all that, they need to take this as a wake-up call and have a security response system, even if they contract a 3rd party for that also. There must exist, or this is a nifty startup idea, 3rd party firms that go through security@company.com emails, including the reams of spam, and there should be an optionally anonymous security problem reporting form with a captcha to get information such as this to the right people.

Lastly, 12 days is extremely short under any circumstance. While I'll admit that it can be extremely frustrating to not get a response, I believe 30-days should be the minimum time before first notification and publication with details. If a security firm wants PR for finding the problem, the post that there IS a problem first and wait the full 30-days from initial contact attempts before disclosing the details.

--Donald
> but the actual downsides seem more serious

What part seems serious? That the offspring are not useful for replant? It's really not that big of a deal, honestly. I, like most farmers, don't have the equipment to prepare the seeds for replant anyway, so by the time I contract that out I may as well just buy from someone who is already in the business of selling seeds. Specialization and economies of scale won out.

It's no surprise that farmers themselves are not overly concerned about the replanting issue. It didn't happen much even before it became a legal issue. It's funny to me how the rest of the population have latched onto that topic.
>but if this is the case, a purely pedantic comment is very unlikely to do anything constructive to move the conversation forward.

Because the intent of the comment was not to further that particular conversation, but instead to critique your rhetoric.

It was not simply a pedantic comment saying "actually you're wrong because water is a chemical" it was a suggestion to use a different term.
I didn't say they cared less about sustainable farming, I said they cared less about the value of their land. Value, as in number of dollars the land can be sold for.
1. Relevant skills don't change. Your abilities to reason on problems are never becoming irrelevant.

2. New technologies are adopted, doesn't mean old ones quickly disappear. Sometimes not even slowly.

3. Area focus. If my area of expertise is networking, what do I care about VR? We can't be generalists any more than we could be 20 years ago.

4. If you feel like being a generalist, understanding & internalising (basic) principles is more important than being familiar with specific technologies

5. Critical, transversal thinking. You can weed out heaps of new technologies by understanding _how_ they fit in a system and the tradeoffs they require, before you have to become intimately familiar with them. Base your approach on tangible end-to-end measurements to understand how technologies might fit in a system, and after that you'll have to keep up with a lot less than the various FOTM
As someone who has already paid the cost for learning Tcl[1], I find trying to migrate to Python equally daunting.

[1] a man month of "homework", about a college semester's worth.

At least the way I learned Tcl was through the use of a paper copy of the Brent Welch book. There aren't that many generic patterns you have to learn before it starts being productive, though.
>What is the human cost, for example, of boys and girls not being inspired by daring feats accomplished at the edge of possible?

People deciding to sit at home, live sensibly, and peacefully for a chance?
And I am a bad human being for caring more about the features than their work culture?
Electric motors in a garage or storage room (e.g. for a heating system) might be a source of ozone, or sunlight on oils and solvents. The storage itself isn't the problem, it's the higher-than-average level of ozone in typical places rarely used bicycles might be stored.

https://en.wikipedia.org/wiki/Ozone_cracking
Name two examples of sustainable ranching. In the USA.

If it's hypothetically possible, surely someone somewhere is doing it.

What I like to call an existence proof.
8 Essential Bug Reporting Skills Every QA Agent Should Have
Battery chickens.
There was an octopus, Inky, who escaped from an aquarium by jumping out of his tank and sliding down a small diameter drainpipe to the sea at night.

I always wondered if he knew (or at least had an idea) where the drainpipe went and if he did how.
The Build2 TestScript language for running tests
What they will all admit one day is that there are too many people and not enough resources. Till then they will create songs and dances that wont fix the problem at all. It is a hard pill to swallow for humanity.
A History about Gtk+, Vulkan and Wayland
Interesting, where in Berlin ? I think Google Ventures has some kind of presence at the Factory already.
Just to add to the other answer, which stresses that French farmers are just as productive, the reason EU farmers and their US farmer counterparts get subsidies is geostrategic: if for some reason you end up at war with your food partners, the last thing you want is a starving population. If, overnight, farmers need to start producing twice as much, you want to make sure that it's a possibility.

(And yes, it's also soft power when dealing with developing countries.)
> As a coder it is important to understand that most problems in technology are not solved with more code, but less. That you will generate less code at 50 should be seen as a benefit.

This is precisely my argument as a generalist.

I may not write code as fast or even as elegantly as I once did, but I'm much, much better at "seeing around corners" to avoid problems, and I'm much more likely to "build the right thing" due to my very broad but not deep technical base. I do not fall into the trap of "when all you have is a hammer everything looks like a nail."

> there is very little that's happened in the last 30 years that is genuinely new

This is true, but try to convince your 20something peer group of it. They are all convinced that their technical skills are revolutionary.

I studied waterfall systems engineering in 1998. But at the same time they also taught "RAD" iterative waterfall, or the precursor to Agile. I ran with RAD, and made it mine, so I've been doing something very similar to "Agile" for two decades. However, I still think that Gannt charts and top-down planning have value.

Showing that shit to the wrong 20something developer is a great way to be excommunicated.
Yes, I do. Forcing upgrades is just another way to force sales, and that's competition. Churn happens.

The old laptop is just the most convenient sort of virtual machine. At some point it'll be easier to run a virtual time capsule laptop… however, the physical time capsule laptop is from a time before intense spyware, so there are security issues as well.

As far as niches, Airwindows doesn't market at all. It's only word of mouth, for ten years, with few exceptions (notably, Console2 got reviewed in Tape Op, a trade magazine). This is personal: I loathe getting harassed by marketers so much that I won't even email, much less advertise. I collected a list of the 'Kagi generation' customers who specifically said they wanted to be on a mailing list and hear from me that way. And then I haven't emailed anything to them for months and months :) So, effectively, my business is 'for people who hate marketing so much that they want to do business with someone who will absolutely leave them alone and not bug them'.

By definition this is a niche to starve in, but it's sincere. I really do hate most everything about marketing, so I simply will not do it. Sometimes when I have a notable post or product I leave out the patreon link on purpose :)
Living in Berlin I'd guess that people are protesting about the gentrification.
Thank you very much, I really appreciate this.
cool concept, glad to see some authentication. you can add 127.0.0.1: to the dt_socket address so the jdwp listener only listens locally as well:

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:5005 -jar foo.jar
Feature startup projects
Well it depends on what you call 'sustainable'. I use a pretty common definition, roughly 'can in this way, without using non-renewable, external energy sources, a population be fed'. If I'm reading you correctly, you're using a definition of 'can this particular plot be sustained as a home garden without external inputs'; well yes, it probably (maybe) can. What my definition adds is 'can the whole population be fed this way'; and no, home-scale agriculture can't do that, in the aggregate (maybe in one village, or a rural(ish) part of a developing country somewhere; I don't care for specific case studies, I'm talking about the aggregate).

If some people can feed themselves off their own land, while relying on (many) others in the rest of society to produce stuff and infrastructure etc. who need large-scale agriculture to sustain themselves, I argue that those few aren't being 'sustainable' - just ignorant of their reliance on infrastructure provided by others who produce more efficiently.
And a metaphor isn't the thing it is used to convey. So?
I'm surprised I need to. Here's one I found in ten seconds of searching.

http://extension.psu.edu/pests/pesticide-education/applicato...
> Implementing crypto primitives in an interpreted language is full of hazards for side channel attacks - being constant time is just the first step. Cache behavior, branch predictor attacks, etc are also important. And all of the above applies to native code crypto too. When you add an interpreter on top, a ton of new side channels are introduced.

These are the sort of things I'm hoping can be addressed in the planned third-party audit: https://github.com/paragonie/sodium_compat/issues/8

If it turns out that this project is helplessly insecure and there's no way to make it reasonably secure, I'm never tagging v1.0.0. Dead stop.

> The motivation for this project seems to be "not every PHP programmer can install native libs on their $5 hosting platform", which IMO is a pretty poor justification for a new crypto library. Feel free to disagree on this.

I'm specifically more concerned with the second-order effect of what you've described; namely, PHP projects can't require ext/libsodium because they can't expect everyone to easily install it.

I want to get everyone off mcrypt, unauthenticated AES-CBC, RSA encryption with PKCS1v1.5 padding, etc. I'd like to get Ed25519 signature verification built into automatic updates throughout the entire ecosystem. Sodium_compat was the only reasonable strategy to accomplish these goals, given real-world constraints.

> Good thing is that this library will use native libsodium if available, so hopefully the impact of side channels in this isn't that great.

I'm hoping there aren't any, but if there are, that installing the PHP extension mitigates them entirely. It'll make it easier to convince $5 hosting platforms to install the extension. :)
Various ways to help move GIMP forward: https://www.gimp.org/develop/

I would add to that list the following activities not requiring programming knowledge:

- triage incoming bug reports and close obsolete ones

- learn the build process and recruit new developers

- form a design team
hint: it's you
Developing Countries Are Net-Creditors to the Rest of the World [pdf]
But you need to be prepared to seize opportunities that are congruent with your aspirations; in fact sometimes you need to make these opportunities happen.

Planning therefore is important, but because so many things in between happen, your plan should consist of a far reaching vision so as to allow you to learn along the way, including taking paths that may end up in temporary setbacks. If you don't fail, you don't learn.
Here's the thing: "normal users" looking for a free-of-charge alternative to commercial apps are not the typical target audience of open source productivity tools. They're primarily targetted to scratch the authors' own itch, and secondarily to benefit anyone who finds it useful in the hopes of more contributions.

Average Joes (nor non-contributing professional artists/photographers) are typically not beneficial to these projects, at worst they are a hindrance: tons of help requests (in the bug tracker), low effort bug reports, requests for Windows/OSX binaries (without offering to help in maintenance), etc. You can find some ugly examples if you look into bug trackers / mailing lists of some of these projects.

We can only hope that a benevolent philanthropist comes by and drops a few million dollars in to getting full time, paid developers into GIMP, Blender, Inkscape and all the other open source productivity tools but until that happens it's a mostly volunteer effort and the contributors can choose what to focus on.

If Photoshop suits you, great. I've managed to do all my image editing in GIMP for the past 20 years and I'm very glad the project exists.
Health services in Sweden is going down hill fast, I've heard. Money issues. They are trying to save money wherever they can. The recent sudden influx of foreigners didn't help. They say Sweden couldn't really afford taking in any foreigners but did it anyway. Sweden shooting itself in the foot. It sounds like.

Perhaps someone can give a recent update on this?
This seems like the true approach.
Right, my only quibble with your previous comment was the notion that being 50 in tech means migrating to a management role. I think that advice is slowly (hopefully) becoming outdated as there is more recognition that software engineers have more value than just the SLOC/day they produce.
github gists
Metropolis – A Modern LaTeX Beamer Theme
"Really no. Conventional farmers can quickly boost the fertility of their soil by adding some quick-fix nutrients."

Maybe in the UK, but definitely not here in Saskatchewan. Once soil has been destroyed through tillage, it takes a good decade of rehabilitation to make the soil viable again. Lost organic matter can't be replaced with a chemical fertilizer.
Did Pixar accidentally delete Toy Story 2 during production? (2012)
I wonder: what's the point of a ranking like this?

It's got China wedged between Canada and Poland. On the one hand, on average this is probably correct: there are vast swathes of inland China that are undoubtedly quite stultifying and wouldn't rank highly on any "innovation" metric. On the hand, if you're interested in this kind of innovation, then what does rural China have to do with anything? The innovations happening in Shanghai and Beijing and Shenzhen and Chengdu are very innovative indeed, and ought to rank near the top of any global list. Certainly much higher than anything you could find in Poland or Canada (meaning no disrespect).

I'd suggest that it's problematic for a ranking like this to even be based on countries. Countries, per se, don't produce innovation: urban economies do. A ranking of innovative cities would be a much more interesting and realistic metric.
Show HN: Julia and MySQL Integration Template for AnyChart JavaScript – Data Visualization
>Of course there are a couple of behemoths such as FB who don't seem to be going anywhere anytime soon

Keep in mind Facebook is, what, 12 years old? Popular for 8 or 9 years? It is still a baby itself. Would anyone be shocked if it was a shadow of today's version in another 12 years?
> because the market would force them to.

The market here is heavily influenced by government policies. Both American and European farmers have subsidies that apply if they grow their food in a certain way. Organic food in particular tend to have less subsidies. I suggest we manipulate the market differently. Or less. I don't know.

> The question is now: how do we scale this up,

That's the hard part. Going organic/permaculture/what have you needs a transition period. Reviving a dead soil takes 3 years, during which you don't do much —if at all. After that, you still need 12 years before the chemical residues disperse enough for your food to really count as "organic". And hardest of all, even if we manage to have the same or better yields per unit of surface (which I fully believe is possible), those new methods are likely to require more labour. We need more farmers, and we need them soon.
In the long term there's just the heat death of the universe and extinction.