skysight-inc/HackerNews huggingface dataset:
>But the best-case percentage improvement in the overall company bottom line due to his innovations as a fork lift driver is still very, very small

Depends on whether you count sharing his "this is a better way to use a fork-lift" around the company as best-practice as being due to his innovation or due to the manager who made it best practice.

If you count that as his innovation, then it isn't small if there are a lot of other people doing his job. If Amazon could use fork-lifts in their warehouses 10% more efficiently, they'd save an enormous amount of money.
Yes, but that comes with a pretty heavy asterisk - driver salaries are not included in the cap for example (which will be extremely significant for the top teams), nor is marketing. Still, I think it's a step in the right direction for the sport - having a cost cap in place now lays the groundwork for tighter restrictions in the future.
I love that this is an emotionally moving story with citations.

In particular, I was initially skeptical about the loss of blue skies - that came from this article: https://www.scientificamerican.com/article/geoengineering-co...
Copy methods are in the works, and Java's pattern matching will be better than Kotlin's.
Perhaps this discussion could be a opportunity to use the wording in a neutral fashion, letting yourself be okay with consciously and honestly using it, fighting against that looming feeling of unease?

That is, if your issue with this wording is only that it's subjectively, personally unpleasant to you for inner reasons, and not that you see it as actively harmful.
Hi,

thanks for the kind words.

You are right that a geocoder is only as good as the data available to it. Happily OSM is great for many use cases and getting better literally every day.

Whether it is good enough now for your use case will depend ... on your use case. Not everyone needs comprehensive house numbering in Getafe. Until the local OSM community decides to add those numbers we do the best we can for the use cases where open data is a viable option today. As an aside, I am not sure the catastro qualifies as "open" data (even if it may be public), and even if so, as you correctly note, someone with local familiarity for all the abbreviations and common usages will need to help with adding it. Local knowledge is key.

re: "Place de Gaulle", of the top of my head I couldn't say, I would have to a detailed look. It's complicated, which is what makes geo fun.
> websites ranking other websites

I can imagine how competitors are going to rank each other.

Everything is about reputation and trust. If reputation is solved then many other problems become easy.
It resulted in a prototype that apparently cost $50 per unit, but no retail product yet.

https://en.wikipedia.org/wiki/Mosquito_laser
Warren Buffett and Bill Gates say they should be paying more taxes.
Static analysis tools and subsets like MISRA C.
i like it. been wanting to see a simple to use benchmarking tool like this, and to be honest, in the standard library itself, but a third library is cool too. bookmarked!

would be nice to see a comparison feature. something similar to how go does benchmark comparison.

what's a justfile? it looks like a makefile.
Yes, and it works quite well. I think it works well because zigs async requires you to think what is actually going on with the data structures at the low level (you have to understand what a frame is, that's a "new" low level construct on the level of "pointer" or "function"), once you get that and understand the control flow it is quite easy to see what's happening.
Arrgh ... never give a sucker politician an even break. RTP is a fine place to put this project, good enough in fact that the state doesn't have to bribe them to do it.

This tax-break-if-you-locate-here thing is a longstanding scam against politicians by companies.

https://www.nbcnews.com/business/business-news/corporate-tax...

These tax incentives should be structured as follows:

1. Do your payroll and pay your payroll taxes (FICA, Federal and State unemployment, whatever).

2. Submit your payroll tax receipts to the state incentive operation.

3. Get a rebate of some percentage of that payroll tax.

In other words, no tax-break payments until people get actually paid.

This incentivizes the company to do what the state wants: employ people in good jobs. If the company gets a "better offer" from some other place and moves, then the state doesn't get completely screwed over.
Seems like you can't win. If you stay in bay area you get accused of concentrating wealth in the bay area and not spreading it. If you move to other areas you get accused of gentrifying the area and pushing poor people out.
Your site hijacks the back button, just FYI.
More than that, they use 4 different styluses and let you choose which one you think sounds best for a particular record.

I think it's kind of sad that this is a purely volunteer effort and not an official effort of the Library of Congress.
Historic vs future trends.
I do not think this story matches the headline.
Ask HN: What interesting pieces of code/architecture have you observed?
What example of programming or hardware design did you find remarkable/memorable/etc. for all the right (or even wrong) reasons?
Are the python bindings part of core, or are they third party?

Either way I should probably close https://github.com/libfive/libfive/issues/206 ?

Surprised to be hearing about this here instead of via that issue closing :p
Sure in Java you never have this question of structural vs nominal typing. It's all nominal.
Definitely worth checking out :). At some point, they bit the bullet and included a programming language inside[0].

https://plantuml.com/preprocessing

It's enough to make it easy to organize common chart elements into libraries, and even create some DSL here and there - the latter being helpful if you're using PlantUML for note taking or in lieu of doodling :).

For instance, I got a very good mileage out of "trivial" definitions like:

!procedure call($source, $target, $call)
$source -> $target: $call
activate $target
!endprocedure

Forming a mini-DSL that let me turn notes like:

call("Someone", "SomeoneElse", "FooBar()")
asynccall("SomeoneElse", "SomeService", "Run(a=42)")

Into a rather large sequence diagram that's also readable as text, and possible to auto-generate to some extent.

--

[0] - Which looks like a spawn of an unholy marriage between PHP and C preprocessor... but hey, it's a programming language.
Some of my favorite checks I've ever gotten to sign were paying out the recipients of our first patent troll prior art search bounty. Looking forward to doing it again! https://blog.cloudflare.com/the-project-jengo-saga-how-cloud...
I've done this in a codebase as well, and it worked quite well.

The "main" code was always updated to be the latest stuff, and the old methods were moved to a class named like `WhateverApi_v1_0` (based on the last version it was available in). A routing engine picked up the proper controller based on the requested API version.

The other thing we had to help make this easier was automated API "shape" tests. These are per-version tests that basically just call every API method and check that the response matches a specific schema. For every release, we made a new directory containing a copy of all the tests from the last version, and then never touched any of the old directories. If an API ever changed in a backwards-incompatible way, one of these tests would catch it.

All this was relatively painless to maintain, and we also never had any API regression issues over dozens of releases spanning years. I'll note we did sometimes "cheat" and add new properties to an existing model (without making the backwards-compatible controller stuff), but this doesn't break any consumers because of the nature of JSON (at least we never had anyone complain about it, and I'm not aware of any language where that would happen).
> This "weed problem" comes from a farming not going with but against the nature.

All farming is "going against nature", by definition.

Take a 100m by 100m field and let it go "with nature" for 10 years. Do you think it'll magically sprout tons of wheat? It'll be great for plants and animals, that's for sure, but we can't eat what will be growing there.
People who work in pulsed kW laser labs are all sitting here salivating at thought and also horrified at the thought.

Salivating because that's a lot of power that you can use for experiments, much more than most laser technicians have ever seen.

Horrified because not only are you going to go instantly blind (as usual), but now the rest of your head will smolder too.
sub /weeds/humans/
Can't remember the last time I watched a music video!
Mechanical parts have more ways to break. All of those rocks in the field are just waiting to crunch things up.

How long will weeds live if they continuously get their foiliage removed? How about when part of the root (closest to the surface) is damaged/burned as well?

I really don't know, but I imagine that if such a robot went out into the field many or most days, there wouldn't be much of an issue. The weeds would continually get weaker.
New 16" M1X
I guess they just decided the freerdp codebase (which already runs on Linux) was easier to work with than their codebase (which is deeply integrated into all things windows).

I think the original Microsoft codebase also uses stuff licensed from a third party, so it might have been impossible to opensource.
That reminds me of Borderlands art style. Some of the devs did a GDC talk about it: https://youtu.be/xLi4kfmW_zg?t=47
I don't see targeted search advertising as user friendly. A search engine should return the most valid results. As soon as you have sponsored results, there's a conflict of interest. What if the competitor to the neck pillow ad people actually have a better pillow? They should be the first result, but won't be since Google's interest is in helping advertisers, not the users of their search engine.

I don't think there's an argument where advertising is pro-user, since a service that focused on the user would return the best results for a search, not who paid for placement.
You still have to weed with those techniques, especially for perennial noxious and aggressive weeds, or else that’s all you have eventually.

It’s not as big of an issue if you have grazing animals, because many (such as sheep and goats) will often go after the “weeds” first. Pigs will happily take it straight down to the earth.
Shuffle Attention for Deep Convolutional Neural Networks
Since I have a tablet and stylus I started sending/showing a lot more diagrams. It's easier to share and looks cleaner than a photo of a paper.
Growth in ride-sharing seems to imply a failure in basic public transportation.
But they're not voluntarily doing so. They don't want to be the only ones doing it.
>Why do you think domestic investment is so economically useless

GP never implied that it was "useless" at all. Your question (to use some more Latin) is a total non-sequitur.

>there would be a twin top comment lamenting Apple's lack of domestic spending.

Yes, different people have different opinions.
Framing this as "One Robot vs One Person" is such lazy silliness. It genuinely means nothing.

At some point, this kind of framing was probably easier for an average reader to understand... IDK when that stopped being the case, but it's not recent.

In any case, this kind of tech is potentially interesting. Weeds, pests and other agricultural issues can usually be solved biologically (eg weeds get eaten, outcompeted, etc.), chemically (eg roundup) or mechanically (someone pulls the weed). We've long been leaning on chemical way too heavily.

If/when robotic weeding is available, the economics may be pretty compelling. If it takes off, it will almost certainly open a lot of unexpected opportunities. Genuinely important agg-tech, IMO, can be approximated by how it affects a given farm. If you are still, broadly, farming the same types of crops in the same ways then it's incremental. Most commonly today, incremental advances mean growing slightly different cultivars paired with complimentary fertilizers & pesticides. AKA, the Monsanto Way. I don't think we're going to make much more progress this way. Also, advancing to "Modern Farming" this way is pretty tightly couples with corporate farming.

What's potentially interesting about robots like this (if/when they're good) is that it may scale down well.
Wendy's has 2 soft serves (vanilla and chocolate). McDonalds has like 8 ice cream/shake drinks, so it shouldn't be a surprise that McDonalds would have a more expensive and complicated machine to get 4x as many varieties.
Definitely agree that it's much harder for artists to live in NYC now. Implying it wasn't (or even isn't still) an artists' mecca is silly though.
That might be enough to fix XCode.

Might be.
Lately I been watching YouTube videos and finding recipes through that. I find that it's important to follow people with a track record of good cooking. It's no different than following authors who write good books. When people condense down their recipes into steps, you don't know how much experimenting they did or if they did at all. So you have to rely on their credibility.

I found Josh Weissman to have good recipes. You could also look for recipes by experienced chefs like by Munchies.

Also if you have more experience. You can look at a recipe and easily figure out if something is very wrong. Unfortunately, most things on cooking don't tell you how to "debug" recipes. You just cook often and hope you can figure things out.
It’s been a disaster for us. Seems like Smartsheet and Google sheets shouldn’t exist, but multi-person collaboration in Office is a disaster.
Much faster. Using absolute (or home-relative ~) paths save a lot of time. Because now you can reuse commands a lot more and CTRL-R will yield more hits.
From the article

> 12-moth plan

> 6-month plan

Why would a dating site have a 12-month plan, and why would a user of a dating site want a 12-month plan?

Not only would you hopefully want to be off the site within 12 months, as soon as you found someone compatible, you would hopefully delete the app, but you've unnecessarily paid for months you will (hopefully) never use. I don't understand why anything but month-to-month would make sense for dating, specifically.

I mean, if you are a dating app, you should be striving to get users to delete your app as fast as possible (for the right reason), not hang onto an annual subscription.
Not only that, but Telegram can't even sync secret chats between devices (the kind of that that can be a bit safer, but uses some strange crypto).
Well now you've done it.

Why use lasers when we can genetically engineer goats to hate the taste of corn/sorghum/wheat and love the taste of weeds?
When I say "hardcoding" I don't actually mean hardcoding. I mean forcing the ML system to keep iterating on specific problems that it did poorly at, with human supervision.

e.g. the car did the wrong thing at the intersection of 9th and Elm? Give it 100 similar situations (at 9th and Elm), let it generate lots of possible behaviors, and then have humans tell it which are correct. Then whenever a car is at 9th and Elm, it uses that training as a priority. For a relatively small geofenced area that is a reasonable approach and should work well. Unfortunately it doesn't scale to the whole country/world.
ok this is better thanks (a quicker, rantier version that touches on related right-to-repair issues)
India is already producing the AstraZeneca vaccine.
Yeah, my first thought was whether we can we have these robots working continuously on the knotweed that's taking over everywhere.
Is there a tutorial out there on how to that. I have some spare raspi's lying around, and I would love to do this.
This is neat.

I looked at the install instructions ("from source") and i while there were instructions, there was no download link for the tarball and no link to the git repository.

Turns out you have to click on the "gitlab" widget that shows the number of stars on the start page to get to the gitlab repository at https://gitlab.com/signald/signald
I meant your summary. Did you pull the transcript from the video and run through text summarisation model ?
The Literacy Crisis
Taxes will be payed purely by virtue of hiring the 20,000 employees they want, which will stimulate the economy. Let's not dumb down the conversation by claiming that companies lowering their tax expenditure is somehow bad.

Tax breaks stimulate innovation and investments.
I wonder at what point it becomes economically feasible to breed crops that are more distinguishable from weeds?

After all, this is what we did with chemical weedkillers.
I don’t, but that’s because I keep my own infrastructure config living inside the same repo the code lives in.

We do k8s GitOps with [a simulacra of] Google Kubernetes Engine’s “Application Delivery” (https://cloud.google.com/kubernetes-engine/docs/concepts/add...). In this approach, you keep all your k8s manifests relating to the app in the app’s repo, and then the app is “released” by running a command that does the following:

1. tags a particular commit, which locks down the release as being of a particular codebase + a particular target converged k8s state;

2. generates a Docker image, tags it with the commit tag, and pushes it;

3. makes a copy of the manifests;

4. burns the build-image’s SHA into the copy of the manifests;

5. compiles the source manifests (which are using Kustomize) into a single static manifest, which is a complete definition of the new target converged cluster state for the app's k8s namespace;

6. commits that static manifest to a separate tagged “deployment” repo.

A separate "deploy" command is then used to reach out to a cluster-side converger component and tells it to pull a particular commit from the "deployment" repo and converge to it.

-----

We do have subcomponents that live outside this repo, though; we manage them by:

1. running a “release” within the subcomponent repo (which does create a git tag + push a build-image tagged with that tag; but doesn’t generate/commit any k8s manifests, since the subcomponent repos don’t have any k8s config of their own); and then

2. manually (for now) taking the git tag of the built image, and updating the main app repo’s k8s per-env Kustomization.yaml file with it, i.e. updating a stanza like this with a new value for "newTag":

images:
- name: gcr.io/our-project/subcomponent
newTag: v20210409094011

In theory, our main component could also be tracked as a subcomponent in this manner, such that all our infra config would live in its own basically-empty "app" repo; but that would lose one of the main advantages of GitOps, which is being able to see from the git log exactly what went into a deployed release, both in terms of build-image and infra-config. Our subcomponent services don't evolve nearly as quickly as our main app does, so we don't lose much in the way of release comprehensibility by having them "symbolically linked" to the release like this.

As it is, though, our app's LB config for api.example.com lives as a k8s Ingress manifest at /.appctl/config/base/unified-api/ingress.yaml within our app repo. (We're using ingress-nginx, so there's a pretty direct 1:1 mapping between this manifest and an Nginx server{} block.)
And then ask them simple questions like “cookies images have been placed on my clients device if no one knows how the box works?”

I'm sure the answer to that would be delicious. ;)
Absolutely. Cupertino, Vancouver, Austin, Research Triangle and many more I guess.
It's also used by certbot, pyjwt, ckan, proxy.py, scrapy, etc. The list is pretty long but I do agree with you that the majority of packages neither use nor should use it.

https://github.com/zopefoundation/Zope/network/dependents?de...
There’s still a lot of Live TV: news, sports and serials. There’s an aspect to live that, while is going through a transformation, will always exist. You might not find any utility in it, but over 100M households in the US alone still have a pay TV subscription.
I work on virtual machines at Google. I usually suggest
"Hardware and Software Support for Virtualization" [1] to new team members without a virtualization background.

[1] https://www.amazon.com/Hardware-Software-Virtualization-Synt...
I hate auto-correct because it doesn't stay in its lane. It tends to expect me to use the most common 10,000 or so words in English and will actually auto-bork totally valid words because it thinks it knows better than me.

I get whenever I'm using shorthand or weird acronyms or technical jargon that it might get confused, but when a word I type is both a) a real word and b) something I would use in every-day speech just leave it alone!
Patti Smith wrote about living in the Chelsea with Mapplethorpe in her book Just Kids, a fascinating picture of that scene in the 70's
This most likely wouldn't be safe for poison ivy removal. Burning poison ivy creates a toxic cloud. As much as poison ivy isn't fun, poison ivy in your throat and lungs is even less fun.
There are worse things that you can do to the soil, things like tilling it.
Didn't FreeRDP start before Microsoft released that documentation?
Why investments should be like charitable act? Investments are suppose to be win-win, because they are investments, not handing out money ...

Also, it is a very low level misconception that paying local taxes is how you contributing to the local community. No. Investing is already contributing to the local community. The business will build campus there, and hire people there, and also increase other local businesses surround the campus. And those people work for them pay income taxes there and also pay consumer taxes there. Every local government understand these, that's why they want to attract investments and give their tax breaks, because investments alone bring benefits to the local community.

It would be extremely stupid for any local government to say: Hey we don't you invest hundred millions in our community, unless you pay full taxes. Lol.
https://yourlogicalfallacyis.com/anecdotal

Your personal experience is not a valid citation.
It might be slow, but it is deterministic which is more important in systems programs.
> But what made Google a money-printing machine is that search advertising is actually largely aligned with the interests of the user. That is, just by searching for something the user has shown an intent that other advertising doesn't have (where generally it's just attention thievery). Imagine I search for "how do I sleep on an airplane". Isn't a neck travel pillow an appropriate result here?

This doesn't hold water. It's just being shown because someone paid for it to be, not because it's the best thing to be shown which is what algorithms would be tuned for if they were in the users interest.

> I get that it's popular to just hate on all advertising but that's just shallow.

That's pretty dismissive of all the thought that has gone into criticism of advertising and it's effects on products and services, without even giving a hint of an argument as to why you feel it's shallow.
In unit testing for dynamically typed languages, very rarely do you make explicit type checks. The type checking naturally falls out of testing for correct behavior.

The "tests for the tests" is code coverage.
Everyone says that, and work is ongoing, but so far the current vaccines are holding against variants. Time will tell.
What about putting them on an electrified wire? String a grid of them over the fields for motion and for power. Power the grid with solar.
> GP never implied that it was "useless" at all

The announcement uses the word investment 17 times. Reading that as a charity pitch requires a few logical leaps.

Companies announce foreign direct investment all the time. Nobody thinks they're trying to look like a charity.
A practical guide to reducing loneliness