skysight-inc/HackerNews huggingface dataset:
> Ironically, one of Boehm's use cases is looking for memory leaks. You basically #ifdef Boehm into a test build, and if a GC finds garbage, you know that you didn't free something correctly.

So a "garbage checker"? :) This is interesting, I never really thought about using it as a checking tool.
For those who don't mind being a hero. And getting an extra slice of pie

https://www.mcsweeneys.net/articles/in-which-i-fix-my-girlfr...
It is stil not a specification like restructuredText[1]. Also wikiMarkup (which really started this markdown) is different from GitHub markdown, which is different from other markdown editors. Also many sites use their own markdown versions.

If you are in restructuredText world there is one specification and all implementation adhere to it, be it pandoc, sphinx, pelican, nikola. The beauty of it is that it has extension mechanisms which provides enough room for each tool to develop it. But markup can be parsed by any tool.

[1] https://docutils.sourceforge.io/docs/ref/rst/restructuredtex...
I am actually doing this exact same thing right now and will reference this for comparison once i am done with the first version of mine. I am doing stop-and-copy though.
“Cloud OCR” is an interface. Something is still doing the OCR behind the scenes (and that may indeed not be Tesseract).
Cox owes $1B to record labels for harboring music pirates, jury decides
> To me, the most obvious cause is women’s increased participation in the workforce

Maybe. But I'll counter with my own anecdote. I raised my daughter as a single working dad. No mother in the home at all. And yet, I got in plenty of volunteering and socializing anyway.
Give up more privacy, its for your own good. /s
I love this point, assuming it’s historically accurate. Gives me hope that the issues around privacy, disinformation campaigns, walled gardens, and more, are mostly just inevitable growing pains from trying to harness this incredible capability we’ve built.
I know people over there. They are struggling but there's still a solid contingent that gives a shit. To spite some missteps they seem to be doing ok at getting young blood in and maintaining a productive culture.
I'm familiar with the agile approach, but what you quoted isn't unique to agile; it can be found in any quality program that implements continuous improvement. It also slightly begs the question by using the agile manifesto as a reference to justify agile development.

What I am hoping to find is more concrete examples of successful application of agile processes to safety-critical software. For example, how can user stories be used in lieu of a traditional software requirements specification and still effectively capture all the necessary safety requirements (including those the customer may be unaware of).
I'm assuming because hours = money when contracting/consulting
In a dynamically-typed message-passing system, inheritance is just automatically delegating messages to another actor and possibly modifying the results. Erlang may not have explicit inheritance, but people almost certainly implement inheritance-like actor structures to achieve extensible message dispatch.
To be honest as a sysadmin sometimes I just say to my friends and family that I am just a lousy sysadmin... And if they are sure they want to leave their pc on my hands... It works!
> it doesn't make anything safer

Why does a program given SIGTERM not quit? Is it because 1) it's still busy desperately trying to save something large and unusual or over a network, 2) it's antisocial and ignores SIGTERM, or 3) it's hung for some permanent reason?

It's hard to tell from the outside.

Most of the time it's the second or third, but the behavior occasionally saves data in the first case.
What to Do About an Overtalker
My office building has about a third of the normal occupancy right now, which is pretty damn close to winter break.
They have their own separate team, the companies just have stakes in it.
I don't know of any good native postgres solutions, but you could try https://www.cockroachlabs.com/ which may or may not be a drop in replacement for postgres, depending on your use cases.
hehehe ... true story.
This isn't quite the end state you're mentioning, but I've enjoyed using cloudKit ((https://developer.apple.com/icloud/cloudkit/)) as a developer and user in this space.

There's no setup on the user's part. For the developer, it allows you to abstract the datastore and give ownership back to the user - the developer doesn't have access to the private databases of its users. It's possible to build completely client side apps with syncing between devices without ever being exposed to the user's content.

Looks like CloudkitJs also exists for the web. I'm not sure if it allows the user to export directly, but that would help guarantee users weren't trapped.

All that said, it's tied to the Apple ecosystem. An independent service with similar features and a large enough community would be interesting.
That's because people in Manhattan aren't dependent on their cars.
> Each hash is supposed to be unique and you cannot rewrite history with the exact same SHA-1.

I thought SHA-1 wasn't considered secure?
I'm not from anywhere close to Cape Cod, and I was really confused at the comments for a while. I generally read the comments first, and I was wondering what someone could have done with Pentium chips and RAM latencies to cause some disaster there.
The value is the fact that anyone can click on anything in iOS and not have to worry about malware or anything other than restarting the phone. Yes, the functionality may be limited, but my mom was never going to use the extra functions.
Twitter in ~2007-2008 was an amazing place when you interacted with actual people.

But now the "frog has boiled" and the humanity has long left Twitter. Practically every interaction between entities on Twitter now is generated by some kind of bot or script that you're essentially trying to communicate with nothing. If there weren't Twitter API limits it would consume more energy and data storage than all the crypto coins combined (slightly hyperbolic). I've left Twitter and I have no desire to return.

However, if Twitter decided to "embrace humanity" and use the API limit system (which already exists) for accounts to increase the value of an interaction they might have a chance to bring back that earlier magic. Scarcity would increase the value, and if you could only post 5-10 new tweets per day you would certainly spend more time considering what you do on Twitter and make it easier for Twitter to identify the sources of noise in the signal.
Ask HN: What Does the California Consumer Privacy Act Do for Me?
I understand the act goes into effect Jan 1, 2020. What can I now ask companies for or to do?
Email usernames and passwords can be extracted from locked iPhones on iOS 13.3
When I was a contractor I also preferred hours. If you get paid by results there is less reluctance to wasting your time. I had several situations where I told a client “you understand that you are paying me good money for sitting around and waiting for X to make a decision?”. Sometimes they were ok with it and sometimes they would accelerate things. But at least I got paid. On the other hand I did fixed price where they didn’t respond to questions which wasted my time (and money).
I've often found myself as "Tier 2" support - someone who _thinks_ they know what they are doing comes in and make it objectively worse for everyone involved, so then I'm pulled in to fix the fix.

Unless it's broke, don't fix it, and if it is broke, make sure that whoever is going to use it cares for it to be fixed in the first place.
Yeah, i had that period in my life, then i got older and realized that peace and quite is golden...
Really? Did you get the static link by chance?
What I mean is, excluding add-ons (especially Google ones), the default mail program, photo managing, synchronization, smart assistant, as well as small but important features like being able to search in settings all seem so much less developed. Apple has been ahead of Android in some cases, and takes a safer path, but especially having to use a locked-down iPhone (we have Android-based Samsung as an option, but I like to contrast) I'm constantly surprised at the experience.
"Lack of empathy" in ASD people does not refer to love of other people. It simply means ASD people have a hard time predicting the behavior of others. That's it. They can love just fine. It's a pervasive myth, unfortunately.

Indeed ASD people often suffer from extreme empathy e.g. towards animals or something upsetting on the news (war/famine/etc.)
also, SpaceX relies way less on external providers.
Oh boy, I have to tell you about this old guy from New York...
Walmart has its own fleet of trucks, possibly to hedge against oil price fluctuations
Yeah fuck all that noise the single edge contact cartridge cpus were all so over priced for my 13 year old budget so I went with the k6-2 and overclocked that biatch
This is why I think scraping rights is so valuable.

As the article says:

> Best case scenario is if the service is local-first in the first place. However, this may be a long way ahead and there are certain technical difficulties associated with such designs.

> I'm suggesting a data mirror app, that merely runs in background on client side and continuously/regularly sucks in and synchronizes backend data to the latest state.

Here are a few premises:

1. It's a fact that only a small portion of users care heavily about centralizing and truly owning their data

2. As such, it's reasonable for companies to not focus on exporting data. That's not how they get value out of their data

3. That being said, companies should at least not punish that small group of users for taking matters into their own hands

Scraping is our solution to this problem, and the least companies can do is allow well-behaved (rate-limited) scraping.
AppImage would be even worse, as it's a fairly new technology and not all that well integrated. I am an ArchLinux user and generally it's easiest if the software comes as a tar.gz with installation instructions and list of dependencies. Those of us using alternative distros, i.e. not fedora, debian or ubuntu are most comfortable with getting a simple archive and adapting it to their distro. Trying to make an installable package for us only leads to frustrations for everyone.
Creating test mocks using GoMock
Yes and no. Everyone who know what Tesseract is will understand that no deep technical details will be discussed. For those who don’t however it is indeed a bit baity.
Few people are so perfectly stoic as you presume. Often times spreading anger is the game people are playing on Twitter, and it spreads like a virus. Emotions are contagious.
The domain name checks.
From the "Automatic MEAL planner" suggesting it as a meal...
They specifically said “most families”, not “your family”
This also applies to most library, docker (as mentioned) and basically anything you use that's 3rd party. I suppose it varies on your level of paranoia, though honestly if you rely on a github action in your production flow you should fork the project. Never mind doing something malicious, they could just as easily delete the entire repo and now your critical feature you needed to deliver are blocked because the library you were relying one has disappeared.

Anything you use in a critical path you should control. If you're managing your own fork, nobody will inject bad code except yourself.

Just my 2 cents. Also, the things that github 3rd party actions are doing is usually not that complicated. I mean how many different ways can you publish a docker image or deploy an artifact to S3. Once it works, it either works or doesn't. It's not a programming library where optimizations are created or we fixed a security vulnerability (though I suppose that can come up ).

Sorry minor rant. food for thought.
I tried using it and my first impression is that it's pretty difficult to use for a webapp (or maybe just specifically a Spring application since there are a ton of added proxy classes) without the ability to search. You need to know exactly which thread accepted your http request and then dig your way down the call stack to find your method invocation. You should be able to search for your method invocation and then go back up the call stack from there.

Other than that, seeing exactly how long every single method call took is awesome. I think there's a lot of potential, but without the ability to search I can't see myself reaching for this again
I suspect this is the social adaptation that the generation that grows us with Twitter will have. Unfortunately, it may be hard to adapt to for those that weren't. I'm somewhere in the middle and I've mostly just chosen to dial down my interaction with politics online because I noticed it made me less happy.
Agreed. I feel as much as we've seen NASs grow into devices that are vaguely approachable by enthusiasts, there is still a huge amount of ground to cover before they would be the sort of thing that one could easily deploy in their parents' house.

There has been piecemeal progress in swinging the pendulum back from cloud-everything to easier to use edge computing. The Helm email server is one example. The slightly more plug-and-play approach to modern NASs is another. And there are others. But you can tell that the vast allocation of R&D is not going here yet. I do think investors will eventually wake up and realize that user demand for data control means better edge devices and avoiding reliance on the centralized cloud.

What I have envisioned for PAO [1] is federated encrypted backup. I would like to see NASs allow me to basically allocate a percentage of my capacity to various peers to store encrypted-at-rest duplicates of their data. And vice-versa. Basically a federated mesh. No need for blockchain or other crypto-hype nonsense. Just straight authenticated and encrypted file storage.

My opinion is that cloud dominance really traces back to the advent of and self-reinforcing power of asynchonous Internet connectivity. When Internet connectivity was often synchronous (think the very early days of DSL), peer-to-peer networking remained very common. As the number of users using asynchronous connectivity increased, it became reinforced as more services centralized data and content. Peer-to-peer is effectively a relic of the past now. Only today have we started to see some resurgence of symmetric connectivity (e.g., 1Gbps symmetric fiber). I believe deployment of symmetric connectivity will be a decentralizing force as more people realize it's possible to just access your file system and data directly between devices rather than use an intermediary. And as vendors realize this is an opportunity space to offer interesting technology (e.g., the likes of Zerotier) to consumers.

[1] https://tiamat.tsotech.com/pao
There's debate whether ODD even exists or is just PDA profile of ASD. I think it's PDA but not expert in this area by any means.

I should say-- I think it's often PDA misdiagnosed as ODD. Which is very sad for those ASD kids not getting the help they need (because the "treatments" for ODD are probably not going to work well on a PDA kid).
For database servers with multiple TB of RAM, 10-15 minutes is not unusual for POST.

It's nuts. The memory was fine the last time it was tested (30 minutes ago, on the last reboot). Let's just train some buses, probe some address spaces and go, okay?
We are getting there. asyncio in 3.7 is now quite ok to use.

Plus, I'm working with andrew sveltov on a new API for aiohttp, so that you can do:

def main():
response = await aiohttp.get(url)

asyncio.run(main())

It should make at least the most common use case of asyncio way more easier.

The biggest problem is that I have yet seen a tutorial that explains properly how to use asyncio.

They all talk about the loop, and future, etc..

First, they all should tell you that asyncio should be used only with Python 3.7+. Don't even bother before. Not that it's not possible, but I've done it, and it's not worth the trouble.

Then, all tutorials should mention wait() or gather(), which are the most important functions of the whole framework. It kills me to never see those explained.

With just that knowledge, you can script happily at least as easily as with the pools I just had show case.

Now, I really hope that we are going to get trio's nurseries imported in the stdlib. yury selivanov is working on it from uvloop, so I got good hopes.

I did a proof of concept as an asyncio lib and it works decently, but having a standard would be much, much better.
> This was the most common objection raised to my prior post. “Get over it, the world’s moved on.”

Gee I wonder why ...
Meh, at most salaried-type jobs people I know usually take at least one week of leave during the holidays. “Doesn’t exist at all” is pushing it.
That's not what I care about if I just need a recommendation instead of making this website my religion. I have no desire to become intimate with this website: it seems useful, and so it's reasonable to assume it gives useful information by default, not "after customizing it".

It currently tells people to have "breakfast" and "lunch". That's misleading at best, as those words are tied to ambiguous times, and don't result in a healthy eating schedule.

So even better: don't use meal names, use words like "shortly after waking up", "halfway through your day", etc. and then let people customise _those_ to map to words like "breakfast" or "lunch" if that's what they map to for them.
Given that the equations involve continuous functions of some bulk properties of a fluid, while the fluid itself is made up of discrete particles, is there anything fundamentally or metaphysically problematical if these blow-ups are unavoidable? Or is it about finding practical ways to avoid them when modeling real-world scenarios?
You could use a column/table to track notifications. Eg. have an alert_sent_at column on the alerts table. Then when the node service receives the notify on an insert you can defer based on any logic you need, and send notifications when needed by a query that fetches alerts with alert_sent_at = null.
In the United States and the West more broadly, we need to begin thinking about immigration with a more rigorous and serious perspective. The US is built on immigration and I want us to have a robust immigration system, but it's important to recognize that immigration must be managed and take into account social, cultural and economic realities. In recent decades it seems we have disregarded these considerations, allowing both illegal and legal immigration to rise year after year without any reflection on the broader negative impacts this massive influx of people may have.

I want to stress that the large majority of people coming into the US are probably good people, but that doesn't mean we are free to ignore the possible systemic effects of mass immigration. Good intentions can often lead to negative outcomes when we don't look beyond the immediate future and our idealized conception of things.

It doesn't help that any discussion around reducing immigration is immediately slandered as racist. How deluded have we become when even attempts at reducing illegal immigration are ridiculed and rejected?
That was a on-ground test, specifically intended to minimize launch miss-hap. Huge difference.
> Because it fragments the development community which ultimately harms everyone.

Your implicit assumption is that the Chinese-speaking development community is not sufficient to sustain the project. I don't think that scenario would be fragmentation but the addition of a new developer segment (net addition).
It depends on your manager ultimately. I've worked at 3 companies that have supposedly had a "results" focused work environment. However, the managers at the first two did not fully commit and they still operated under the "more hours = more work" mentality. I now work under a manager that understands results based output and it's an entirely different ballgame. Ultimately the leader has to be 100% bought in for it to work well.
There's also social media though, which amplifies everything for people who believe what they consume through those channels.
I cannot speak for the others here, but with languages like say JavaScript, the symbols usually represent something. {...} will usually represent a block of code. "[...]" will usually represent an array-like index.

With Lisp you don't have such visual cues; you have to read the function name and perform a mental translation (lookup) of that function name to "find" a purpose in order to know what the "parenthesized unit" is. Thus, it's more mental steps to compute the general meaning of the code.

One is mentally searching (mapping) on name, not visual appearance.

Lisp fans seem to perform this lookup faster than average. Whether it's because they've been doing it for so long or they have an inborn knack is unknown. It would make a fascinating area of research.

I tried to get the hang of name-based fast recognition, but was progressing too slow for my comfort.
I understand hedging tomatoes if Walmart is selling tomatoes. However, the OP says "oil futures". I think Walmart doesn't sell crude oil, heating oil, soybean oil. Even for transportation, you'd hedge gas, diesel etc. I wonder why oil futures.
SVG via RxJS and JSX: Experiment Update
> These days you see languages actively trying to distance themselves from OOP as a form of enticement (Rust and Go being the two prime examples).

They definitely distance themselves from inheritance. However both Rust traits and Go interfaces look to me like they're there to appease people who like the .method() calling syntax. (I know there's more to the story than that, particularly for Rust and its type system...) I think either could've gone with multimethods or overloaded functions and have been better for it, but a lot of people seem to really like the object.method() look.
"Transparency is at the heart of everything we do at Twitter."

https://transparency.twitter.com/en/information-operations.h...

"Enter your email to access the archives:"

Transparency by putting up roadblocks to access?!
Put the least senior person exclusively on call for the week before the holiday and throughout. Berate them with vitriol until leaving for the week. Come back after the holiday and look for things they did wrong during the afk and berate them even more.
Do you know of any phones that are 0% Chinese?
The tesseract-cli (and so I'm sure the library also) will give you HOCR output, which is an HTML format that gives you the text, with bounding boxes around paragraphs and individual characters.

https://github.com/tesseract-ocr/tesseract/wiki/Command-Line...

It's not quite what you want, but I think you could probably filter the output based on the selected region and pretty quickly get what you want.
Would you please not post high-indignation, low-information comments to HN? I've sure you have good reason to feel strongly on this topic, but the rant you posted above has little to do with the article, and now you're taking the thread further into pure inflammation. That is what we're trying to avoid on this site.

https://news.ycombinator.com/newsguidelines.html
It wasn't actually. There were always countries that were faster in Internet adoption. https://ourworldindata.org/uploads/2018/09/Share-of-internet...
Honestly, as a Canadian the US society has always been fascinating to me.

Our sister country is so similar, yet so different, we have very compatible laws, have plenty of immigration and the same outlook on plenty of topics.

In addition, every single American I have interacted with , has been kind, cool and caring. Yet for some reason, Canadian society just seems healthier and more content, at least as far as the overall well being the population goes.

Perhaps I'm just too naive and am missing something obvious.
Any way for software to spoof a GPS location?

Would love to be able to send random coordinates until I make the choice to send an accurate location.
Probably because they have multiple rooms in their homes.