skysight-inc/HackerNews huggingface dataset:
That does not follow. Yes the majority of people have preexisting health conditions, but they die directly of the pneumonia that is a result of COVID-19. For the flu, people typically die of secondary infections, e.g. bacterial pneumonia. Someone younger without pre-existing conditions is just much stronger to fight off the infection.

Regarding children, this is actually one of the many questions that is not fully understood, why do children not get so severe symptoms (initial thoughts were they might not even get infected, but this has been disproven by recent studies).
The forms are in open access, anyone can fill one form, so they surely did consider variations in accuracy (if not plain sabotage). They are probably submitting the same data to multiple people and the cross-checking the submissions. Also, the totals help to filter out submissions with mistakes. One can also add bound checking for individual values (misplaced decimal point, extra digits etc.). I would love to see how they do it, but they'll probably keep it confidential because trolls and other vandals.
> what other languages [...] give you the freedom to change the language and/or create DSL's [...]

FORTH. It's a very similar language from that respect. One of the first things you learn how to do as a FORTH developer is to rewrite the interpreter/compiler words.
It is, but you can get quite far with emulating only parts of it.
The diff algorithms seem like a hacky collection of heuristics; the type that's begging to be replaced by a machine learning system. Something that understands the content could do much better than either of these algorithms. I'm not sure what the training data would look like though.
The Latest Trend in Kids Fashion
Why do people assume package managers do some form of gatekeeping?

It’s not the package managers who gatekeep, it’s their associated repository. People are free to create and host their own repositories (or, in Homebrew-speak, taps). Users are free to add those with no PRs involved whatsoever.
Either mount the drive and run "fstrim" on the drive's location (it will error without TRIM support) or https://unix.stackexchange.com/a/339684/21419
More breaking news: Almost every website sends data to google, even if you don't have a google account.

Singling out Facebook as the privacy nemesis while giving a free pass to "cute" conglomerates like Google reeks of class hatred and flavor-of-the-month-style pseudo journalism.

Opening vice.com link will send data to Google.
Snapshots are perfectly acceptable for testing Legacy Apps.

If it truly is a legacy app, snapshots should rarely be updated (because you're not updating the code) and any introduced bugs will trip a snapshot. The issue is always about people blindly updating snapshots because 'I made a change and the snapshots are wrong'.

If the failed tests don't line up with what you believe you changed, you are the reason it's Legacy Code.
Ah, good memories. CodeWarrior was great. Switching to XCode was a bit of a disappointment.
> By the way I hope you didn’t get too clever about this. For instance, if you noticed that everyone was buying the wrong Zoom and decided to profit from their stupidity by selling ZOOM short, then (1) you have done poorly (ZOOM is up almost 900% year to date) and (2) now you might not be able to close out your short.

I don't really see why the SEC needs to meddle with issues like this. Why is it wrong to be clever and profit from others' stupidity and laziness? It seems like one should be rewarded for being clever and understanding humans and human oversights that well, and that is part of the spirit of a free market economy.
My personal feeling about this is that shared base language mecanisms such as functions, classes, control structure, interfaces imports, properties etc allow you to reason locally about some files. You don't need to read the whole library in order to understand one piece of it.

With macros this goes out of the window. You have to read all the custom macros before you can understand what is their behavior.

With haskell the same issue exists with complex monad stacks and control libraries like lens.

The ability to analyse a tiny piece of a big system is a major factor in building those in a manageable way.
Remote Work Tools for Happy and Productive Employees
From distributed tracing to distributed profiling
Business booming for China's mask producers amid Covid-19 pandemic
It is for me. I've just tried it. As so often unfortunately the package is sufficiently out of date to make installation of the author's prebuilt binary (https://sw.kovidgoyal.net/kitty/binary.html) worthwhile.
I like mocking internals because I can control the flow of the logic.

I will write a mocking test to ensure a business flow is followed at the test level just because I have fallen too many times for a developer updating snapshots because they made a change... but they update all the snapshots even the ones that show they introduced a new bug.
Banham avec Ballard: On style and violence (2019)
Bankers and Politicians Call Bitcoin a Bad Idea, and This Is the Best Proof
Is that by design, necessity or compiler/language deficiencies? I'm curious if this is something the language hopes to improve on over time in the name of fearless concurrency or it's simply not possible.
Which I doubt, given that it depends on what is being compiled into WebAssembly anyway.

It is really nothing new here, just the politics to have a bytecode execution platform that everyone agrees on.

For example, if I can replicate a Flash security flaw with CheerpX, should I blame Flash, CheerpX for being a good implementation, or WebAssembly for allowing Leaning Technologies to faithfully re-implement Flash?
‘Chattr’ Commands to Make Important Files Immutable (Unchangeable) in Linux
Yes! Another example.of this is C# and F#. Both build on the same .net base and both are Turing complete languages with elements of OOP and FP, but wow, the code that those communities write are completely different. They each steer you in different directions.
I disagree with this.

For applications where state drives output (IE, every single webapp) I find that change detection is a decent chunk of issue detection.

Change Detection + Business Flow Testing will probably deal with your stakeholder requirements far cheaper than almost every other method of 'ensuring quality'... even the classic lie of 'developers would never make that mistake'
> https://github.com/nextcloud/ios/blob/master/COPYING.iOS

I tend to think of this as reaction to GPL FUD; I know some people who have these so they never have to actually figure out the answer to this question.

> https://news.ycombinator.com/item?id=12827624

I have argued that a close reading of the TOS currently seems to allow GPL: https://news.ycombinator.com/item?id=21943994

> https://www.fsf.org/blogs/licensing/more-about-the-app-store...

Again, this is super old. Do you have anything newer?
Thanks for the kitty recommendation. I'm going to give it a try for a few days.
An advantage of copying designs, for your user, is your user will already be familiar with them. (In contrast to coming up with something original.)
> I just don't understand why anyone would spend so much time developing so many intricate features when the presentation is so poor.

Seems fairly obvious to me. The creator is playing to his strengths.
Yes - try diigo.com. All my links + references lives there.
but it isn't a must. Just block it from executing it on a car
Does it have pen pressure support already? Last time I checked pen pressure only worked on CS2 and below on wine
I'll critique the language. Unsafe is a bad name. It doesn't mean "not safe" it means "cannot be verified by the compiler to be memory safe." Some things are inherently unsafe by that definition, including things necessary for software development. It may be better than other names, but frankly - it's too scary.

In particular, the implementation of data structures. Raw memory allocation, usage of pointers, low level concurrency primitives - none of that can be done without the programmer manually enforcing invariants.

But unsafe isn't wanton abandon. You still have to obey the type system and ownership rules.

As for the goal, it depends on the author. Some prioritize one over the other. In general the Rust community these days tries to optimize the balance of safety and speed with as few compromises as possible - which is fundamentally why the language exists.
> ...the headline should make it immediately clear this isn't Zoom.com.

You probably mean zoom.us which is the official URL of the videoconferencing company. And there we are, it's all very confusing.
Simulating a Pandemic with Elixir
> I think we saw a rise of the easy, anything-goes, screw-performance scripting languages. I think the next fashion seems to be in enforcing "correct" coding style. They all have their place.

This is the sane way of looking at it.

We noticed that a lot of tasks were not worth the trouble of ensuring correctness, and so dynamic languages too over.

But then a lot of system scaled to a point complexity was hard to manage. And those system had huge economic impact. Which made perf and correctness valuable again, especially since they had a lower price of entry.

I do a lot of Python, usually with dynamic types and mixing IO everywhere. It works surprising well for a ton of cases, and can scale quite far. But I recently wanted to make a system that would provide a plugin system that included a scriptable scenario of input collection that would be chained up to a rendering of some sort. This required to disconnect completely the logic of the scenario - controlled by the 3rd party dev writing it - from the source of the input, and to make the API contract very strict.

It was quite a pleasant experience, seing that Python was capable of all that. Type hints work well now, and coroutines are exactly made for that use case. You can make your entire lib Sans I/O using coroutines as contracts. The automatic state saving and step by step execution is not inelegant.

But you can feel that it's been added on top of the original language design. It's not seamless. It's not shepherding you at all, you need to have discipline, and a deep understanding of the concepts. Which is the opposite of how it feels for other more core features of Python: well integrated, inviting you to do the right thing.

I'm hoping the technology will advance enough so that we eventually get one language that can navigate both side of the spectrum. Giving you the ease of Python/Ruby scripting, data analysis, and agility for medium projects, but letting you transition to Haskell/Rust safety nets and perfs with strict typing + memory safety without GC + good I/O hygiene in a progressive way. Something that can scale up, and scale down.

Right now we always have to choose. I've looked at swift, go, v, zig, nim, various lisps and jvm/.net based products. They always have those sweet spots, but also those blind spots. Which of course people loving the language often don't see (I know some people reading this comment will want to shim in their favorite as candidate, don't bother).

Now you could argue that we can't have it all: choose the right tool for the right job. But I disagree. I think we will eventually have it all. IT is a young field, and we are just at the beginning of what we can do.

Maybe as a transition, we will have a low level runtime language that also include a high level language runtime. Like a rust platform with a python implementation, or what v-lang does with v-script. It won't be the perfect solution, but I'd certainly use something like that.
Global variables are fine, mutable global state is considered bad style.
Yeah that’s a very good point.

There may be multiple reasons but a performance reason of which I’m aware is downward stacks are more efficient for allocating aligned memory:

sp = (sp - size) & align;

That’s only two instructions, with a stack that grows upward:

sp += size;
if (sp & (align - 1))
sp += align - (sp & (align - 1));

Which is a few more instructions. Of course you can alleviate this by requiring an alignment invariant in the ABI, which is usually done anyway.
You're wrong. There I've corrected you.
You understand that "Number of bitstrings of length 10" is a function of the cardinality of your alphabet, right?

A binary alphabet has 2^10 such strings.
A decimal alphabet has 10^10 such strings.

So before you can make the assertion you've made you first have to answer two question:

1. How many symbols does your alphabet contain?
2. How did you choose that number?

Down that path you arrive the Linear speedup theorem.
https://en.wikipedia.org/wiki/Linear_speedup_theorem
The Government Digital Services of Singapore developed a Contact Tracing protocol using Bluetooth called "BlueTrace." The protocol is what supports their TraceTogether app. They are working to open source the technology now and are set to publish it soon.

https://bluetrace.io/
Implement Digital Learning in Your Educational Model
> Efficient capital markets are an extremely important part of a market economy.

i was under the understanding that the entire point of the medallion fund is that markets are not efficient and can be taken advantage of, which is exactly how medallion works.
This is just a listing of restaurants that use Square register.
> If you didn't hire them, there is no way to tell benign attackers from other attackers, and they can deal.

The better way to deal with this is to make your firmware secure regardless of whether someone can pull it off your device. Making security engineers’ lives difficult just means that you’ll find out about bugs from the news when they’re being sold to authoritarian countries to suppress dissents rather than the paper on firmware security that a graduate student was going to write before they decided to move to a much nicer platform.
This. The paper I want to cite, I actually make an effort to go to its author's website and grab bib from there. That's the only definitive source of how the author wants to be cited. Grabbing bib from automated tools has created bib hell that we rely upon Google Scholar to clean up via fuzzy matching which screws up things quite often.
In the universe of a persistent attacker?
Stepping back from concurrency for a second, you can't even implement `RefCell<T>` without `unsafe`. Any method that takes `&self` and performs "interior mutation" is unsafe to implement.

Not sure whether you would consider that to be by "design", "necesity", or a "compiler/language deficiency".
Of course. Linux famously "doesn't break userspace" so almost anything that works in 2.6 still works today.
On one hand, I really welcome technologies like this that empower people in a huge way. On the other hand, I really dread that in this case it comes from the company that wants to know everything about you.

The example where Google hid a microphone in Nest makes me believe they will do anything to get more information from people. I think it's not beyond Google to use people's handicaps to improve the image of Google Glass. Sorry to put it like that...
Ask HN: Where can I post my Mac OS App?
> The other person has to feel threatened or such.

Nope, they just have to want it to stop :)
Git Merge 2020: a celebration of Git
You're talking about ActiveSupport probably, and I really love it. It augments Ruby in a very beautiful way.

I really like
2.days.ago

There were zero times were I wished it wouldn't do that.

But to each his own.
> I have noticed a certain phenomenon where people who are bad at something read books about it to compensate, and then having read books on the subjects start considering themselves experts on it and preach to others, closing the loop from descriptive to prescriptive.

I had a bad case of this, I did it a lot. Fortunately, some people made me aware of this tendency. Now a lot of those things I've learned are natural as if they've always been part of me. To be fair, there's 10 years in between both points.
Getting hashtags for text and for image by API: now public
You can test this without registration or developer token.Just give it an image and hit the button for the results.
See hashtag suggestions for image and test it in the API dashboard: https://ritekit.com/api-demo/hashtag-suggestions-image
For text: https://ritekit.com/api-demo/hashtag-suggestions

This API is what is used in the RiteTag consumer product: the site, browser extension and mobile app.

TIP: photos give the most and best results, especially for the Instagram hashtags. The more visual information in the photo, the better the hashtags.
The idea is great. I guess i would prefer to use the glasses by Bosch instead, that looks like totally normal glasses and projects an image directly on to the retina.
https://www.bosch-sensortec.com/products/optical-microsystem...
For anyone (like me) who doesn't know what monkey patching is, wikipedia says it is "dynamic modifications of a class or module at runtime, motivated by the intent to patch existing third-party code as a workaround to a bug or feature which does not act as desired"

https://en.wikipedia.org/wiki/Monkey_patch
Ah! I was under the impression this was a legitimate company that deserved to be traded. It sounds like it absolutely should be delisted.
I've been using Parsec, it's marketed as a game streaming service but it just streams your whole screen at a very good rate. It works perfectly for me.

Before I tried Windows Remote Desktop and TeamViewer and had issues with both. I specially had issues with the mouse not being replicated properly so 3D software bugged out.
Thanks for you piece of advice.
> It certainly did in Wuhan. Instead of griping about the economy, why don't we actually work on measures that will let us leave lockdown?

It's a global epidemic now, Wuhan isn't safe. What measures will really let us leave lockdown, other than hunting down and isolating (or worse...) infected world-wide?
How does it integrate into other GPU-accelerated frameworks such as TensorFlow or PyTorch? E.g. I could use Streamz to perform some preprocessing (on GPU) and make that available as a tf.data dataset. Can I just pass on the GPU pointer, or would there be a GPU->CPU->GPU transfer?
Writing a short story about burnout
With these systems, I've often found that black-box testing is what is required. This is at a systems level, even higher than this blog suggests. Yes, there are specific error scenarios and timing situations you may not cover with such tests. However, if you tackle the system holistically and make your tests from an external actor perspective, you can get a long way without concerning yourself with implementation details beyond the ones needed to deploy it and all dependencies in a repeatable environment. It does take time to build the harness to have reusable test pieces, but it's often worth it. As a bonus, you'll have a specification to meet as you try to replace the system (though the suite is rarely enough to give confidence on its own).
What are you talking about ... how is Italy, Spain, France holding up in this pandemic???

Are you going to blame the fool for their lack of not being able to predict the future too; not stockpile up on millions of the medical equipment/supplies we now know that is needed?
Unless you require your programs to be formally verified or use dependent linear types, the best you can do is an effect system, STM and GC. There is no panacea.
do you never have to check for all the calls to a given function in large-ish programs ?
That is because China took drastic measures to control the spread of the virus. Many of these interventions were existing systems and cultural norms that were already in place due to the previous SARS epidemic. The US, for example, gave up on contact tracking fairly early while China had 1500 teams of at least 5 people doing contact tracking(and are still doing it)

If R0 is in the range of 2-3 the interventions need to reduce transmission by 75% to 85% to get R0 values down to 0.5. At that rate exponential decay starts and the math works the same in the other direction.

The China or South Korea data isn’t especially comforting when you look at the scale of interventions required to bend the curve.

https://www.businessinsider.com/chinas-coronavirus-quarantin...
I loved Think C 5 and devoured Dave Mark’s books on programming with the Mac toolbox in the early 90s. Good times.
There are also bracketing methods, where you first have to isolate roots to an interval and then approximate the root within that interval. Regula falsi and secant methods are examples of these and in my experience especially regula falsi works very well.
Nobody from the WASM working group is working on that though, so the probability of direct access to the page’s DOM is close to zero. Programmers have been hoping for this for years but WASM has been very clear that isn’t in the project’s design path. The are intentional design objectives limiting that work officially but likely the largest hurdle is overcoming various security and privacy concerns already in place due to the isolation of WASM instances from their containing page.

Far more likely, and this already exists in various unofficial examples, is that WASM instances ship with a DOM for accessing markup provided by or requested into the WASM instance.
Curated List of Non-Mainstream Libraries for Machine Learning
I thought about this at one point in my life. We don't get to experience the pain and suffering that medieval people or cavemen experienced. I think their pain and suffering was much more brutal than what most of us experience. I mean, the child mortality rate was a lot higher, people died younger and you couldn't fix ailments easily.

I figured that it gives such people a mentality in which they are simply accepting live as it is, because you kind of have to by force (in a sense). I think the introspection from that would also be really valuable. But the issue here is: the price is too high.

And I also think that's the case for the autistic group that has trouble with integrating themselves in society in the way they want to. Yes, resilience gained from introspection, for example, is amazing. But the cost might be to live with almost no close friends.

Obviously, this is a sketched scenario and doesn't apply to everyone. But I can imagine that the cost is too high for quite a few people who have issues with social skills. Unfortunately, we still live in a time where we pay a fairly high cost for integrating into the social fabric of society when you're not able to do that by yourself.
I appreciate your analogy. I was trying to sense if it fits for people trying to exit positions, but I ultimately decided it doesn't matter if it isn't an exact fit - the point is people deserve protection.
Productive Rust: Implementing Traits with Macros
Of deaths? Here's Spain. They implemented lockdown on about the 7th of March.

https://www.ft.com/coronavirus-latest

https://www.worldometers.info/coronavirus/country/spain/

8th 17 deaths
11th 55
14th 196
17th 533
20th 1093
23rd 2311
26th 4365
Without doing any research: much like how mastercard supplied negerias ID cards (which double as credit cards). there is often no real alternative route for these government to get things like healthcare, so i highly doubt that there would be illegal trails rather than legal trails (be they against international agreements or not).
Yeah, that was my initial reaction (though without your knowledge of the topic): there are a lot of people who could benefit from this, not just those with autism.