skysight-inc/HackerNews huggingface dataset:
Ask HN: Packaging a Python application as a native windows/mac app
I have a python REST API built with Django and a React frontend. Right now the API is hosted on a bunch of Ec2 instances which works fine but I was hoping to make it work offline (people don't trust sending sensitive information to a third party server)

Ideally it would be something like jupyter notebook that launching the application, starts the web server then launches a browser tab that points to the launched web server. Has anyone done this before in a way that is frictionless for non-technical users?
"Here be dragons" of our age: https://www.bitchute.com/video/vAWcTGmj2ro9/
I don’t know why people keep calling Libra unregulated as if some registered entity in Switzerland is going to protect them from gov scrutiny around the world. There’s no way they don’t face regulatory pressure as soon as they start operating, assuming it can even get to the size and scale where regulators even care about it.
I feel that it is more than just the terminology. It is also their ideology. It doesn't matter what they are called it will still elicit a negative reaction from me.
I'm also an Emacs user. But there are people who don't use Emacs. Or gasp don't even have it installed! Believe it or not.
Possibly the carbon emissions are greater for the plant-based product?

Or the plant product diverts production away from food, making food more expensive?
Except you don't. Every bundle I've been a part of says you can't resell the keys. That's kind of the whole point of the bundle; you're not expected to actively want to purchase every item in the bundle, but the value you get out of it is still worth more than you paid for it, and the developers of the software get to reach users that otherwise wouldn't have bought the game anyway, thus gaining a bit of money from those users and, hopefully, causing increased word-of-mouth sales, or for a multiplayer game causing the player numbers to go up and thus produce better network effects.

If you resell the keys, you're breaking the bundle's terms of service and actively harming the developers involved.
I have to ask: do you think 30 billion tons of olivine annually is a "tiny sand solution"?
We'll ultimately need a bunch of techniques working together. I suspect this would even be effective with less than 1.

But really, what's the cost? That's the main factor. It may be a reasonable way to shove money at poorer countries to do manual work to solve the rich countries' problems.
This is a legit worry. The same material we use to stabilize the climate could be the same material that throws it into a negative feedback loop. This happened during the ice age, which is exactly stated in the article.
I fully expect it, but our goal is for that not to matter by the time they do. Both of those co.'s recently announced features that directly compete with other startups:
1) Ubereats announced an order ahead and dine in option, the exact same feature that Allset built as a foundation
2) Doordash announced a group order feature, the exact same feature that Ritual built as a foundation

It's only a matter of time until they attempt to carve into another aspect of food ordering, but we're confident that if we stay focused on supporting our target market (coffee) and building the best possible product for that industry, it won't be a concern.
Price of 1 movie ticket: $15
Price of small popcorn: $8
Price of small drink: $8
Price of small candy: $5
Total: $36

Time it took to drive to theater: 10 mins
Time it took to wait in line for food: 10 mins
Time it took to watch trailers: 25 mins
Total: 45 mins

Buying the movie and watching it my house costs no more than $20 (when it first comes out) and I can make whatever I want to eat and don't have to drive anywhere. So I save money and time. Oh and I almost forgot, no children or people next to me coughing if I stay home.
Note that seats are installed by the airline and can vary substantially even within the same model of plane.
> It has to judiciously pick which places to look in the same way humans do

There's a lot in that statement that can mislead.

It has to "look" - that's true, AFAIK, and is super interesting. But that's not the same as a human. If AlphaStar is watching 5 points of interest on the map, there is basically no chance that it screws that up. For humans, that would involve bouncing between the minimap to commands (assuming we're not talking about hotkeyed locations), which invites lots of dexterity/accuracy issues, not to mention visual comprehension.

Do you really think AlphaStar will have issues making out the blur of a cloaked observer? (for example).

Consider some blink stalker micro - a human CAN select each unit as it's attacked and blink it to the back of the pack, keeping a steady rotation of fresh shields to tank the damage. But that is error prone, and even the best pros only do it in limited skirmishes. Not because of APM - it's not the raw clicks that are the problem - but because of accuracy and the opportunity costs of the attention. Alphastar won't have accuracy problems, and the opportunity costs of the attention are VERY different from the human costs.

I think Alphastar is a great experiment, and I am glad they are cutting off some of the brute force advantages a program has vs a human opponent, but that's not the same as saying it is doing it "the same way humans do".
> I've been writing C++ for 21 years now (started when I was 14).

So? As far as I know this could be 1 year+ 20 repeats.

In contrast to your experience, I missed move semantics since the early 2000s. It’s not just to avoid copies.

How about the ability to avoid pointers, aliasing, and allocation. Move semantics afford more than just avoiding a copy.
yup, i have a signup form on our website and that signup form calls ajax if the email is in use. without cors i would have to use jsonp or some other workaround.
With the ability to reduce pH levels in the surrounding water this seems like something the Australian Government would be very interested in investing in to save the Great Barrier Reef.

That could be a good pilot site as the government has said they're going to spend $500MM on saving the reef so money is already available if the technology works.
Ask IH: Is there any potential in my web app?
It's not only about the big companies being accountable for holding data. What about private individuals uploading gigabytes of data to the public web?
You might be, but the people it really hurts are the creators.

Orange is the New Black went 6 seasons. The creators likely made all their money in seasons 3+, because they proved its worth in seasons 1 and 2 and had leverage to negotiate higher compensation.

The problem isn't so much cancelling mediocre series after two seasons, it's when they cancel things with a huge following because they've managed to disconnect what people pay from the quality of the content.
Some RTS games allow for zooming out but many intentionally limit the view as a standard part of the game. Would be interesting to see how much being able to see a huge amount of the map at once would change certain games.
> Pai accused San Francisco of playing word games, saying in today's meeting that "it is difficult to understand how anyone can be harmed by a decision to preempt a city mandate that the city itself claims doesn't exist." Pai said that if the city is correct that its law doesn't apply to in-use wiring, there's no reason for it be concerned about the preemption.

This is confusing. If SF itself claims the law doesn’t require this, why are they concerned about the FCC saying it can’t do that?

As far as I can tell from the article, the law remains in place except for the part SF says doesn’t exist and the FCC says it dislikes.
Sure they will, if it's profitable. All it takes is EU introducing this and then implementing "we sorted ourselves out, now plastic packaging import is taxed extra". (yes I am ignoring how hard would it be to introduce that change)
Yes, “lol”, it will. In fact you don't even need to spend US$150. Your ignorance is not a good reason to sneer at people who are doing you the favor of sharing their knowledge with you.
I'm shocked. Shocked.
On the one hand, maybe it would be nice. On the other hand, this style of writing is essentially a subtitle in all-caps saying "I don't know how to write properly and this isn't worth your time", which has its own use in, well, saving me time.
The PDP-7 Where Unix Began
My company does A LOT of coffee meetings and the actual ordering can be a bit awkward, usually someone senior pays and you get this sort of awkward exchange where the other person offers but then lets the first person pay anyways.

What about including it as a corporate benefit like Classpass where a company can pay for seats and then the seats can get coffee at various places as a benefit? Could definitely see it being a big hit and a much easier sales vertical because now you're pitching entire companies visiting a given shop instead of a single individual. I can dream :)
US approves $2.2bn Taiwan arms sale despite Chinese ire
Please don't copy-paste comments on HN. Repetition lowers signal/noise. If you want to draw attention to something that was posted previously, a link is good.
My Bad, thanks for the correction :)
I was curious to see if there was any record of this and I found some interesting discussions from '09

https://lists.w3.org/Archives/Public/public-webapps/2009AprJ...

Very interesting to read this now.
Depends on the game. Quick-paced, short-lived games like arena fps and rts games naturally develop large enough communities (or die trying) that AI-development can be brushed off in favor of letting the players deal with it.

But for games like grand strategies (eg civ), the player population doesn't typically run high enough to support only humans each match (at least partially because the games run too long), and so its more important to develop a decently sane AI.
one does not just dive in to org mode
> On most operating systems memory owned by one process can be reused by another without being cleared

Isn't this plainly false? I think on all mainstream platforms memory is cleared when it is mapped to process
Looks great to me. I think there aren't enough active communities like this.

To the point of how to launch/grow a targeted community like this, consider this from the organizer's POV. There's got to be a starting point, with starting requirements. I've set up or helped organized groups before (a mastermind group, a local 501c3 networking group, a chapter of a national org) and there's always a bootstrap point where you as the organizer just have to do things to get it going.
I just hope it's not too late to make the ABI represent Boolean false with ~0.

We won't get another chance to do this right for a long, long time.
Can't you just install a specific self-signed certificate for a single domain instead of a CA certificate?
See my other posts on this page.
You want FPGA's with cheap SERDES links that support PCIe Gen 2 at 5 Ghz. The best fit is Lattice ECP5-5G but that's $5 per link. The MPF300 is $10 per 12,5 Gbps link on the discounted developmentboard (with desoldering). A retail priced Cyclone 10CX105 also $10 per link with a smaller 10CX105 at $14.6. But very potent FPGAs that can be a small GPU in itself.

I now plan a crowdfunding for our own FPGA in an ASIC, that would bring $0.25 with a hundred links. This HN pages shows me there will be enough buyers for a $300 364 core RPI4 compatible cluster (100 BCM2711 chips connected to 1 FPGA plus 100GB DDR4) but without the RPi4 boards.
Instead of attaching RPi4 or BCM2711, you could have 100 SATA, SSD, 30 HDMI, 10G or a rack full of PCIe servers connected to this interconnect FPGA.
You are welcome to help realise the project or the crowdfunding.
I know what you mean, but the grammar feels intuitive and the GUI is really clear, so it's pretty easy to extrapolate once you get a few things. For example, you want to calculate a price for three items at $425 in British pounds:

$425 * 3 in £

Once you've got "in £" you know it's available anywhere. I use it a lot for unit conversion too:

3 inches in mm

The other thing I use a lot is referencing other lines. So this will output £4:

£10 + 2

line1 / 3
> Q - What if I go on vacation?

> A - You should be able to enable/disable this as a recovery process

What if I'm, say, injured in a car accident and unconscious for 2 weeks, and didn't update the time or disable this? I'll just wake up to the gift of losing my possessions as well?
Well... CORS controls whether the browser lets the other page read the response, not issue the request, preflight not withstanding.
> I don't know what the solution might be, I struggle to keep a positive frame of mind in this regard. I do think it's unlikely that the government will step in an break these companies up, especially when they have so much money under their control.

I'm not usually optimistic about it, but there's some political noise about actually enforcing the Sherman Act again. We're not _that_ far removed from a DoJ that blocked Microsoft mergers, and there's hopefully enough political pressure to staff the FTC/DoJ some people with spines instead of rubber stamps.
A TON of people have an irrational gut reaction against landfills in general and the concept of burying plastic in particular. There is absolutely no shortage of landfill space, but due to some mafia fuckery in the 80s (MOBRO 4000: https://slatestarcodex.com/2019/01/01/what-happened-to-90s-e...) a ton of people think we're on the verge of running out of space.
Twitter Needs a Pause Button
zero?

What happens when someone wants to make a withdrawal?
>high-reliability (and, arguably, high performance) filesystems are long structured.

That prevents the filesystem from being in a inconsistent state, but doesn't address the issue of data loss. eg. what happens if there's 5M outstanding writes and you get a fysnc? If you wait for everything to be flushed, that's going to produce latency. If you lie and return immediately, and there's a power outage, you now lost those oustanding writes.
This is far more of an analysis than a critique, and it's just as much about the evolution of technology and the internet as it is about Google itself.
I was doing academic research on this exact topic and Chris' is the only book that I found that breaks down the techniques one at a time this way. This book is nothing short of brilliant.
I believe they use PLA which is "compostable" (in an industrial composter which nobody ever uses). I think someone mentioned that it messes with normal plastic recycling methods. Plastic is sorted optically - maybe there is no way to distinguish it from PET or whatever they use now.
This is probably where tech will take us. A few "rock star" teachers will teach most of the students the main content, and the current, run-of-the-mill teachers will effectively become TAs. The downside is for the run-of-the-mill teachers to lose their autonomy, discretion, and ability to apply their professionalism and creativity. The upside will be that rock star teachers will finally start to get paid like, well, rock stars.
I would imagine that for the people that didn't grow up in such a country ruled by Securitate do not have the experience to make them fear being listened in. Not saying that they are wrong (they may turn out to be right), just that we are all products of our experiences.
It's sad that you're downvoted, but how do you deal with sending of the product without a confirmation? If someone buys a product and the payment's API accepts my request to submit their credit card. I might want to know if it's accepted or declined before acting. Some businesses might afford to work and can undo changes. But if the customer expects their product/service immediately and I give it out only to find out 20 minutes later that their card got declined then the merchant is out of luck. In which case they will go after Stripe to cover their losses. Perhaps they should have 2 API's. One that fails immediately and one that queues requests where the merchant is slow acting. Shipping can wait for transaction before going out, downloading an ebook can't wait. The merchant will then have to decide which way to go based on their business.
>binding arbitration opt-out

Fair point. That does assume same legal jurisdiction though.

Practically I'm not in the same jurisdiction as any of these websites anyway. None of this is legally enforceable unless a party is sufficiently aggrieved to spend a ton on specialist lawyers. Whether or not I clicked on some internet button privacy policy seems a little pointless in that context
I'm dealing with frustrating CORS issues right now. We have a CDN intercepting outgoing requests from a request resource and nobody here can seem to figure out how to get it to keep allowed headers for OPTIONS method requests.
Which is true of all of the costs of climate change. The costs are already being most harshly felt in poorer communities and nations, and that divide will accelerate the more expensive and resource-intensive it becomes to keep living "normally" under climate change. As droughts strike rich regions, they'll build dams to retain water than would have traveled to poorer regions (e.g. as a significant portion of Californians want to do already at even the first hint of climate change striking the area, despite its impact on people to the south).

I don't know what the right answer is on this question, but I know that the pain of climate change will be felt by poor nations more than it will be felt by rich ones, no matter what. It may be that staving off climate change, even if it has its own negatives, is less bad than the alternative of doing nothing for those places and communities. But, maybe not. Hopefully it would get a lot of study and small scale experimentation before going big.
Of course he does. His job, his entire worldview, is based on technocratic control of the economy. Breaking the government monopoly on currency threatens everything about him.
Yeah I remember sitting next to a VA pilot on a flight once and he was gushing about the new AirBus 321s. And he was right. Their take offs feel like magic carpet rides compared to boeing 737s.
This is.... quite strikingly poorly written - no research even by self admission on most of this: "The complexity graph is not based on any research, it simply reflects my own experience working with Object-Oriented, Procedural and Functional Programming."

We all can say negative things about any paradigm or pattern - but this is quite a hit piece. Proposing "functional programming" as a replacement is quite ignorant of many (vast majority?) of platforms and realities of programming different kinds of software (especially event driven).

Functional Programming is notoriously hard to ramp engineers onto, or for folks that join a team with a codebase written as such it can be extremely difficult.

Maybe I should write one; "Medium - the Trillion Dollar Mistake"
why would you possibly want that?
and in what size? byte? long?
Everyone's problem, no?
>deliberate action by management to ... MTBF (because 2 sensors fails more often)

if that happens to be real case, it may become the textbook case of perverted metrics/cobra effect.
This is one of the things that reminds me not to trust Microsoft.
> We're sometimes asked: why is no one else doing this?

https://joe.coffee/

https://www.ritual.co/

If you live in the Seattle area, check out Joe. They cover most of the local independent chains and are expanding really quickly.
I expect the same is also true of whatever freedom may exist for NYTimes writers. The site has taken a sharp and extremely homogeneous ideological slant in recent years on a wide array of different topics. This is ostensibly indicative of editorial manipulation, but it's also possible that instead they simply make sure to hire only journalists that already align with their biases and will, at the minimum, toe the line without needing to be told.

Compare this with people such as e.g. Glenn Greenwald who seems to have achieved "FU money" and you actually see insightful and meaningful journalism [1] that isn't boxed into predictable ideological or partisan tropes. Of course he doesn't live in the US anymore either. Money isn't the unit of freedom in the US - it's the unit of freedom in the world. Not such a bad thing in many ways though. In times past your blood lineage was the unit of freedom. Money can be earned even from humble beginnings, but lineage cannot.

[1] - https://theintercept.com/staff/glenn-greenwald/
He made it up. I flagged his comment as misinformation.
Parent edited.
In any real-world application (robotic manufacturing, self driving vehicles, precision guided munitions targeting...) extremely fast reaction times are an essential and expected advantage of machines. I see AI game playing as interesting mostly because it provides a way to pit software against people without building a bunch of expensive physical infrastructure. If anyone ever builds a "real" robotic army it will surely use all the APM and TTFA advantages it can possibly achieve. In that sense, allowing the same advantages in combat simulation games is closer to a proper man-machine contest than one where those advantages are taken away from the machine.
Israelis at the forefront of fast-growing algae market
Rip Torn Is Dead
If you had a 100km long rod that was perfectly, impossibly straight and infinitely strong, placing it in a gravity well equal to that at the earth's surface would still make it look bent by half a micrometer to an outside observer, in the same way you can draw a triangle on a sphere using nothing but three right angles and three straight lines.

If that's not interesting enough, do some reading on the relative nature of spontaneity. Two things that happen at exactly the same time in one reference frame don't happen at the same time in another. Crazy.
It's not only dedicating the time, it's also hiring/maintaining a strong game-AI team able to consistently pump out effective models at the same pace as games are released. You can't just take a regular ol game developer and expect them to make a really competitive game AI without cheating.

Even though the work is interesting I doubt you're going to be able to build a full team of reinforcement learning experts for cheap. I would guess that maintaining a 5 person team would cost about $2-3m/year.
The problem arises when the language simply does not provide any guarantees on the sorts side-effects you are interested in, so you can not simply rely on specified behavior.
I came to this thread hoping to find that I am not alone. Thanks for validating that for me.
Slightly off-topic, but I worry about the “you should have known better” standard that the law applies to copyright violations that allowed these folks to get away with this in the first place. The logic seems to be: everybody knows that movies you have to download from BitTorrent are only up there because they’re copyrighted, so you knew that you were engaging in piracy, so you’re guilty. In general, I agree that’s probably true - anybody who would deal with something as user-unfriendly (relative to, say, Netflix) as a torrent site probably knew they were engaging in copyright violation. On the other hand, there are enough user-friendly, ad-supported sites like crunchy roll, popcornflix, tubi TV, etc. that your average web user has no way of distinguishing rights against.
I had the same issue and got it to work with dpkg-buildpackage --no-sign
I've always figured that the narrow roads over there were (much like the ones in the older European cities) created long before cars, when people relied on horses or horse-drawn vehicles for transport. Roads designed after cars became common tend to be much wider.
The operative word there is requirement. Banks in 0% reserve countries don't have to keep cash around but do to serve as their actual functions as banks.