skysight-inc/HackerNews huggingface dataset:
Not really in my experience. Really, the only place where I'd say Python has gotten more support so far than R is in deep learning. If you want any just-published statistical method, the associated implementation will almost inevitably be in R. But that's today -- I'm old enough to remember when the standard language in "The Journal of Statistical Software" was XLISP-STAT (much of the 1990s).
No one said it's a goal. Just reality.
By "most European capitals", I presume you're excluding Paris :-)
vox is not documentation. population ratio is not the same crime ratio. if a race commits more crime, they have more police action. why did they not put asians in that chart? police kill more white people than black. thats its in your chart too.
#anecdata: I have notifications turned off for News and I've never had a single one.
From this account, it's hard to see how Apple is at fault. Someone apparently may have used his lost (non-photo) ID to identify themselves in an Apple store, with the result that Apple associated his name with theft. They reported this to the police. Is that so unreasonable? Seems like it's a valid case for further investigation.

When the police showed up at his home with an "arrest warrant [that] included a photo that didn’t resemble Bah" they should have immediately figured out something was wrong; that perhaps they've got the wrong guy? As such, they probably shouldn't have followed through with the arrest at all, pending further investigation, unless they had reason to believe the individual - despite not matching the warrant - presented an immediate threat. Which sounds unlikely.

So ISTM that the parties at fault here are (a) whoever fraudulently used his lost ID, thereby falsely associating his identity with criminal activity; and (b) the arresting police who did not pay attention to whether the subject being arrested matched the warrant they had in hand.

But while I am still deeply uncomfortable with the widespread deployment of facial recognition, etc., and would like to see it restrained, I don't see that it's really the problem in this case as reported.
Cli for GitHub.
The publicity is obviously focused on the wrong thing, though: that’s exactly why we’re having this discussion instead of talking about the privacy implications.
Types can only provide limited memory safety. There is a real need to deal with data structures that are so dynamic as to be essentially untyped. Granted, this usually happens in driver code for particularly interesting hardware, but it happens. Also, I have not yet seen a type system that is both memory safe and does not prohibit certain optimizations.
But Racket doesn't have macros a la Common Lisp, which are the most powerful way to achieve metaprogramming in the Lisp family.
The first article you link to sources another article as its source, which itself calls bullshit on the ranking.

Your link:

> According to Electrek, Tesla trails behind other companies in terms of autonomous driving tech based on a list created by Navigant Research, an independent research firm.

Electrek’s article:

> Electrek’s Take

> I think Navigant’s autonomous leaderboard is ridiculous. There are way too many brands that keep most of their development under wraps, which makes it hard to evaluate them and therefore, it gives very little value to a leaderboard like this in my opinion.
Wasn’t there a river in the US who was going to get this too?

https://satwcomic.com/a-whole-new-world
If you see cameras and it is 2019 and the store is owned by a billion+ dollar company, it is safe to assume that facial-recognition is in place.
If you're interested in functional programming and meta-programming as paradigms, then you should really focus on functional first. The reason is that functional is all about transformation of data structures as a whole (as opposed to altering them bit by bit as in procedural programming) and meta-programming is about treating programs as data and transforming them. You really can only do advanced meta-programming using functional techniques. It's no accident that Lisp is the granddaddy of both paradigms.

As for which language to use to explore these paradigms, the answer would have to be a modern Lisp, i.e. Clojure or Racket. Of those two Clojure is more about being a "pure functional" language and Racket more about meta-programming... in fact Racket has been called a "meta-language".
Just because something is illegal does not stop a corporation from doing it. If the financial penalty for an illegal act is less than the financial gain from carrying it out, it will be carried out.

See: petrochemical pollution, bank money laundering, telcos selling customer data, etc.

Legal or not, the discussion is whether a 1B punishment is appropriate. Yes, I think it is appropriate for an organisation with a reported quarterly revenue in the 90B range, maybe even on the low end.
The argument behind entertaining huge fines or damages in tort cases is that it acts as a deterrent against future violations of the law. If the damages were only $10K then Apple would have less incentive to create safe software and fix bugs like this one. If the damages are a potential $1B they will take the issue seriously. It is fine when the defendant is a huge company like Apple IMO.
Then maybe you should check a source that's not owned by Verizon (that also owns Oath)?

I'm pretty sure that there are other sources posted in this thread.
No. I’m saying that this person seems to care more about getting people to talk about his $1 billion damages figure than focus on the privacy issues involved.
He should ask for a billion dollars - the article says that Apple’s mistake resulted in his arrest, and even though it was a mistake and he was not convicted, I don’t think that arrest is ever going to be removed. He will forever be someone who was arrested and it will show up if someone does a background check. The police might pull him over for a minor traffic violation, the computer will pull up that the occupant has been arrested for theft in the past, suddenly its a whole different conversation because the cop is looking for an easy arrest.
> giving your biometric info away

...you do realize that "biometric info" is the most easily accessible / stealable type of information. Anyone can grab your biometric infos easily if you become a person of interest, so it's hard to think of what you're practically gaining.

It's like Americans with their SSNs, this kind of information is practically public (ignoring legalese and crap), so trying to keep it away from a big database will only work up to a point. In a way things like the Equifax hack are a good thing because now anyone's SSN can be assumed public.

Sure, if you fancy a career in intelligence or as an undercover something, it would be a valuable personal asset to have "biometrics not recorded in databases X, Y and Z". But it only works until you're caught/recorded the first time. And if you're either "interesting enough" or a public person, anyone caring to track you surely already has your biometric infos.

(Otoh, assuming anyone managing that big EU db will be grossly incompetent is probably realistic :P)
Let me echo onion2k's point:

That kid can no longer truthfully answer "no" to "Have you ever been arrested?". This alone can change his life completely.
Also people of a certain age (like me) who associate "Papers please" with WW2 movies.
Does your computer's shell disable `cp -r` for directories that don't contain a license?

The point of uploading to a public Github repo is to let others clone it. Pure tech tools like that shouldn't implement features that require searching a repo for a file that could be a license and then determining whether the file gives others the right to do that clone. After all, letting others clone is the entire point of the tool. If it's not allowed, don't use the tool.
Ask HN: What are some good exercises to test Linux / OS knowledge?
If you were to interview candidates for roles where OS / Linux (or Windows for that matter) knowledge was important, what kind of take home exercises would you like them to do?

I'm thinking there should be a good balance between complexity and time required to finish the exercises.

Also, what things or data would you be looking for, apart from solving the actual scenario?
I have, it was no issue. Also, you can get it within the hour. But it is expensive and you will get some weird looks. I haven't tried going the US with it.
Haskell with TemplateHaskell is definitely worth giving a shot.

You can find good examples of its use by searching for reverse dependencies of template-haskell package[0].

One of these is my tiny experiment that features program synthesis by given type[1]. Recently I added an ability to handle sum types and product types (a.k.a. Either and tuples) -- see 'rewrite' branch.

[0] https://packdeps.haskellers.com/reverse/template-haskell

[1] https://github.com/8084/haskell-holes-th
> if not the main goal.
What resources do you recommend to learn to use blender for video editing?
The attacker gained network access through Jenkins.

Don't deploy a public-facing Jenkins, especially if it has credentials attached to it. It's really hard to secure, especially if pull-requests can run arbitrary code on your agents.

Jenkins / CI is the sudo access to most organizations.
So, how about a React-to-imperative compiler?
But AFAICT from the bloomberg article, at least (I won't go through the Oath hoops to read engadget), it doesn't sound like facial recognition was the problem here. The issue was that someone (presumably) used his ID, thus associating his identity with a crime; this led to the police coming for him. The police may not have been quick enough to recognise that the person they found didn't match the arrest warrant they held, but that's not the fault of some camera in an Apple store.
i know running a registry isn't easy. i was wondering can github handle this kind of thing as backbone of a registry?
I don't understand this. Work on making what illegal? Facial recognition? Or breach of duty? Or making mistakes?

It seems to me that we already have the proper way of dealing with this situation. Have the company pay punitive/exemplary damages.
Node.js lowdb: a lightweight database alternative
By making something illegal, the government can go after the company by representing the collective will of the people it stands for. I think it’s much more reasonable to have billion dollar fines in that case.
Seems like last commit was one year ago: https://code.videolan.org/videolan/vlmc/tree/master/src
> You can't change those stupid behaviors of facial recognition without such bad publicity

What's the "stupid behavior"? Some Apple stores have been robbed. Apple got video footage of the robbery and setup a system to look out for the suspect and alerted authorities when the suspect entered the store. It's no different than an FBI wanted poster. The knee jerk reaction of anti facial recognition has gone overboard.

Also, it's also not entirely clear but the article suggests that the person had used a stolen ID of the arrested teenager, which makes the arrest all the more reasonable:

> Apparently, the real perpetrator used a stolen ID that had his name, address and other personal information

Finally it's worth noting that Apple didn't arrest the person, the police did. Apple likely just notified them and then the proper due process happened
> Red meat is a carcinogen & spoils quickly

This is overblown and not nearly as well supported by science as you think. Just like how people said for decades that saturated fat is bad for you. It's provably not.
Doubly hilarious if that state actor wasn't the US or one of its close allies.
Very often there is a difference between how far you are along the article, versus how far you are down the actual page, especially if the page has a large footer, additional advertising down there, and an unmoderated comments section. In the latter case, the actual text can end less than half way down the page. So the additional indicator, when used wisely, can actually have a valid use case.
What if the system makes a mistake? There is another article currently on the front page that is just the sort of mistake that some people fear could end up much, much worse[0].

[0] https://news.ycombinator.com/item?id=19726528
Having never heard of OpenShot before, I needed a video video editor, saw OpenShot and downloaded it, managed to cut a short clip, add extra music track, do other small adjustments and export it suitable format rather quickly. Very nice!

Most problems were related to (accidentally) clicking something and not knowing what it does, trying to revert the changes but messing up things even more instead. Once I figured out what to do and what _not_ to do, the process felt very polished and easy.

I think the problem is the same as with other software that are still being developed: you google the program name, download latest version and there are new features that haven't been added to documentation and tutorials yet. So you have bunch of settings and buttons that do something but to find out what they are and how they work, googling gets you to development mailing lists and where you get lost very quickly without answers.

Will definitely keep this installed and follow the development.
I think the typical route is to go on the IRC channel and ask in there
> You probably don't see the bias in the article because you support unionization.

Erm, yeah, I'm not sure where to begin with this other than a "people in glass houses" style comment.

I don't support unionization, for at least a couple of reasons[1], yet I still can't see where you're coming from with these assertions.

[1] I don't think either is relevant to this discussion.
They’re going to do that anyways. Most likely the case will be settled so the guy goes away and the press dies down; he’s not going to continue his moral crusade against Apple violating his privacy after that.
I haven’t flown into Paris recently but there are plenty of exceptions: Berlin’s not beautiful either (though it’s one of my favorite airports).

But still the standard in Europe seems higher in general than North America.
Really nice. Reminds me of IPTraf.
It’s a bit exaggerated, but reasonable. Having a nihilistic view that everything is zero sum certainly seems correlated to depression [0]. I’m sure that there are lots of folks who think this way and don’t have clinical depression.

[0] https://academic.oup.com/fampra/article/23/3/369/475828 (although about therapeutic nihilism and not market nihilism)
This list is missing Haxe, which is strictly-typed (with type inferencing), supports object-oriented, generic, and functional programming and is highly extensible thanks to meta-programming (macros). Interoperability is where it excels, since it compiles to to multiple language targets/platforms, including VM bytecode.
Mislabeled and counterfeit sturgeon caviar from Bulgaria and Romania (2015)
Indeed, the one from Plotly! I gave Dash a quick shot about a year ago, it worked quite well to generate interactive reports.

ShinyProxy is amazing. It is pretty easy to setup, but does require quite some specialized knowledge compared to the RStudio solutions.
The more idiomatic way would be to return an Rc<RefCell<Element>>.

Accessing it will indeed panic if someone else has an active mutable reference to the contents of the refcell, but the idea is that you should only keep that for the section of code that actually modifies the object.

The reason this feature exists is that it prevents code observing partially modified objects that could be temporarily missing required invariants (in addition to preventing mutating object with references to parts of them which can result in dangling pointers and thus memory unsafety).

You can also use Cell as the parent argues with the benefit of never failing, but then you don't get protection from recursive calls exposing violated invariants and you need to change the implementation of Element itself.
> I don't even think iPod was ever a generic for "MP3 player"

It was generic enough to form part of the word "podcast", which has stuck around.
C) Content addressing, Torrent/IPFS style.

JS devs keep downloading and redownloading the same stuff all over again, all the time; maybe it's time they gave some bandwidth back.
>At least these three countries do not have right-wing extremists and authoritarians in government.

No, they have jihadists and an authoritarian government.
People have been killed in SWAT'ing in the past. This isn't a far cry from that.

I wouldn't trust US police to make a peaceful arrest of anyone at this point. It's a potentially lethal encounter depending on how trigger happy these cops are.
Expanses are growing thanks to government created inflation, by printing money.
Actually, that brings up a good point: what exactly should the remedy in this case be? I don’t think it’s clear that Apple is even at fault here. It’s a pretty shaky case and I’d place more blame on the officers who arrested him without double-checking than an in-store camera.
If police officers are more likely to stop a black person, then yes, black people will be caught doing more crimes than other groups.

That doesn't say that other groups don't commit just as many crimes, it means that they get caught less frequently because they're not black (and therefore not stopped as often).

I expect to see such a foolish argument on t_d, not HN.
> They are insanely expensive, it’s truly mind blowing that more women aren’t using the cup. I mean, I know it doesn’t work for everyone, but it’s frankly as though women have some sort of “life-tax” attached that we men don’t, with pads being so expensive by comparison.

My partner introduced me to them, and when I saw how expensive they were I immediately wondered how much it would cost to 3D print moulds for them so that entrepreneurial Kenyans could mass produce them as a cottage industry. I only got as far as a first print of a positive before someone pointed me to (I think) an Alibaba listing where they cost 5¢ each if you bought 1,000 at a time. I can’t find them quite so cheap any more, but I have just found them at €0.18 each. Perhaps a “buy one for yourself, get a hundred more for Kenya” marketing strategy could help? I have no idea how to do that without the annoying and condescending out-of-touch white-male saviour stereotype though.
Yeah, I search the same solution. Because, I don't like write CSS and prefer use component abstraction layer, which allow write much simple code and it's really nice to read
Nonsense. Racket has hygienic macros just like CL.
> I'd hope that as Rust grows in popularity the tooling will come from that ...

Patches are welcome! https://areweideyet.com/
Not very practical, but I remember a friend doing a demoscene intro or demo, around year 98, using both a VGA and an Hercules card in the same computer.

The Hercules screen showed some animation in the order of "Don't look here, the demo is in the other screen"

I'll have to check pouet.net to find it...
Interoperability + meta-programming? You have to go with the king, Common Lisp! There's a bunch of implementations for different platforms [0]. It's also much simpler to write macros in a homoiconic language like a lisp, than using something like Rust's elaborate macro system.

Although your phrasing ('expected/future adoption') makes it sound like you value picking a language that will have loads of jobs available. Clojure has a few solid niches (same number of users as Kotlin IIRC) and is 'symbiotic' with JVM and JS environments. Rust is growing and has supposedly 'safe' BEAM NIF support. Elixir is popular with the Ruby crowd. Although I have to say, 'meta-programming' & 'functional programming' isn't exactly the hottest job market filter.

[0] https://common-lisp.net/implementations
You also can't be confident that a debugged program is in a natural state without restarting it, at which point the re-setting of the breakpoints and scripting you did in the last invocation - or saving and loading what you've already done - is a pain point. If all of this is quicker than recompiling/relaunching, then IMO there is a second bug in a lack of effective logging.

Most bugs I create are for simple reasons and can be found by scanning the first error logs. If I add print statement debugging because I couldn't then they'll often be adapted into additional logging. If I use a debugger for this as my first tool and don't add logs, I'll have to do it again next time, too[1].

If the bug is not a simple one and is not a structural bug, there's a decent chance it's something debuggers deal with poorly: data races, program boundaries, non-determinism, memory errors. If it's something that can be found by calling a function with certain parameters, it's a missing test case.

So the times I find debuggers to be worth it are after I've already decided it's a difficult yet uncommon bug. So I use them with despair.

[1] If I fix it with a debugger and then add the logs, I still have to prove it gives the right output when it fails.
Somehow I would trust Scandinavians to handle this better than, say, the US or the UK. Those societies seem to have a better ethic around the public good than others.
desktop-GUI: What community? Web devs trying to write desktop apps?

Embedded: Try to write a safe string and vector with bounds checking, or IO port access in C like in C++ type system allows for. Lua is nice for hobby, not production class hardware deployments.

Scientific: Depends, many libraries are yet to be written.

IDE tooling: Typescript and C# audience isn't the same as those using raw C++.
It's the buggiest app I've ever encountered. A few examples I've seen in the last few hours alone:

1. The new "dark mode" periodically sends emails with white background and white text. (Check out their support forum/Reddit and lots of people experience the issue. Users are asked to send it in and… nothing changes.) I've just disabled dark mode because of this.

2. There has been a bug which causes the app to erroneously display "Inbox Zero" despite being badged with new messages. This error has been in the app for 3-4 years.

3. Searching a large inbox throttles up CPUs. On my i9 MacBook Pro CPU usage goes to >250%.

4. It struggles with quotes/signatures. I send long emails which regularly get folded in bizarre places in the preview panel.

5. Periodically hitting forward/reply on an email will not include any of the text in the chain, when the original email is archived.

6. Saw this at the weekend but not today yet: the main window disappears sometimes and can only be brought back by quitting the app and reloading. Right clicking the dock icon and hitting "Show main window" does not work.

Honestly if any other email app was simply designed and had either mappable keys or by default mapped backspace to archive, I'd be using it.
New International Spy Museum Opens in Washington, D.C. On May 11, 2019
An Index of Latin American Populism
But what law was violated here? The only thing I see is that the individual involved felt they were harmed by Apple in particular.
It is plain stupid and negligent to give biometrical data to the German government. Your argument about the prevalence of bad guys in parliament is devoid of any reasonable conclusion in either direction. And certainly not sufficient for a general case for laws of this kind, as it lacks even a minimal justification for implementing surveillance on this scale.

But you obviously don't see right-wing parties as a threat, since they would get access to that data too. Although I would admit that they probably wouldn't accomplish anything that a Seehofer could do as well.
Western companies, US and others alike, are helped by their governments too. Telcos are granted monopolies yet they deliver horrendous infrastructure for instance.
And for many of them, you could determine that statically.