skysight-inc/HackerNews huggingface dataset:
Elixir and Phoenix is a great option. As a functional language, the focus is on pipelines of functions that progressively transform data structures, which is how Phoenix processes requests (through "plugs" transforming a Plug.Conn struct), and how Ecto, the database library, performs validations. Pattern matching and assertive programming, the use of keyword lists for optional arguments, behaviours (i.e. interfaces), and an ergonomic macro system make the language (almost) as productive as something like Ruby, and typespecs, along with Dialyzer, allow you to claw back some type safety. The architecture that Phoenix promotes, particularly the use of contexts, encourages you to write maintainable, well organised and encapsulated code.

LiveView is really Phoenix's killer app. It allows you to write responsive SPA-like applications without writing any JavaScript. It sends user interaction to the server over websockets and ships an optimised diff structure back to the client to patch the DOM, without having to deal with client-side state management and JSON deserialisation. It's built on top of OTP GenServers, which make it easy to write performant, stateful "processes" that scale well and are monitored by "Supervisors" that deal with restarting (or otherwise dealing) with them in the event of crashes, which reduces the need for defensive programming.

The ecosystem is also quite good, and I've found well-designed libraries for dealing with most common problems, such as auth, persistent background jobs, serialisation, wrapping common APIs. Documentation for every library is available on hexdocs.pm, and is usually decently comprehensive. For Phoenix itself, pick up Programming Phoenix, which does a better job of giving a big-picture understanding than the docs, but only has a short chapter on LiveView.

By way of criticism, I'd say that Phoenix should work on improving its directory structure to be something similar to [0], and deployment story (it's relatively difficult to find a nice solution that deals with things like migrations).

[0]: https://elixirforum.com/t/best-practice-for-directory-struct...
Process it into commodity cannabis compounds (THC, CDB, etc) and lower the prices to fair and reasonable.

The Canadian cannabis market is regulated by idiots for the benefit of companies, and the consumers are taken advantage of.
I'm actually a little confused by the text.

(source: https://twitter.com/jerrybrito/status/1423429377459736577)

The exclusion is for "validating distributed ledger transactions through proof of work (mining)" -- is that meant to cover validation by any full Bitcoin node (e.g. random person who wants full control over transactions involving a personal wallet), or adding new transactions to the ledger via mining?

(I guess, this basically comes down to what's meant by "validating through proof of work" -- the actual PoW is provided by the miner, but other full nodes are needed to validate the actual transaction.)

Because to me, either the validators are affected (thereby significantly impacting the overall robustness of the network, which I would hope reduces its trustworthiness and therefore the currency's value as a result, as well as the ability for individuals to control their own wallets), or miners are affected directly.
Have we established that? Certainly not a reality I recognize. The processes involved in CSAM databases like NCMEC/ICSE are many years old. If it leads to widespread civil rights abuses, where are they?

Google Drive has 1bn users. Google scans content for CSAM already. Shouldn't we be seeing these negative side effects already?

Proponents of these systems can point to thousands upon thousands of actual "wins" (such as identifying teachers, police officers, sports coaches, judges, child minders etc who are pedophiles) and detractors cannot provide actual evidence of their theoretical disadvantages.

No system is perfect, no system "guarantees civil freedom", this is not a fair test. The actual evidence suggests automated scanning for CSAM is a net win for society.
Yea, you have to ask people “do you like walkable cities enough that you’d be willing to let a for-profit developer build houses and vote for an otherwise-unsavory politician who repealed minimum parking requirements?”
The article mentions a single tweet with a comic depiction that includes possibly exaggerated Asiatic features. Whether this kind of thing qualifies as “racist”… opinions may differ, especially since the article does not provide the original image.
Yes, and in principle you can generalize the type language into a full language with lambdas and such (type constructor is a lambda(ground type)->ground type), though you typically want it to be strongly normalizing so you know that the compiler will eventually halt. Then you don't need kinds, kind polymorphism, sorts, etc., you just have a dependently typed language with types and universes.
> " if a product is reaching the end of a production line with a high acceptance rate, there is no need for in-process testing."

> This is really interesting, probably controversial, but worth a lot of contemplation and I wonder how this could apply to software.

Depends on the field. In windows the user will test it with no repercursion to the developer. In other industries every bug which is discovered by customer is expensive.
This is the strongest reaction I can make as an open source developer.
These trolls should be billed for wasting everybody's time, including ours.
> So, you think the gas stations are charging you the cost of gas? Fast food joints charge you according to the cost of a hamburger or a soda?

It costs more than the cost of the goods to run a business. There's also the cost of payroll (if you remember, that's the cost I said would go up leading to higher prices). And rent, or the capex for the land and building. Maintenance. Utility bills. Taxes. Regulatory compliance. The list goes on. There's also the cost of risk, such as staff illness and any adverse business conditions (a temporary downturn caused by a pandemic included, but also seasonal variations, changes in fashion, and so on).

All of that gets factored into "costs". Once it's all factored in, then yes - if the gas station is in a competitive market, then it's pricing will be approximately the same as its costs.

Again, this is Economics 101. If you really thought that these weren't included in "cost", then perhaps you need to study the subject before making absurd claims.
Then make the very first block PoW, which switches to PoS from there after. I'm sure the bill hasn't been written to take into account any duration and so is merely a binary question.
Probably meant "wars in medieval times were* shorter and less bloody than* before and after"
I use pandoc [0] to convert GitHub style markdown to pdf/epub with some customizations of my own.

I'd probably try templates [1] already available if I needed printable version.

[0] https://learnbyexample.github.io/customizing-pandoc/

[1] https://github.com/Wandmalfarbe/pandoc-latex-template
This is a great idea, thanks OP.

I've been wanting to cultivate a habit of reading a relevant paper (or abstract) at some cadence, such as once a week. Can anyone recommend a way to find the important and/or influential papers in a given field? Maybe something similar to The Morning Paper.

Edit: thanks everyone for the great suggestions!
Let me put it this way. How linguistically innovative do you think Trump is?
https://en.wikipedia.org/wiki/For_sale:_baby_shoes,_never_wo...
Interesting, how do you check/respond for such HN posts - do you take in count the upvotes/visibility on the front page, or you just scan "Tell HN: *Stripe*" posts even with zero upvotes?
Compile type computations, trivial cross-platform building and linking, vastly better error handling, and more. Honestly, I'm having a hard time seeing how these are only "incremental" improvements over C.
Great idea! How do you choose papers? Is it all free??

Would be good if you could further narrow down from the topic to subtopics.

A small glitch, when I deselect 'Select All' it doesn't clear topics.
https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...

https://www.apple.com/child-safety/pdf/Apple_PSI_System_Secu...
Apple in the eyes of many had one redeeming feature over the competition: they appeared to value privacy. The problem is that the 'many' are still a small minority, and that the much larger contingent that Apple serves sees them more accurately for what they are: a consumer electronics manufacturer, where privacy is not an absolute concept but something malleable as long as it serves the bottom line.

The tech world seems to have a problem reconciling these two views.
You can write Marita Rodriguez on mrodriguez@ncmec.org if you have any concerns or questions about the collaboration between the entities.
Well, you can't save your friends, but you can save yourself: https://nixos.org/
People have a right to be wrong. We've been wrong about things ourselves; and shouldn't forget the possibility it may happen again.

If it's really important to you that someone you don't know share your beliefs about germ theory, or anything else, ask yourself why.

Would either the full conversion of the heretic, or their elimination, make any actual difference in your life?
Yes, Los Angeles is a walkable city. Here’s how we discovered it
Drug detection dogs sit down near the bag. They don't bark.
They have also indicated that a single match won't be enough to trigger it, so an accidental match (being that 1 in a trillion person) is not enough.
If by electric you mean batteries, it’s only realistic for very short flights.

For longer flights there are other more realistic alternatives with no net emissions, which are mainly hydrogen (made from electrolysis) and biofuels (made using carbon already present in the air).
It is ambiguous and lacking context clues to point to one or the other. I think they should both be spelled out in titles.
Thats not evidence. That is just a claim made by the professor, which is denied by the former student and which, according the the article, is not reflected in the tone of the emails exchanged at this time, either.
If you don't like it, you can use Protonmail instead of Gmail, and Mega instead of Google Drive, and still being able use Android device. But I totally understand frustration of users, whose smartphone suddenly turned into spyware.
So wait, they're holding (and destroying!) massive quantities to keep the price of medical marijuana "34% higher" than the black market price, then acting surprised that their product isn't moving?

> Forced, in most cases, to sell to a provincial wholesaler along with everyone else in the sector

Okay I know nothing about Canada's cannabis market, but who thought that could possibly be a good idea?
I'd trust an email record over he-said / she-said claims.

"Losing temper" is quite vague; and evidently, it didn't warrant terminating the relationship until the tweets happened.

Let's not pretend the timing was a coincidence. The relationship was clearly terminated because of the tweets, which has nothing to do with the professor.
Moreover they're worried. A lion doesn't care what the sheep thinks.
Walkable is good... Bikeable is even better
I hadn't heard of a metal shortage during the middle ages ( only seen examples of heavy metal armor worn by nights ). Do you have a link to a resource to learn more about this?
I use Hammerspoon and I have got a modal dialog that I summon with alt-space. This shows me the keys I can press next, and some of them are to move the current window to specific positions and sizes, such as 100% of the height and 80% of the width, on the right hand side.

It's not the same thing as a tiling window manager, but I actually like it better: I can use the 80%x100% size for my browser and keep a terminal on the left hand side. Then I can browse HN while still watching the terminal for output. When there is output in the terminal, that's a trigger for me to switch.
"it's not something we can't handle"

The climate models are improving, but they all paint the same picture.

Between your non-speculative forecasting of "it's all going to be better" and our imprecise, albeit improving scientific models I choose science.

No critically thinking person would do otherwise in this case.
The Voyage Out: Cabin and Steerage NZ
If you're rooted your security is way lower. Simple as that. Rooting can be used against you, it can lead to exploitation, and likely has been.

Note: you can have secure boot without root and using your own Android build, such as CalyxOS. Not rooting doesn't imply using the stock firmware, never has been.
> Do you feel like http server/client is ‘mandatory’ in a standard library in 2021?

A server isn't necessary, but 100% yes for a client. There's a lot of eating your own dog food needed for an http client, like string handling with encodings, network bindings, various collection types, async I/O and/or binary streams, error handling. The resulting client showcases the strengths of the language and its standard library, and most data is on the web today.
This is a completely invalid argument. You have no choice but to pay rent. If there is an asset that goes up in value, you will want to store your wealth in it. if you can directly pay with something that is also a good store of value, then for the individual that is simply the superior choice.

>Using cryptocurrency to transact every day items is directly contrary to the “HODL” culture around cryptocurrency that exists today. It works in society like an investment, not a currency.

That is due to other factors, not deflation. Not many people accept payment, people are forced to hold dollars, paid in dollars and there is friction when converting. Bad money gets spent first (Gresham's law). If you have dollars from your job anyway and your risk profile is to hold some % in crypto, then of course it doesnt make sense to spend your investment which would need to rebuy to rebalance your portfolio.

The deflation problem that you imagine doesn't exist. There are other more worthwhile arguments against deflation but you didn't use them
> contains swearwords

Grow up.
So we have an Apple employee, the type of person who gets extremely offended over such things as "Chaos Monkeys," deciding if someone is a criminal? No thanks!
so your belief is that China built a bunch of renewable power plants in the middle of nowhere with no demand for them, and generous miners stepped in to use the excess capacity?
While iMessage backups to iCloud, this measure is only for photos stored in the iCloud Photo Library. So sending a text with the photo is not enough.
It’s kinda funny because I remember when password recommendations were “use the initial letters of a simple, but novel phrase” and it turns out the password would have been much stronger if actually using the phrase.
It seems that they've managed to set things up in such a way that it's actually more profitable to destroy the cannabis than process it.

Reminds me of the neoliberal take on housing and healthcare.
Parallel construction is another way this is often pursued.
NASA is looking for people who want to spend a year simulating a mission on Mars
Citrix South Beach: a.k.a. the missing link from text to graphics
I'm not familiar with universities outside the ETH rules (ETHZ/EPFL only) but students are paid a salary at these universities and hold dual status as employees and students. I'm not sure if their tuition is waived. Even if they pay the same tuition as masters or bachelors students this is usually around 800-900 CHF per semester, the cost of 2-3 months health insurance. Not money you want to pay if you don't have to, but it isn't UK or US fees.

However there are definitely time limits. You would find it hard to be enrolled on a doctoral programme for 6 years or more especially if you aren't about to imminently graduate, and this is likely the main motivation behind the advice given the proposed 3 year break in China.
Ah, you didn't mention base load or scale, just "coal is cheaper". Thank you for clarifying.

It's becoming clear that (see links that I posted upthread, and the replies) that _any_ blanket statement of "_x_ energy is cheaper" is going to be wrong in some cases, at present. And things are changing year by year.
I am unconvinced by your argument.

The models are trying to predict based on various factors, CO2 being one of them. If you were correct all you are really saying is that the models could be much simpler than still be precise. So on that alone it seems like you are missing the point.

Second of all, while most agree human activity have some correlation with temperature rise we have no actual idea how much. There is no scientifically demonstrated percentage of the temperature that can be attributed to humans.

With regards to the permafrost. This is pure speculation and in many ways relies on the accuracy of the models and doesn't take human ability to deal with it into account. It might be bad it might not, regardless we can't stop living the way we do just because there is some percentage risk of bad outcomes.

We should always take the climate seriously but so should we any other event like astroids hitting earth, super vulcanos, nearby super novas, pandemics etc. The world is always and have always been filled with dangers which is why 99.99999% of all species ever existed are extinct way before humans were around.
When will Nike and Tesla also offer protections against costumers that use their products to commit infractions such as CP?
Yes, considering what XEmacs looked like, I would say that newer Emacs look considerably more aesthetically pleasing. And with certain themes, Emacs can look outright gorgeous.
Perhaps the PoW profiteers are lobbying against PoS?
Ephemeral Correspondence (2015)
You don't need one.

Another advantage.

Of course there are things like my Canoscan 4400F that has refused to work for years, but that is so rare I can remember that particular piece of trash a decade later.
Your comment leaves out the danger of advertising security and privacy when you cripple those things.

All open source projects should be able to take GP's criticism, dev of "competitor" or otherwise — specifically because they're not products — they're public projects.

Both projects should absolutely be encouraged — and steered, if a user knows a better way.
Somehow im guessing it goes
a bit deeper than “I have black friends” in this case. Althoug I haven’t seen the image referred to in the tweet, so maybe it was in very very bad taste and racist.
The police only call in the dogs when they wish to search and the driver does not agree. The airport doesn't do things this way so the same strategy wouldn't work.
They've said it themselves, this has been known for years-

https://digit.fyi/apple-admits-scanning-photos-uploaded-to-i...
The operative separator is “Next”

Apple is announcing 3 new ‘features’.

First one scans iMessage messages / photos on device / warns kids and partners.

Second one is the CSAM photo hash compare in iCloud upload feature.

Third one is the Siri search protection/warning feature.
We must be twins. My lot is 0.14 acres. My house is a two story colonial plus finished basement. Easily > 2500sqft with room to spare.

Also a hundred years old. They don't build them like this anymore.

One car as well. For further out things or things I need to get to fast, I bike. The car is used to visit grandma and grandpa about 15 miles away, to go shopping for big items, and that's it
There are a lot of AI narrator services you can use to create and record custom podcast. There is one called narrationbox which I specially use to create Audio Books from ebooks. You can use it to record custom podcasts as well.
Solving Sudoku Algebraically
I recently began seeing a personal trainer, and he got me to start using this heart rate/calorie burning tracker. I've always felt that kneeling and squatting is good for you, so I tested it out about a month ago.

I spent a couple of hours cleaning my apartment with the tracker on, consciously deciding to kneel and squat whenever I could. Not only did it make the cleaning feel more enjoyable, it burned way more calories than I expected.
You can be selective about it. There is GPS to tell you where you are, microphone to tell you how many people are around, motion sensor, light sensor to sense if you’re in a pocket, etc.

It doesn’t have to be constant, it could even be on demand.

Personally, I am resigned to the fact that this kind of surveillance will happen. Technology cannot be slowed down or stopped artificially. There are just too many actors (not just Apple) to expect all of them to act in good faith. On top of that, the governments all over the world are salivating over this technology too. I don’t trust governments will curtail technology - and thus themselves - via policy. And even if one does, there is always another. This is almost nothing new in the UK, for example.

I’m not optimistic in the direction we have been heading for the ladt 15 years or so.
> being critical of a totalitarian government in that scenario is the height of monumental stupidity.

He’s not stupid, perhaps just naive. If only those with nothing at stake criticize a repressive regime then nothing would ever change.
Why isn't technology reducing the costs to make these movies as well?

Why does it cost a hundred million?

Is it because actors are paid millions for a few months of work?

Maybe that's the real problem.

Previous to technology the limited number of movie stars and rock stars had a more or less monopoly because the entertainment was funneled through a very few channels.

Now entertainment is democratized and widely available.

Maybe the real reason is that these people aren't willing to work for reasonable wages.
> what would you like to see in LaTeX's place?

a document preparation system in which

- it is easy to read what you wrote (without having to switch between the editor and the typeset text)

- customization is done with a sensible programming language
So... Microsoft doesn't also scan your OneDrive system for content that shouldn't be on your system?

Would have made sense if the reason was due to supporting closed-source operating systems.
> I know it’s been a long day and that many of you probably haven’t slept in 24 hours. We know that the days to come will be filled with the screeching voices of the minority.

> Our commitment to lift up kids who have lived through the most unimaginable abuse and victimizations will be stronger.

Ah, yes, everyone that is vocally concerned about this is either misinformed or irrationally “screeching.” We, of course, are righteous defenders of children. Tighten those blinders, Team Apple!
You can definitely get in massive trouble in the US and put your job in danger. Your superiors just have to massively disagree, or you might be posting about sensitive topics like Israel or the military.

Both BLM and MAGA are incredibly mainstream movements.
Are you doing partial clone?

https://source.android.com/setup/build/downloading

Although, an answer at https://stackoverflow.com/questions/33053615/how-to-download... from October 2020 says that even a partial clone is still 73 GB in size!? That’s insane! How the heck come it’s so big?
So you know, I'm genuienly trying to find you a link for this case, but it just proves how absolutely shit Google is nowadays. I swear just few years ago I'd find it by just searching "geek squad grandfather wrongly accused" - now searching for this phrase gives me absolute nonsense, with anything past result 5-6 being completely and totally unrelated(6th result is wiki page for killing of marther Luther king).

I will post a link if I can't find it, but dealing with Google nowadays is beyond frustrating.
Canada has a ton of such cartels, the egg board, the milk board, the LCBO and so on.