My home server is connected to my TV, so I can have a fully functional desktop environment when watching media. Probably the most useful thing on it is a little Arduino that's hooked up to a Django REST API that I can use to control my TV (lost the remote years ago).
Also the server itself is my ancient T530, which is still quite snappy on Arch!
When you get a certain level of academic inertia (tons of postdocs under you etc), you get author credit even when you don't actively participate in the research or writing itself. What's more interesting is how many first author papers are published per year, per author. First author is typically reserved for someone who did a significant amount of the work on the paper.
As a diabetes researcher, results like this don't surprise me one bit, but I'm glad they're getting national coverage! A publication in Nature is an incredible achievement, congrats to the teams involved.
We think good glucose control is at the center of a whole host of medical issues, inside and outside the hospital. Bringing critically ill patients under control has been found to reduce mortality rates by up to 30%, results which have been repeated several times in thousands of patients. These drugs, which are less intense than insulin therapy, confer similar glucoregulatory effects, which has all sorts of cascading hormone benefits etc.
Whenever I want a lamba that's multiline, I usually just declare a nested function. Usually pretty clear, and reusable, and same scope rules as a lamba
This is just a guess, but it's possible that surveyors are so used to measurements in ft that the existing tools mostly use ft (like the GPS in the video), so completely deprecating it might leave surveyors without the tools they need to do their jobs.
In recent conversations i’ve had, plenty of surveyors are just plain old stuck in their ways and simply won’t change.
It’s a market we’re trying to break into, and coming from a European perspective it’s maddening, trying to build simpler apps is complicated enough when dealing with coordinate systems without the addition of multiple definitions of feet and trying to make sure the right one is selected by the user is especially important when dealing with cm accurate products
I'm sure any released in the last 10 years would, definitely. But don't forget that there are probably tons of underfunded rural outfits that are using old tech/out of support software etc. Meeting in the middle is going to make sure they don't get left behind.
If you check out models/openai_model.py, you'll see it's using text-curie-001, among others, which is an OpenAI dataset. This model is imported in main.py under the name 'Model', which makes me believes the openAI API is serving as the main model used for inference
So I actually have it set to use both the text-davinci-003 and text-curie-001 models. If you’re on low usage mode, that’s when the curie model will be used :)
I recently converted some generation code to use a plan, so you can make a plan and then execute the plan. Architecting your code this way gives you things like dry runs and rollbacks for free; I feel like diff storage is in a similar realm of usefulness.
In my experience, the limitations imposed by the borrow checker actually make you express your ideas more clearly. In this way, you might be fighting the compiler, but when your code does compile, it usually does what you wanted it to (and is also designed in a much better way, since you're forced not to take the easy way to the finish line).
> This allows any sudoers user to obtain full root privileges
The way most sudoers files are set up, if you're in the wheel or sudo group, you're only a "sudo -i" from a root command prompt, so I'm not sure I see why this is a vulnerability. Can anyone elaborate?
It would be great if the kernel itself provided a header only definition of such a format, so you could focus on the data and not the parsing. Would also be able to integrate into their extensive testing infrastructure.
Realistically it could stay mostly as-is, some text values with separators, just define exactly how to quote stuff and what the separator.
Then you could just have "load a single value" function that does the unquoting, "load K/V" function for stuff like /proc/meminfo, and "load table" for stuff like /proc/<pid>/stat. Maybe "load records" for stuff like /proc/net/nf_conntrack which is essentially list of KV pairs.
Also the server itself is my ancient T530, which is still quite snappy on Arch!
Here's the remote code, for anyone interested: https://github.com/ijustlovemath/arduino-remote