skysight-inc/HackerNews huggingface dataset:
So the same justification for gitmo. Nothing new.
The reason it's amazing is that it's being done without a GC, while still giving you control over allocation, and even being able to inline the lambdas in many places.

It's not that lambdas themselves are hard, it's that they made it work with all of the other constraints of the language.
Yep it's great. It loads way faster than IMAP would, I can see more than 40 emails on my screen at one time, and it has a very nice practical 2000s aesthetic with no unnecessary whitespace.
> Assange is in the target of a large, highly profitable military-industrial-complex

Woah there, went full tinfoil hat on us for a moment.

Agree, their intentions are probably to set an example and will act aggressively on Assange as much as possible, but they are still bound by their laws.. And in turn; 'justice'.
A Year with the Surface Go
That sounds like a lawsuit. Sex, race, AND sexual orientation? Goldman hit the trifecta
We used Sqwiggle back in the day until a picture of the naked wife of one of our coworkers got captured and stood there for over 5 minutes. That was the last day we used it.
Why does no one ever factor in the cost of dismantling other major projects, like the Hoover Dam, or the Three Gorges Dam? ...or thee solar plants being built, or the wind turbines?

Why does nuclear power have this enormous additional requirement that literally no other power source seems to have to account for?
Why not both ?
With cogeneration you raise the efficiency from only electric generation from 40% to 80% with heat, but in summer you can still generate electricity only.
And SMR are better positioned than classic reactor because the smaller size and inherent passive security from surface to volume problem (heat raise with volume in power of 3 and cooling only with surface in power of 2) make them easier to build them near populated cities.
Cash is legal tender and should be required to be accepted at all businesses. Electronic payments have overhead, too, so I don't accept that as an argument.

Electronic payments are a privacy concern for me. It's a big data collection source and it fuels companies like Axciom who built extremely detailed consumer dossiers on everyone.

Health insurance premiums tied to purchases? A teenager buying condoms who doesn't want their parents to know? Denied employment because you've purchased nicotine?

Not far fetched.
The parent is probably referring to Brexit, soon the UK will need to make a new trade deal with the US. Until that's done I doubt that we will see them say "no" to the US very often.
Ask HN: How to help save dying democracy in Poland?
Right now we are in the middle of yet another rule of law crisis in Poland.

In short: Since 4 years, ruling party Law and Justice is trying to take over judiciary in Poland. They took over Constitutional court, they wanted to take over Supreme Court but got stopped by EU.

Don't want to bore you so if you are interested you can read a timeline of events here: https://www.reuters.com/article/us-eu-poland-chronology/chronology-poland-clashes-with-eu-over-judicial-reforms-rule-of-law-idUSKBN1JU25U

Newest part of this battle is explained here: https://www.nytimes.com/aponline/2020/01/24/world/europe/ap-eu-poland-judiciary.html

There is a lot of protests happening since 4 years, but still ruling party has massive support. Recently they won another election and will continue ruling for 4 years. We have presidential election coming soon.

My question:

Do you know what are the most effective ways someone with programming, digital skills can help move public opinion a little? I believe Law and Justice will be stopped by EU but I would like to see opposition win presidential election and veto every antidemocratic measures.

Maybe some other hackers from Poland would like to brainstorm together? Contact me at hn@qnsi.33mail.com if that's you
The question is whether the Bill of Rights ends at US border from what I understand.
What must be done to head off the coronavirus threat
Live, watchlist based facial recognition in London
You have to be careful in that assumption. Sometimes it's true and sometimes it's just preference (eg I prefer Tesco cornflakes to Kellogg's). Often it depends on the supermarket and range (eg some supermarkets will have a few own brands for different price and "quality" brackets).

Another thing to baring in mind that it's quite common for some producers to distribute to different brands. Eg they might make the same product for a budget brand as they would for a premium brand. Maybe just sorting the product by what's more aesthetically pleasing. I've noticed this a lot with loose vegetables where "ugly" carrots would be sold to cheap brands whereas the smaller but prettier carrots would go to premium brand and sold for twice the price (even without factoring in the smaller weight). But it does also happen with some pre-made / pre-seasoned dishes as well.

The best advise is not to take brands nor even price at face value. Try a few products and see what works for you. Unfortunately though, much of our experience is distorted by bias (this is an area for amusement during wine tasting studies under controlled scientific conditions). So often we end up actually preferring the more expensive brand because we assume we should so our brain convinces us we do (isn't our human psychology fun!)
The batteries at the scale needed to provide consistent baseload, simply do not exist and are still entirely theoretical at this point.
Its not all about cash vs non-cash. It can also be about privacy. You might not want some embarrasing item on your bank statement for a number of reasons.

I would love a reloadable prepaid anonymous card i could use instead of my own in my everyday life. I would probably use only that if i could find one. There is no such option afaik where i live though. And we are transitioning very fast to cashless. ( Norway )
Google I/O 2020 dates announced, Pixel 4a expected
In some countries maybe but in a lot of others there are days with almost no sun, batteries are not for seasonal storage.
Fair enough. There’s certainly nothing wrong with knowing the alphabet.

I’m just a bit jaded and fed up with a parenting culture / education system that focuses on rushing toward specific arbitrary milestones and memorizing lots of trivia, instead of trying to immerse little humans into a culture where skills and tools are learned through practical use and competence grows slowly over time.

E.g., in a different domain, it isn’t going to especially help anything if a kid takes their first steps at 9 months, and all of those special-purpose baby walker tools are essentially useless, but the kid who has tremendous core strength/stamina because they get lots of exercise crawling all around is going to come out ahead of average even if they don’t start walking until 14 months.
Consulting is an interesting one because there are people who would pity you for having to be away from your family dealing with corporate politics. Others may feel jealous of you high profile and high salary.
> endless environmental protest and lawsuits

States and the federal government have emergency powers for crises. This is how e.g. FEMA is able to rapidly erect shelters in disaster areas without needing to care about zoning rules.
This is such impressive blather that I’m now convinced I know nothing at all about modern sales and marketing.

It may as well have been written by an ancient alien civilization for all I understood.

Probably we’ll hear something very like this when SETI receives a signal from another star system.
> Cash is legal tender and should be required to be accepted at all businesses.

They're legal tender for debts. If they don't want to sell you something because you can't agree mutually acceptable payment terms then there is no debt.
yay -S neomutt
Hi everyone!

After 4 months of effort, I can finally show you my first game!

I decided to work on this project to gain a deeper understanding of some fundamental concepts of computer graphics and real-time rendering in particular.

In a way, this game is built on top of my own tiny game engine, but I don't like to call it that because it's not very flexible. It's more of a set of classes that can be reused to build other games.

There are many things that I'm proud of, but also many things that I know were big mistakes.

My goal was to write a game without using any global variables, where each game state (e.g. menu, play, pause, win, etc.) would be fully independent and encapsulated.

And while you won't find any global variables in the code, and while you'll see that each game state is represented by its own class, I did not foresee how sharing components (e.g. the camera, the 3D objects, etc.) between the different game states would essentially make those components global.

This lead to game states that depend on each other tightly, which is precisely what I wanted to avoid.

Regardless of that failure (or perhaps because of it), building this game was an amazing learning experience, and the end result is surprisingly beautiful.

The code is fully open source in case anyone wants to learn from my mistakes.

I hope you enjoy my first game! :-)
Plash: Make any website your Mac desktop wallpaper
Try deleting cookies? (click the padlock by the url in Chrome)
I've been in Amsterdam twice last year, and I was able to pay everywhere with Apple Pay backed by a Visa card (well, almost anywhere, one store required a physical card, and I am not 100% sure Visa would have worked because I used a Maestro debit card there). So apparently most merchants don't limit it anymore - would not make much sense anyway since the EU mandated credit card interchange fees to be below 0,3%. That basically made supporting credit cards almost as cheap as the national payment schemes.
Sharing the lessons learned is good for everyone else, though.
This is in Wuhan. The city is locked down...they aren't going anywhere. Might as well make some money. By law anyone who works during holidays get paid 3x their wages for overtime.
The article wording suggests that's fine:

> Wall Street's biggest underwriter of initial public offerings in the U.S. will no longer take a company public in the U.S. and Europe if it lacks a director who is either female or diverse.

If I've understood correctly, the requirement is:

NOT (ethnicity=caucasian AND gender=male AND orientation=hetrosexual)

EDIT: Ignore my above, it suggests that no white straight males are acceptable, which is incorrect. See comment below (https://news.ycombinator.com/item?id=22137842)
Oh you're the company from that story? A true urban legend.
> Gmail is not designed for the user. It is designed to maximize your time spent in Gmail.

When I read this, all those weird unrequested changes Google made to Gmail made so much more sense.
Small Tips for Docker with Powershell
Glad to see this service exists. Until now I've been storing secrets in JSON files in Cloud Storage, and using KMS to encrypt the contents.

This is hopefully simpler to use and easier to audit.
I remember we also did this "starter project" thing and one our new hires (who had made a really good impression in the interviews) was told to create a simple web interface for something (one of those "we should really fix this papercut") together with another hire on the frontend.

He was kinda furious that he was demoted to doing lowly web development in his first week (in order to get to know our infrastructure, in a small startup) and I don't even remember if he did a good job finishing the actual task...
Hasn’t this already been resolved in NYC by the MetroCard? (Which is going away in a few years, last I heard, but it’s a prepaid card that everyone has access to.)
Except at least one of those is now enshrined in California law. From the article:

> Public companies with all-male boards based in California now face a $100,000 fine under a new state law.
The important flaw in your argument is the use of the word average.

A grid cannot make use of average power generation. It needs consistent power generation.

...and storage needed to make that happen is orders of magnitude higher than what's being factored in here.
Nuclear waste is significant less harmful than fossil fuel waste which currently is produced in massive amounts.

For my perspective, we should ban the worst waste first and then iterate. If we can build an energy grid without burning fossil fuels we should do so, preferable yesterday. If we can then build one that also is without nuclear waste then lets do that too, but my first priority is going to be to get rid of the fossil fuels.

What I do not want is replacing nuclear waste with fossil fuel waste. While we have an unsolved problem with nuclear waste, it is dwarfed by what can be done once run away climate change happens. A world where 100% of energy comes from nuclear is preferable over one where 100%, 80%, 50%, maybe even as low as 20% comes from fossil fuels.
Which they now had to do for over a year. So that was some great cost-saving exercise again...
Compilers are wonderful to implement in a statically typed language with algebraic types and pattern matching, every pass can be a function transforming this intermediate language to that intermediate language until you emit the target code. The only thing that comes close in dynamically typed languages is the Nanopass framework used in Chez Scheme.

GHC development has a far lower bus factor now than when it just consisted of a handful of Simons. Compare to Clojure that has everything needing to go through one guy.

Julia is irrelevant, it is implemented in C++. All the real work is done in LLVM, which is a tremendously complex heap of C++, far more intimidating than GHC.
It says "Writing by Ben Blanchard" at the bottom. No idea who they are though.
"Seen" as a few percent only a few days every two years.
I think the 2020 reference doesn't make sense because dead pixels are an inherent part of the manufacturing process. The only way to reduce the impact of dead pixels is to discard defective panels which drives up the price but this is a low cost product from a relatively unknown manufacturer who might cancel the product if there are too many RMAs.

It is perfectly okay to say "It's 2020, why does my company still force me to use flash when it's unsupported in the latest browsers?". Flash is obsolete and will only become more obsolete over time. Dead pixels will probably keep happening until we switch away from conventional display technology.
If Assange had gone to Sweden in 2010, and been found guilty and gone to prison, he might have finished his sentence before the USA officially decided to try him with their 2017 (?) indictment.

Even if he was still in prison, Sweden is at least as capable of resisting USA extradition requests as the UK.

Even if he wasn’t in prison/an embassy (either not guilty or guilty and released after doing time), the indictment would’ve happened anyway, and led to another extradition attempt anyway wherever he was — including, I recon, if he went straight from Sweden to Ecuador, given that Ecuador did remove his asylum.

Either way, his conditions would’ve been better between them and now, but also the situation right now would be the same (except for the time spent in a UK prison for breach of bail, and held by the authorities while waiting for an extradition hearing, and the loss of bail bond money from his supporters) except that either he would be exonerated from sexual assault charges or a dangerous narcissistic rapist would’ve been punished with a prison sentence rather than allowed to present themselves as a victim [delete as appropriate].
My counterpoint to this would be that everything you need for proper testing exists already in Julia.

Also I would argue that Julia is a much easier language to write correct code in than Python. Python suffers the general OOP problem where it becomes hard to isolate problems due to all the mutations (imperative coding).

While Julia is not a purely functional language, you program in a far more functional style in Julia because it supports it much better.

My own experience when working with both languages suggest that I am able to write more pure functions in Julia than Python. I am able to crank out small isolated functions which I quickly test in my REPL environment as I go.

It is a different way of working. My Python friends write more formalized tests than me as they code. Julia is perhaps more in the LISP tradition. You are continuously writing and testing as you go in the REPL. Some of those test make their way into my test suite but not all.

Because we are generally not writing Server code in Julia testing is less important. If the program crashes so what? What is important is correctness of numerical output. Yes you need tests for that.

But I would speculate that tests needed to verify correctness of numerical calculations are less than tests needed to secure uptime for some server service.
I know many SW engineers that will keep ads on as a matter of principle. They like to support the sites they use the most and believe that giving back in views/clicks is okay.

I'm with you but different folks different strokes!
This question has been debated and discussed often, especially since the “wars” on drugs and terror (with similar results). The truth is that the constitution protects all people in MOST cases, but not all. (0) It’s a complex answer and, as someone else mentioned, things change by case law (court decisions) all the time.

Note that if someone is being charged as some type of combatant or intelligence operative, they will have very few “rights” and apparently can be held for a very long time (see Gitmo).

0. https://scholarship.law.georgetown.edu/cgi/viewcontent.cgi?a...
> Dual boot is too much of a mess for me, I have a separate Windows laptop which I barely use otherwise (it does have a few Windows-only games), it's a bit of an hassle too. I don't feel like booting it and discovering it needs to install 10000 updates. I have already had to reinstall Windows 10 once so I can run a game (the game didn't support the old Windows 10 build, and the in-place upgrade crashed). It's much easier when I can just take a break and run a game on the same Linux system I use regularly.

It is odd. I run Windows at work and the machine rarely gets rebooted. No problems what-so-ever. I run a Windows at home and in my Office (I do a lot of SQL SERVER and .NET dev), I rarely have crashes (once or twice a year). I work in a very large office with many other developers and the machines run fine for years on end.

Yet when someone is complaining about Windows on the internet and they like Linux it always has thousands of updates and they need to reinstall the whole OS to play one game. Odd how that comes about. I don't know quite how people manage it. Yet I use the same windows installation for half a decade with almost no problems. It almost sounds like it is operator error.
We could grind nuclear waste from current nuclear plants into fine powder and intentionally blow it into the atmosphere and still cause fewer deaths than coal, as well as cause the release of less radioactive material, as the coal industry causes huge amounts of uranium dust to be released in the air.

So as it stands, if we look at the real world instead of some hypothetical future, we continue to depend on types of power that causes not just the release of more harmful material, but the release of more radioactive material than nuclear.

If we get to a point where we have fully supplanted fossil fuels, and we need to consider whether to continue building nuclear or replace it with alternatives, then the situation may look different, but at the moment anything that slows the replacement of things like coal causes massive amounts of harm, both environmentally and in killing people.

We could have a Chernobyl a year, and it'd still cause us less harm than the continued dependence on coal.
A Google search indicates California is currently being sued for that law on the ground that it violates equal protection, which seems obvious.
> If literally all the electricity ever produced by the human waste had been produced by current generation nuclear technologies, there would be a small hill of high-level nuclear waste somewhere.

I'm not sure what kind of "modern nuclear technology" you're referring to. Are you saying that our legacy power plants are bad, and should be replaced? At what cost?

> It wouldn't be an issue except locally where it was stored.

So, a single nuclear power plant for the world?

Transporting nuclear waste is also a problem. Even in the US, where it doesn't need to cross oceans (ignoring Hawaii, Puerto Rico and maybe some other territories).

I'm also uncertain if we'll be likely to encourage modern nuclear reactors in Iran, North Korea and in various failed states. They may be safe wrt weapons grade nuclear weapons initially - but could the be modified? (honest question, I'm not sure how easy it would be to enrich material for a traditional bomb, or indeed a "dirty bomb". But small amount of high grade waste kind of sounds like it's usable for a dirty bomb?).
Exactly. I find it revealing that having some moderately visible successful software does not feature on this list. Even ocaml does, IMO, better here (bits of mirageOs for non-linux docker; Xen; unison, coq, at least one successful ocaml only company) vs what, pandoc and shellCheck?
There's a small irony in you advertising your platform in the wake of all the comments and OP complaining about ads in Gmail.
How do they plan on verifying orientation?
According to Wikipedia, the PIN domestic payment network was discontinued in 2012 in favor of Maestro and V-pay debit cards.

The main problem with this is that many countries, even within the EU, don't really issue Maestro and V-pay cards, but rather proper MasterCard and Visa (debit) cards. In my experience it wasn't an issue in Amsterdam. In Brussels on the other hand, I came across a couple places where I could only use my Maestro card.

That said, the unbanked/underbanked population is probably a lot smaller than in the US.
Haskell's main problem is that it is over-zealous, and built on axioms that make it a poor fit for real people writing real code. Everything else flows from that core issue. Functional purity and lazy evaluation are interesting, but when you can't toss a printf debug or log statement into a function without changing function signatures all the way up, it's not going to be popular.

Pragmatic, sloppy languages will always be more popular, because they are more forgiving.
UK desperately needs a trade deal with the US. In order for them to have regulatory divergence from the EU there will have to leave on WTO terms. Without US opening up as a market UK will struggle to avoid a long term economic recession.

And as we know Trump doesn't look at trade in isolation. He looks at the overall relationship like a child would i.e. "are they doing what I want or not".

So there is zero chance UK will do anything this year that isn't to Trump's liking.
That only strengthens the point that the presence of dead pixels is not influenced by the year the screen was made but it is clearly influenced by the amount of money invested into the quality of the final product.
> What would be the advantage of using the web interface vs. just using a native mail client ?

For a generation of people who have only ever had a single email provider, the web interface works well enough. Native mail clients have disadvantages too. Few native mail clients are cross-platform whereas Gmail's web interface is consistent across devices. The web interface is also very obviously not tied to the device. I know that it merely is out of ignorance, but I can't tell you how often someone has told me that they can't check their email right now "because it is on the computer at home". Not to mention that IMAP/SMTP configuration might as well be black magic to most people.
In addition this is potentially a good sign for optimisation of both CAC (better quality marketing) and LTV (better quality product).