skysight-inc/HackerNews huggingface dataset:
Clojure is particularly well suited - at least Rich Hickey would claim - to real world applications with unsafe or unstructured inputs. I.e. complex programs that receive or pull data from external and loosely-typed sources. A lot of web programming falls into this category. Why is it well suited to these? Because it is dynamic, and offers rich runtime solutions to validation (Spec), has immutable data structures, safe and relatively simple concurrency primitives, and has the expressivity of a lisp. It also has access to the vast array of JVM libraries which helped early adoption (but possibly hindered it in the longer term?!).
The most common cause of pregnancy when using condoms is improper use, either due to lack of education or for other reasons. When used properly, condoms are rather effective.

Another method whose safety approaches that of oral contraceptives is cervical mucus tracking. But this also requires education. The method is also not suitable for all women and lifestyles. In one study[1], around 5% of prospective participants had to be excluded due to irregular menstrual cycle. Dropout rate due to dissatisfaction or for other reasons was 9.2%.

Also note that with IUDs there can be spontaneous expulsion, and there are health risks associated with it. So while very good compared to other methods, they are not best in all categories.

[1] https://doi.org/10.1093/humrep/dem003
More talk about "rebooting" the Internet (including TBL, et. Al.).

1. Is it really probable?

2. With what that won't cause further fragmentation?

Also, is this what they're using to reboot the internet?

> A powerful document manager for Mac, Windows, and Linux for managing web content, books, and notes - supports tagging, annotation, highlighting and keeps track of your reading progress.
Game traffic is usually encrypted. How good depends on the game. So you might only see some packets with a larger payload and deduce stuff from there.
Type annotations at the signature level are documentation, so I'm not so sure if global type inference is really better than local type inference. Also HM type inference doesn't play nice with type systems with subtyping or method overloading.
sounds great. I'm also a big fan of online dating and different dating apps.
You still fail to see it, do you? Or maybe you're just too blinded by western mainstream propaganda, or even deliberately trumpeting the propaganda. I'm not sure.

The whole precondition and reason of all those other countries being allowed to join this so-called "global civilization" and play by the so-called "rules" is because America remains the undisputed No.1 in this set of rules. America pretty much controls every aspect of the social fabric of its allies and they can't live without their big brother and protector.

If you actually talk to some Japanese and Germans, or even French, you'd find out how much apathy and even antipathy towards this American hegemony they harbor. Particularly those who don't stand to benefit a lot from this situation. I recall particularly vividly a survey where the perceptions of Germans towards America are substantially worse than the perceptions the other way round.

For CCP, the national independence and sovereignty is always the top priority, not least due to the humiliations and pain suffered in the hands of the former colonial power.

Naturally, the consequence of the rise of of an independent China is that the American hegemony is under threat. And this is the reason why America has been so keen to act against China. This is understandable, as power transitions/struggles between two great powers have rarely occurred peacefully throughout the history.

But at least you should recognize this reality instead of trumpeting the "global civilization", "democracy" propaganda nonsense. If the US actually cared the least bit about civilization and democracy, would it have sent agents to topple so many democratically elected regimes around the world, just to install their own dictator puppets and let the people suffer in eternal poverty? Would it have fought so many senseless wars and killed so many civilians?

The aim of the US is to keep its hegemony and try to keep all the other nations in their "allocated" positions. It doesn't give a damn about whether the actual population of those nations improve their living conditions or anything like that.

Similarly, the so-called "doves" are not really concerned about China's growth, but rather have expected China to occupy a preallocated place, where it would perform the roles that benefit the West, but not threaten their dominance in key industries and sectors at all. "How nice it would have been for China to remain a cheap manufacturing hub instead of trying to become a technological superpower." Too bad. China is not willing to play the ball and harbors greater ambitions than that, which it has every right to do.

This is just how politics works. But at least see it and acknowledge it. If you can't even do that, you're not seeing through even the most simplistic mainstream propaganda, and that's tragic.
Are you building a video editor web app like this one : https://011.video
This is what I call fake work.

This company builds a team vacation tracker. As long as it's reliable, their customers could not give a rat's ass whether it runs in AWS, Google, or Joebob's House Of Ill Compute. Every engineer hour spent creating abstraction layers and docker containers and whiz-bang multiplatform plumbing is an hour that could have been spent working on something your users actually care about.

Switching clouds is a cost optimization. You have to be an enormous company (or in a resource-intensive domain) before this is more productive than building features. It means you've moved out of the growth phase and into the "how do I milk what I've got" phase.

Vendor lock-in is something that engineers care about because they like playing with tech. It's cool switching platforms or databases or whatnot because it really feels like hard, sophisticated work! But it doesn't move the needle.
Twitter Rallies as User Count, Revenue Impress Wall Street
There is also value in keeping your passion as something you enjoy and brings you happiness in your leisure time, rather than turning it into something that brings you stress and pressure full-time.
It would not surprise me given the pervasiveness of the double standard. I've seen a old woman directly sexually assault a young boy in public and no one call her out on it. It was treated as a joke and even I took a few moments to realize just how differently I reacted compared to if we reversed the genders. The boy played it off as a joke because that is what he was conditioned to do, and it was another incident that will never be reported in any sort of reporting.

There are also numerous self reports by bouncers in bars that point out how bad it gets and the extent of the double standard.

Or consider the case of celebrities openly admitting to such crimes of recent and the vast difference in social reaction based on the gender of the celebrity.
(find (most people) difficult (without (infix operations) (to expressions write)))
But how does it fare in the freeway section that previously caused the barrier fatality?
I wouldn’t be surprised if that’s counting what religious Americans give to their church as “charity” though.
Ask HN: How do you break a UI design for a mobile app?
Hi,

I am web developer who is building his personal mobile app for the first time using react native. I am seeking tips on how do you break down ui mockups into react/react native components?
The JVM doesn't use more memory than other virtual machines, the problem is that it doesn't release memory back to the operating system, which is why it is being configured with a maximum heap size. Also compacting garbage collectors need more memory available for de-fragmenting the heap.

I've been running a simple JVM web app on my own personal server with an allocated 128 MB of RAM and a lot of that is actually unused. You can do a lot with a heap of just 64 MB.

People aren't aware, but when running your average PHP app you need more than that with just a couple of requests done at the same time, whereas my JVM server can easily handle 1000 requests per second. Similarly Ruby or Python apps can be big resource hogs, especially when you end up setting up multiple parallel processes.

I was also surprised to find that compilation to "native" isn't necessarily efficient in terms of used memory. I've built a similar app in Haskell and the used memory ended up being higher and more unpredictable. If something like Go fares better, it's not because it is compiled to native.

All in all the JVM is actually quite efficient in terms of used memory, for a garbage collected language ;-)
You can also do it in a one-liner in C++ if you're using shared pointers:

if(auto obj = my_weak_ptr.lock())
{
do_stuff(obj);
}

> Having to pay for a check is "paying for what you use". If you don't like it then don't make the object nullable in the first place and save yourself the test.

The point is that I can choose _when_ to pay that cost (e.g. I can eat the nullability check at this point, but not at this point, and I can use more sophisticated tooling like a static analyser to reason that the null check is done correctly).

Is it more error prone? yes. Does it allow for things to horribly wrong? yes. Is "rewriting it in rust" a solution? No. If I want to pay the cost of ref-counting, I can use shared/weak ptrs.
With the growth of stablecoins, there is an opportunity to prove out use cases that depend on stable value.

Regardless, I do think there's value to smart contracts, even with a volatile/speculative currency:

https://www.nemil.com/crypto/why-cryptocontracts-matter.html
One of the great things about an IUD (the hormonal ones at least) is that it often makes your period stop. I used a cup with mine for a few months without a problem, but then stopped needing a cup at all.
Clojure is popular? It's at the bottom:

https://insights.stackoverflow.com/survey/2019#technology

As much as I love Clojure, it's still a harrowing language for beginners to learn and use. The learning curve is just too high. If you have to learn category theory in other to handle basic programming flows, then there's just something wrong.

Elixir, for instance, has many functional primitives, but isn't dogmatic about it. It can "feel" like traditional OO-style programming without the cruft.
The issue is a bit of both. Customer assumed private company had unauthorized personal data after the company performed the boarding pass checkin.
Is this a new product? I've only recently heard of them, but it seems like I'm hearing about them a lot.
Great White Sharks could present a danger to baby orcas, so adult orcas seem to sometimes kill the sharks as a protective measure.
Variational graph auto-encoders, also by Kipf and Welling, is another great short, understandable paper. [1]

[1] https://arxiv.org/abs/1611.07308
You're misrepresenting the report in order to justify your bias. Direct quote from the report:

This is not to say that C is less secure than the other languages. The high number of open source vulnerabilities in C can be explained by several factors. For starters, C has been in use for longer than any of the other languages we researched and has the highest volume of written code. It is also one of the languages behind major infrastructure like Open SSL and the Linux kernel. This winning combination of volume and centrality explains the high number of known open source vulnerabilities in C.`

In other words the report explains this with 1) there being more C code in volume and 2) more C code in security-relevant projects (which are reviewed more by security researchers). It also states explicitly that your conclusion is not to be drawn from this.
Is vendor lock really an issue that needs to be solved? I am wondering if one had to ever switch vendors in practice.
It sounds like over optimization to something that might not even be in the requirements. I remember a few years ago when infrastructures were designed to be able to handle 1m+ requests per second long before market validation. Keep it simple and focus on getting your app to the market.
You might also be interested in Raxx.Kit, A project generator that gets your project started as quick as if you were using phoenix https://github.com/crowdhailer/raxx_kit
...I mean, you can exchange it for goods and services, so “failure” is rather premature.
A lot of credit for that goes to Rich Hickey - from what I can tell, he did a very successful job early on of 1) designing a Lisp with a unique combination of ideas and 2) publicizing it in a way that resonated with a people.
Ask HN: What is your diet and exercise routine like?
I've got to make some real changes.
Bitcoin (small c)
.NET has come up on par, or slightly better than, the JVM in recent years in terms of performance. Ecosystem may not be as big but its pretty well fleshed out.
Fair enough, but the general commentary in this thread was about the excessiveness of the 26 month sentence; I think the comparison is valid since it illustrates the lack of fairness and obvious influence of wealth & connections in our justice system.
> The problem of not being able to break down your project and understand it piecemeal.

That's just incredibly untrue. It's FUD spread by OOP and FP zealots.

> All those global things are a common source of bugs, as different pieces of the program make subtly different assumptions about them.

Do you want to say that my logging routine is more complex because my windowing handle is stored in a globally accessible place?

> Perhaps a certain amount of global state is unavoidable. That's not an argument against minimizing it.

My advice is to make clear what the data means. Make it simple. Don't put a blanket over what's already hard to grasp.
How the heck Clojure has any relation to category theory? Clojure explicitly does NOT require nor use any explicit CT. Maybe you confused Clojure with Haskell?
If you're interested in generation of an electric or thermal current with heat/electricity, the names to search for are Seebeck-effect and Peltier-effect.

The piezo effect is when there's charge separation due to mechanimal stress.
Maybe I misread? My takeaway was that their frontend web server handled concurrency just fine and was happy to dispatch requests to the backend in parallel, but the backend couldn't keep up and the frontend returned timeouts. That's exactly what you get if you put a bunch of multithreaded web servers in front of a single-writer SQL database that needs to be hit on every request.

Yes, most such cases should be rearchitected to not go through a single choke point. But my claim is that this isn't automatic merely by developing for the web, and going through a CP database system is a pretty standard choice for good reason.
> Germany requires all citizens to have a biometric ID card

Partially true for your picture, that is restricted to the ID itself. And that is a relatively recent addition. You can still get an ID with "imperfect" biometric photo, which you provide yourself. Biometric photo is defined by some rudimentary rules (you are not allowed to use a picture of the back of your head) that isn't comparable to fingerprints in any way.

> I’d expect any social/political/legal bugs to have been solved by now.

heh, have you written a test?
this toothless centrist smarminess is what led me to cancel.
>Sex-trade workers are disproportionately women, and most of them are very low-status, but relatively few are counted as homeless

They are making a trade in exchange for resources. No matter how horrible one thinks that trade is, it would rank as slightly better than the people who don't even have that option.

Of course those in actual enslavement situations are in even a worse position, but you then get into the movement of slaves based on where they can be most exploited and thus gender ratio of slave.
Maybe so, but that’s quite different from “literally ended.”
Rise of ghost hotels casts pall over Toronto rental market
I see a lot of concerns here about the obvious security and privacy issues that a database like this would create.

I share those concerns, but there is one other issue that I don't see mentioned here.

These sorts of government IT projects are always plagued with delays and tremendous budget overruns. It wouldn't surprise me if this takes at least 10 years and a billion euro to complete, if it isn't cancelled before that.
To be fair the report explicitly states this limitation. jcelerier just conveniently forgot to mention it.
Riverbed Pilot[0] (or whatever it's called now) may be what you're looking for. It works incredibly well to help drill down the haystack, and then export that particular part to Wireshark. Do like.

[0] https://www.riverbed.com/gb/products/steelcentral/steelcentr...
I used openshot for severals weeks, but it was just buggy and crashed a lot of times. so I switched to lightworks.

ubuntu 18.04 here.
You can do some nice things in Lua [1], but the one I'm most interested in at the moment is probably Terra [2]. Its concept is that it's a language like C, but uses Lua as a sort of preprocessor Language, so you can use complex macros, templates, etc. There's even a java-like class-system, if I remember correctly.

[1] https://github.com/darkwiiplayer/moonxml

[2] http://terralang.org/
IntelliJ plugin for Rust can do some refactoring (renaming functions and variables - it's all I use and remember).
I think this is accurate (in terms of exposure, not that it's hardly used). As soon as it was possible for other languages to run on the JVM, the huge amount of developers working around JVM infrastructure that didn't like the sometimes painful experience of working with Java, started looking at alternatives.

Groovy, Scala and Clojure were the early contenders that people were exploring and Clojure seems to have won a lot of mindshare.

The thing about Java isn't the language or the JVM it's the App Servers. Enterprises have invested heavily in the App Server infrastructure for deploying JVM based code from monitoring, training, etc.

Throwing all that away to use a non-JVM language is a REALLY hard sell. Those app servers are very well done.

Running on the JVM made using Clojure, Scala and Groovy possible in places where other languages wouldn't have been. In the early 2000s, it was Java and everything else.

The .NET ecosystem was awful at that time. The programming world was essentially, Java, Perl and PHP 4 in terms of enterprise usage. People said the words "Enterprise Java Beans" without a chuckle.

People were HUNGRY for better options.

Now you've got a solid C# ecosystem, Elixir, Go, a dominant Python ecosystem, significantly more polished PHP, K8's & Docker that make automating the infrastructure around all different languages consistent...it's just a different world.
Thank you for sharing your experience. I'm not sure why you're being downvoted.
https://outline.com/mHDHEM, if the article is pay walled.
Thanks for clarifying! Darn, that's quite a bummer then. I understand not supporting it anymore, but it'll be sad to see that old stuff just break on that date.
Well, there's very little (if anything) that "serverless" can do that other techniques can't accomplish. It's about costs & benefits, not whether or not you can do something.

Though I tend to agree I'm yet to hear a really compelling description of why I should move very much into it. Some of this may be because I tend to write in a style that makes it fairly easy to mix & match bundles of application functionality anyhow, so to me adding some tiny function to a running app isn't that big a deal. (I don't use Erlang directly, but Erlang is where I learned this from.) If you're in an environment where deploying a single new REST handler or some recurring service is much harder, though, I could see where it comes in handy for certain things.
It's a shame to ruin a perfectly good hobby by making it a job.
I don't think there was much of a difference. Effectively BNW=1984+drugs, but because there are no such drugs, 1984 is the only implementable option, pseudo-BNW is unsustainable, doesn't solve their problems and so is just a detour, because they couldn't go 1984 directly due to technical problems.
I found the exact opposite when learning math. I need to write it down, and when presented with Power Point I have to transform it into something I can understand, and that means I don't have enough attention left to really listen to the lecturer.

On the other hand, the lecturers that used a blackboard at my uni all had prepared the lecture, what they wrote was meant to be written in a notebook. They wrote it at a pace that could easily be followed. This allowed me to go over proofs as I wrote them down, and I could then ask right away if there was anything unclear.

I also found several typos (usually a sign error or a missing term) this way, something which would probably have confused me a lot if I didn't catch it until I got home.

So, for me, well-prepared blackboard lectures is preferable, at least for math heavy stuff.
There’s nearly a limitless amount of standard and well-defined functions with a single usage, like those. There’s hardly a point in implementing them in the standard library and C++ is the only language that I’m aware of that has those.

If the goal was to create a specialized library for solving differential equations, those would be handy there. But if not, even if you tried implementing everything that you could potentially think of to implement, there are hundreds of things that are orders of magnitude more useful to have and equally well-defined and standardized—even if we limit ourselves to mathematics alone, I’d much rather see basic constants like π or e included, or quaternions, or arbitrary precision integers, or decimal numbers… or dozens upon dozens of other things before that.

But mainly, I find it impossible to maintain the claim that any general-usage language, like C++, that implements such niche functions is trying to keep its standard library small and ‘include only elements that have a somewhat settled, "obvious", lowest-common-denominator semantics’.
Arb...
Welp, for some people it's "Who the fuck cares?" about the former 2 categories as well. It'd be great to have notification settings separated by categories, but I imagine it being dificult, having so many different news vendors (then again, if anyone can do it it's Apple).
This should be the canary/coal mine for whether or not regular humans can have opinions that differ from the master class/billionaires. Even if you are a titan in the field of AI Ethics, google has no use for you if you disagree with the masters. Google will lose 2 unbelievable female scientists, who also have exhibited far more compassion and empathy then we can expect from googles AI in the future.
If meat is so carcinogenic, why was cancer so uncommon until the last century or so? We are not eating any more meat now than we did a hundred years ago, yet cancer incidence is skyrocketing. So, why do we believe that meat causes cancer?

There have been numerous research studies claiming to tie red meat to cancer (particularly colon cancer), however, these were weak epidemiological studies, and are not representative of results in the field as a whole. The fact is that studies of meat and cancer yield very mixed results. Many studies show no connection at all between meat and cancer, and some studies even show a protective benefit. There is simply no solid scientific evidence to support the belief that red meat increases cancer risk.

This did not stop the World Health Organization (WHO) from proclaiming to the planet in October 2015 that red and processed meats cause cancer. Unfortunately, the WHO report is all smoke and mirrors. To see what I mean, please read my detailed analysis of the WHO report: WHO Says Meat Causes Cancer? http://www.diagnosisdiet.com/meat-and-cancer/

(That's a copy-paste from the originally article that you patently did not care to read)
Please don't disparage that which you do not know. You must be confusing Clojure with Haskell, it requires no category theory.