skysight-inc/HackerNews huggingface dataset:
That's a good use of Python, and if that's all it's useful for for you, that's fine. I'm not sure whether or not you're trying to argue that that is the only reaosnable use of Python? To me, it sound like you are.

If so, that is contradicted by the many people who have successfully used Python for many other purposes. That includes run-once scripts (where you might have used Perl in the past) where run time speed is not as important as speed of writing the code, but also certain types of code running in production. Like any other tool, you have to be aware of its strengths and weaknesses: maybe it's not the best choice for a code base running into 10s of KLOC or more, or for doing CPU-intensive work that can't be vectorised (e.g. multiplying a few large matrices in numpy is fine, whereas multiplying an extremely large number of very small matrices is maybe not fine). The fact it has weaknesses doesn't mean it should be written off for all tasks, even those where the weaknesses aren't so important, especially when it has strengths too (e.g. if Python would do for a particular task then using C++ blindly because it's "better" would be wasting developer time for no reason). It's often used for glue code where all the work is actually done in C libraries like deep learning, and it works very well for that: if 0.1% of your runtime is spent in the top-level glue instead of 0.01%, that's probably not a problem.

Also, this discussion is fairly off topic to begin with. The article really isn't about the strengths and weaknesses of the language. It's about what consitutes the language versus an implementation of it (CPython).
This is a wonderful article and great work. I love this type of content. Brilliant!
I feel like he hasn't taken any actions to compromise the credibility of the Journal. Remember their Theranos coverage? Wikipedia writes: "Elizabeth Holmes asked Rupert Murdoch —- who at the time was a major investor in Theranos and owner of the Journal — to "personally kill" an investigative piece being written about Theranos. Murdoch refused, instead stating that he "had confidence in editors to handle the truth - whatever it may be". Murdoch went on to lose approximately $100 million in his investments in Theranos."

The opinion columns slant very far right, and I'm sure Murdoch has played some role in that. I subscribe to the Journal and am outraged every time I see them. But, it's good to see what other people are talking about. It does you no harm to read an opinion column that you vehemently disagree with. I'm sure people feel the same way about opinion columns in The New York Times, which I also read and tend to agree with.

My TL;DR here is that if you are interested in the news, you should get it from a variety of reputable sources. The Journal has proved over the years that it is reputable. I haven't seen anything recently that would change my mind. I have friends that get all their news through social media and they are constantly outraged based on pure misinformation. If they read the Journal, they'd have a much better understanding of the facts. (Same goes for the New York Times, or Washington Post, or The Guardian.)
It wasn't webp it was HEIF which is the default image format of iPads/iPhones and the image format is almost completely invisible to the user on iOS.
The binary produced by native-image (which uses SubstrateVM) doesn't have any Java bytecode left in it. It's all AOT compiled machine code.
But is it a strong rebuttal if it only stands because your kid is in a special situation? Obviously there are exceptions to the rule that everyone moved on to a smartphone, and your kid is one of them, but your example kind of proves the rule - people that don't use smartphones are quite rare (as in they are 8 and don't have a smartphone and don't have the iPad password - not exactly a common situation to find yourself in).
Job Execution Systems: What Is the Difference
> Where has the entire browser gaming ecosystem gone to?

https://itch.io/, basically. There's also the Pico-8 gaming ecosystem which has some really great concepts built with the platform's constraints: https://www.lexaloffle.com/pico-8.php
master->slave can be replaced with: employer->employee... omg what have I done with my life (O_o)
Yes, a lot of C libraries reinvent dynamic dispatch with vtables or some other way. Sometimes they reinvent exceptions as well with longjmp.
Watcher – all web development blogs in one place
If Facebook was any other company... It would be banned and disappear long ago in every appstore. It is funny how money change everything in our world.. Sad
Fair enough, but adding a database column and generating a random string on registration is perhaps a 10 minute job and provides all those benefits plus many more.
no, the groups are legitimate.
the real question is whever they'd have achieve so much without Russia's help.
Yep, looks clearly like environmental crime (again). Look no further...

New wave of predator and scavenger poisoning by small-stock farmers in Namibia and Botswana (2019):

https://africasustainableconservation.com/2019/07/25/new-wav...
"Google don’t sell privacy."

What does DDG 'sell'?

Which is to say, how much have you paid them?

If you're not paying for it, then you are the product, that's the inevitable trade. There is no free lunch.
And God forbid researching the topic -- you might find that sometimes Russians are the good guys.
Seems like the gap between no helicopter all and a working helicopter is smaller than between a working helicopter and one that's compliant with regulations. It's not like there's an abundance of helicopter manufacturers of any kind in Moldova.
The cancel mob is getting worse by the day. American Red Guards...

The study: https://www.pnas.org/content/116/32/15877#sec-3
No, RPython doesn't support type annotations; it's a subset of Python 2.7. You basically have to write Java or Haskell but your types are globally checked and you have to guess at what will compile.
Of course not.
If not for Russian intervention Moldavian army would've drowned them in blood. Think Kosovo.

https://en.wikipedia.org/wiki/Transnistria#Transnistria_War
Seems like some confusion here.

GraalVM is two things. One is a regular but enhanced HotSpot. All existing Java code works on it. You can also run all the Truffle/Graal languages on it fast - it basically turns the JVM into a VM for many languages with good or great performance.

Then there's "native-image"/SubstrateVM. This can also run most Java code, including all code that uses reflection. Reflection isn't missing or broken on this platform, but by default it throws out the metadata you need for it and maybe the code (because it will appear unused). So you have to tell native-image what classes you'll want to reflect over at runtime so it keeps the data. This is well known to mobile developers who used ProGuard because it's the same; you have to say "classes matching these patterns need to be reflectable so don't optimise them".

You can't really have bugs caused by not setting these configurations correctly because if you try to reflect something you didn't pin you immediately get an exception telling you about your mistake.

The thing SubstrateVM cannot do, at least not until a later project that Oracle are working on is released, is run dynamically generated bytecode.

It's bytecode synthesis and plugin loading at runtime, not reflection, that causes the compatibility issues.
Can someone please explain like I'm five how this line of code sends the domain a user visited to DDG's servers?
Very few of my friends post anymore. For a while I thought it was the algorithm but I realized that most folks have just given up. It surprises me that their revenue keeps going up, but I’ve assumed it was just people outside my bubble.
Really, just a response, saying everything is ok, validates your trust? Bought some wirecard stocks latly?
Ask HN: Good Resources on Voice Encryption?
Any textbooks, very technical stuff is recommended. Both, VoIP and Cellular networks.
> people being marginalised in the host country

This is a very good point. Very difficult to "integrate" when you face hostile natives.
Dr. Strangelove: "we must not allow a mineshaft gap":
https://www.youtube.com/watch?v=ybSzoLCCX-Y

A Boy and His Dog would continue the trope.

for the serious original, see p11 of https://www.rand.org/pubs/research_memoranda/RM2206.html
Riding the Elliot hype rollercoaster: and now what?
This week Elliot was canceled, leaving us with one of the greatest cliffhangers of the decade, but what can we learn from this? What do we, as a community, do now? I've written a summary of what happened and a proposal.
Python for WebAssembly already exists and runs fine on iOS. https://holzschu.github.io/a-Shell_iOS/
Many argue that "other things are worse". This argument is invalid in my opinion. We're talking about this special case and if people feel like they need to openly show their opinion about it this is okay. Even if the response is big in numbers.

That just shows how much also the small things matter.

If you only care about "the biggest" or "the worst" you'll never get anywhere...
Machine Learning vs. Predictive Analytics: Know the Difference
Same here. Simply put, this is correlation. The irony humorous.
This. Just give us a chronological feed of our friends updates. No ads, no manipulation. Id pay for it.
Memory usage is smaller mostly for small apps. Larger apps will see larger memory usage because the GC and heap layout is a lot weaker.

SVM/native-image has its place, but currently it's optimised for things like command line apps or servers that people constantly shut down and start up to try and save on huge AWS costs. Actual runtime throughput and latency will be far better on regular OpenJDKs, especially the latest ones with much better garbage collectors.
What Startup Investors Look for in Entrepreneurs and Their Teams
Don't forget HN's very own RDL that ran HavenCo from there:

https://news.ycombinator.com/user?id=rdl
FSF Censors Itself on Software Patents
You might enjoy this article.

"How I changed the law with a GitHub pull request
Washington DC has made GitHub the authoritative digital source for DC laws."

https://arstechnica.com/tech-policy/2018/11/how-i-changed-th...
I'm not a doctor, but losing weight is not as simple as cutting calories. Keto diets get the body to store less fat and focus on burning fat rather than glucose as its primary fuel supply. I'll link WebMD if that clears things: https://www.webmd.com/diabetes/type-1-diabetes-guide/what-is...

If you eat nothing but butter and eggs for a week straight you'll get drastic weight loss. It is common sense that cutting calories and exercise is effective. So if you do follow a a strict no carb diet, you'll be surprised at how much more effective it is, without going hungry. You get a lot of delicious things on the menu - meat, butter, eggs, oil, milk, cheese, meat, butter. And my role as a developer is to show how you can combine those things into something edible, like flaxseed pizza, konjac stew, and bringing sugar free sweeteners back into their life.

After a week on this diet, bread will suddenly seem like the best thing in the world, and you'll find yourself happy to throw money at the app that sells you flaxseed bread.
Yes, it is! Back when I was in the middle of my discovery phase we went to a Cigar City release party for their barrel-aged stouts. It was June or July, and everyone was packed into the warehouse - sweaty and impatient, as the event was a mess. But, the Cucumber Saison was the best thing about the experience. Unfortunately, it's only good (imo) on tap.

But, to your point, even Cigar City's flagship IPA is 7.5% and way too heavy for the climate. We find it very ironic that a brewery from Michigan makes a wider, better range of refreshing beers.

I hope they're able to stay open after all of this, but my favorite brewery in the area is Flying Boat (St. Pete). They don't distribute, but their beers are consistently refreshing across styles. It's located at the end of a quiet, suburban neighborhood, so you you can have a beer outside and watch the neighbors mow their lawns.
That totally does work, but in practice it makes the initial bundle download too big to really be workable for the average website.
Blow for UK organised crime as 'command and control' network is hit
OpenJDK supports various kinds of AOT too, which also supports dynamic class loading. However the performance boost at startup is not as significant as with native-image/SubstrateVM/GraalVM because it stays spec compliant.
Is there anywhere we can learn more about EncroChat? Google took me to http://encrophone.com/ which is now 403ing
To be more clear, your staff, and you, have said PII ‘like IP addresses’, and have said ‘thrown away’ some places and ‘not collected’ others.

Contrary to this framing, it’s not possible to not incidentally become aware of every single browser users’ usage timing and user IP addresses if the browsers are phoning home this way — a colloquial understanding of ‘collect’, not the James Clapper NSA dodge definition of ‘collect’. Most normals think of collect as become known not as permanently store. You knowing it means others can know it if you break trust or are required to comply with authorities.

And regardless of end-to-end encryption, that this user is phoning home to your fave icon endpoint, when, and from what IP, is revealed to every ISP in the chain. You’re leaking browser usage telemetry to every single party to that traffic — the source IP address PII you mention is in unencrypted metadata.

The fact this browser connects to that endpoint reveals demographics (choice of privacy browser) and behaviors (when and how much web surfing) to e.g. ISP or nation state firewall operators who are certainly not bound by your ‘just trust us’ privacy policy.

Privacy policies are a patch for insufficient privacy engineering.

To be a strong privacy browser you could consider what it would take to be “NSL proof” such that if handed a national security letter with gag order, you cannot comply. That is not the case with this faveicon telemetry endpoint.
Yep, there hasn't been a better and easier time to make your own homemade games than today. People who deeply laments for the Flash era are simply not looking at the right places.
I guess SCHiM means "own" as in "have administrative control over".
This is one of the goals of our Android-components project. Take a peek. Many components are reusable across browsers/applications.
Best Foods to Boost Brainpower and Improve Memory
> It's no secret that I want a Python implementation for WebAssembly. [...] with the fact that both iOS and Android support running JavaScript as part of an app it would also get Python on to mobile.

WebAssembly is not JavaScript. So I assume iOS and Android also support running WebAssembly as part of an app?
Git Good – The Ultimate Beginner Reference with Diagrams and Code GIFs
Show HN: Writing a VM for a Small Stack-Base Language in Pointless
How are you running iOS 13 on an iPhone 6? Or did you mean 6S?
A Lesson on How to Lose Belly Fat Permanently
This is not the same as discrimination on race or ethnicity. Most of the legally protected attributes are not something you choose to be or can change. Even religion, while being a choice, is protected because a person's religion is regarded as a strong moral conviction and is widely accepted as a concept.

Within the United States, the choice to live in a low cost of living area could easily be changed by moving. Millions of people move each year in the US, many of them due to work. In fact, I had to move from a low-cost area that is considered depressed in order to find a job.

Now I can see that living outside the US can bring challenges to moving, like visas, and national origin is a protected trait. But if their policy is to pay local rates, then that does not discriminate based on anyone's individual traits and is wholly based on the market.

Does it suck? Sometimes. I would have gladly stayed in my low-cost depressed area if there was a job for me there. The best play for me would be to move to an expensive area (done), make a lot of money (I wish), and move back to the cheap area to retire early. But my wife doesn't want to ever move.
well, this isn't something that I have given that much thought...

But yes, when I go to ddg and type in "!g <thing>" after having typed in "<thing>", I'm on some level hoping that this is somehow informing ddg that their search results for <thing> could be better.

Now, if they have somewhere stated that they are not going to do this, then yes, it would be bad.
"Perhaps so, Russian actions covert or overt are not justifiable."

Why not?
This is the thing that bugs me the most about the feed.

They seem to be very good at categorizing things. After all, it's the foundation of their entire business model: placing people into a giant ontology of subjects and then selling access to that ontology to advertisers.

It's hard for me to believe that they can't notice that I basically hide every single political post no matter the subject that appears on my timeline. You'd think it would be easy for them to de-prioritize these and it would make the whole experience more appealing.
Ofcourse - that was always the promise of the tech revolution - to become connected from day 1 - and we're getting there. 40 years ago only well-to-do people were connected, 20 years ago it trickled down to teens, nowadays we've reached toddlers.
Create a React Teleprompter Using the Web SpeechRecognition API
Bing gives correct result

https://encrochat.us/
Instead of "nothing to hide", we should frame it as do you have "nothing to protect"?

Without privacy, you, your family, or anyone you are in contact with becomes an easier target.
If nothing else, the soundtrack is a really fun throwback. The monstar track with coolio, busta rhymes, method man et al is super catchy.
i know it's more modern but i want dejanews back so bad
I I get that the top 100 advertisers only make up 6% of revenue, but don’t they also have the effect of bidding up the prices on advertising on certain interests and locations?
Always base64 data you do that kind of thing with!
Narco Submarines: Covert Shores Recognition Guide

https://www.amazon.com/Narco-Submarines-Covert-Shores-Recogn...
It's not like people are slinging jars over the network between linux and windows

That happens all the time. Examples:

- Anyone using IDE plugins to IntelliJ, PyCharm, WebStorm or any other developer IDE

- Any team where developers are running a mix of operating systems but work on a shared Java codebase

- Any place developers pull in Java dependencies from Maven Central/JCenter and then use them in an Android app
why not just straight forward, "I do have something to hide, I do want to hide them from everyone, so what".
I don't quite understand how this worked and the article is thin on details - was there not E2E encryption between the participants?

> Our servers are node based and located all over the world; all input and output are true end-to-end encrypted. The Servers only initiate the tunnel.

Their own statement suggests a zero-day?

> Today we had our domains seized illegally by government entities. They repurposed our domain to launch an attack to compromise carbon units.

> With control of our domain they managed to launch a malware campaign against the carbon to weaken its security.
Ok so this is just a re-packaging of GraalVM by RedHat. Which is great for those who want nothing to do with Oracle. But I see this as the only plus - there really are no other differentiators. Keep in mind the relevant license here: GPLv2+CPE (classpath exception) which still applies whether you use Mandrel from RedHat or GraalVM from Oracle.

I've used GraalVM and while its a bit fiddly to setup it is great for containerised apps owing to lower memory usage and faster startup - this outweighs (for my use case) the slightly lower throughput vs using regular JVM.
Good question about the value of a REPL to Python. My first experience with a REPL was the SQL*Plus tool from Oracle. I don't remember it being called a REPL. But, as I read about Common Lisp's REPL, I realized that I had been using one.

Early in my experience with Oracle's DBMS, I found the REPL handy to work out ideas. But a REPL is essentially a single line editor from which you can evaluate expressions/statements. As my ideas grew, the REPL became more of a hindrance. Having a full screen editor became more necessary.

Nowadays I work out all ideas within an IDE, firing up the REPL only for quick data checks. So my answer is that a REPL is helpful but not necessary.
Scrolling through results is not a good place to ping websites for their icon. Not from a technical perspective but also not from a privacy perspective.

This is mostly a UX issue IMO.
HotSpot compiler: Stack allocation prototype for C2
Names have power (clean code)
> Prior to taking on a16z riches, Substack was a cool indie brand.

The name "Substack" was co-opted from James "Substack" Halliday [1][2], a well-known hacker in the Node.js community. It wasn't an indie-brand-turned-corporate; it's a person.

The way substack.com has used VC money to take over someone's identity and feed off their reputation is incredibly scummy.

[1]: https://github.com/substack

[2]: https://twitter.com/substack
This is nonsense. DDG cares deeply.

We all, including Mozilla!, have made design decisions that in hindsight could have been better.

The important thing here is dialogue and change. And both are happening.
I'm no expert here but it seems like porting a duck-typed languages like python to webassembly is hard feat.

Arbitrary evaluation of source code at runtime, seems to me, exactly like the type of thing webassembly wants prevent. This limits a lot of the flexibility of a language like python (repl, eval, etc)

I feel like CPython isn't so much the problem as third party libraries that people have come to rely on that, under the hood, rely on architecture dependent code (numpy, scipy, psycopg, etc, etc). I would imaging that porting these is impossible.

I think a repl is fundamental to python more than any other language. I wouldn't say that about something else, but python, yes.
I think you have posited interesting ideas about the decisions that small and large groups make about when to engage in conflicts and how to ensure long term survival. I am not sure how true they are in reality, but I can certainly see where you are coming from.

If I put myself into that situation for a moment, as the leader of a small armed group, I can see two options at first. The first option is to go into hiding and potentially die of resource starvation if I am unable to cultivate the things needed to survive on my own (or be killed by outside attackers). The second is to grow bigger and bigger by forcibly and preemptively taking over the other small groups so I can secure my borders so to speak, but going on the offensive can also lead to premature death as well.

As a result I think some hybrid approach is needed, where one goes into hiding in a land so far away and inhospitable that nobody wants to attack, thus there's nobody to fight.
Show HN: Plyian – Check users before account access
This is awesome. Now that it exists seems like inevitable.
Why would it stop abuse reports?

FB Messager report function sends a decrypted copy to Facebook AFAIK.
F-15C shown here is pretty much as purebred air superiority fighter as possible. They definitely do not regularly engage ground targets, unlike it's multirole cousins (F-16 and F-18)

They did eventually (begrudgingly) develop separate strike variant (F-15E), but those aircraft are conversely dedicated to that role.
Here is a link from another HN post. It explains a little about it from my quick scanning:

https://www.vice.com/en_us/article/3aza95/how-police-took-ov...
Looks fun, but impractical. Are there real uses for this kind of thing, on modern architectures?

Related question: has anyone tried to create a high-level language for doing this kind of madness?