skysight-inc/HackerNews huggingface dataset:
How do you feel about it? I had a bunch of Newton MessagePad and the 2100 model was especially great.

The MessagePad UI was not in color and was less animated than something like the early released iPhone or iPad. Okay, probably hardware limitations of the time: screen price, lower power draw, less powerful graphics processing, ...

I always found the UI model of the iPhone (and iPad) limited to what the Newton MessagePad did. It is still boring in the main OS screens. Was it to reach mass market? was it a conscious choice? or was it the non-dynamic programming system introduced with the iPhone, which limits the experience?
A lot of us who actually use Crystal do. Its still the most asked for feature in the language
I'd highly recommend everyone buy a CO2 monitor. You can get an all-in-one monitor on AliExpress for about $80.
> Maybe there's the benefit of finding friends

Maybe at the time it was beneficial, but I didn’t stay friends with anybody I was friends with in school for long after leaving school and now I’m not in contact with any of my school friends.

When I was a child, I was friends with people based on proximity (eg we were in the same class therefore we were friends), but nowadays I choose my friends based on shared ideals or passions. I also found a many (not all) of my school friends ended up being incredibly mentally draining unambitious people and that hanging out with them held me back from my own ambitions and values and they ended up being quite negative relationships. Life is too short to deal with that so now I choose friends who enable me to be who I want instead of holding me back and I try to be a positive enabler to my friends in return.

> when you can find friend circles from a larger pool with people you want to talk to?

Exactly this.
> I was 12-19, would that be high school in the US?

High school is usually around ages 14-18.
iOS and macOS: Catalyst and Cohesion
You've hit the nail on the head here. I think the main mistake advocates of nuclear energy make is to talk about the safety and reliability of the technology. But the technology isn't the problem: we know how to safely build and operate nuclear reactors. The issue is the human factor. It only takes one person in a position of authority to cause one mistake that leads to a nuclear disaster. No one competent would ever have let that mistake happen... but how often do idiots rise to positions of power?

Or, put another way, do you trust Congress to make the right rules for operating a nuclear power station?
Wsl is good for webdev. Not something that you will use in production. And certainly not for other usecases like gamedev
"Data are from 2 cohorts, women from the Nurses’ Health Study (NHS) and men from the Veterans Affairs Normative Aging Study (NAS)"

[0] https://www.pnas.org/content/116/37/18357.short
Huawei mobile service HMS is up for public test in China
What are some? I wrote a small ascii snake game with it and found it generally OK.
> Remember when I mentioned "cyber"? That's because I'm using the terms in the context that professionals do in cybersecurity contexts. What that means is that the pudding analogy is irrelevant.

1. Well, one thing that IT security professionals surely don't use is "cyber", that's a term from the snake oil corner of the industry.

2. People in IT security most definitely do not distinguish between security problems that the manufacturer intended as a feature and security problems that were caused any other way. You create a model of things you want to protect, and if a property of a product violates that, then that is the definition of a security problem in your overall system, obviously. The only difference would be whether you report it as a vulnerability or not, as that would obviously be pointless for intentional, publicly announced features.

> It's not a good analogy for a whole host of other reasons, but that's one of them.

Really, even that would not be a good reason, as it smells of essentialism.

> You're using a nonstandard definition of computer security. That's your prerogative, but don't be surprised if it continues to cause confusion for those you interact with.

No, I am using the exact standard definition, and the only sensible one at that. It obviously makes no sense to have a definition of "security" that says nothing about whether your system is secure. If you consider Google having access to your data a threat in your threat model, then whatever properties of your system that give Google access to your data is a security problem in your system, it's as simple as that.

The only thing that matters is whether your overall system reaches its protection goals or not, not whether some component by itself would be considered vulnerable in some abstract sense. And that obviously applies in the opposite direction as well: If you run some old software with known vulnerabilities that you can not patch, but you somehow isolate it sufficiently that those vulnerabilities can not be used by an attacker to violate your protection goals, then that system is considered secure despite the presence of vulnerabilities.
Ways of Debugging with IPython
The Oracle of Bacon
Sure. But every single study like this goes to an RCT finds causation runs the other way.
I am subscribed to the windows support github issue since 2013, so Crystal is definitely older than 5 years. I think its around 7 years old
It is easier to generate a good document with HTML, you just have to leave out the bells and whistles.

But of course with the HTML+CSS+JS stack being more a programming language than a document format, there is no bounds to how awful one can make it either.
Proof of how fast FB, Twitter, Tumblr and all sorts of companies is already out there. Some people have a negative reaction (dissent and disbelief) to FB using PHP and that they should have rewrote it in the different language, which is more than absurd. "PHP is an anti pattern" or whatever.

I have seen zero examples so far of the fears and dissent raised by several people. Threats of horror stories, bottlenecks or "just because you can do it doesn't mean you should" are all kinds of dismissive, anti-social and social anti-patterns unconducive to learning.

I think we can leave it at that. No point in this endless replyfest. Some people will stay with their beliefs and never be open to what is done in practice and works in hopes to just being "right".
Any link for that budget spreadsheet?
Yet, a million monkeys at a million keyboards would not produce the works of Shakespeare.
Golden repo.

I remember reading this a couple years ago and it opened my eyes to things that I was oblivious to.
Why should you open source your product?
I left out the whole thing, actually, but my opinion took that into account. I get the impression that Ram Dass was a bit of a Karoli Baba fanboy and certainly the drug had enough of an effect that Karoli Baba felt something, even if he didn't outwardly show it; or perhaps Ram Dass was too starry-eyed to note it as such.
History ended, now culture, what to do...
>Usability is always first

There are a lot of UI designers that missed that memo.
I'm not taking a stance on any side of this debate, but you have to admit that using a site called FairMormon as a primary source does not inspire confidence.
Even this way to open second app from the Spotlight start working only on the iPadOS 13.2.3. It was completely broken in previous releases as bad as dragging apps from the folders in the Dock.
Maybe "beautifully designed" is a bit much then

In my experience Python is not very nice to work with. I do like the ecosystem for data science though, it's just amazing how much there is. Hopefully the language will grow into something better now that the dictator stepped down.
I have no idea what any of these gestures are and I’m using iOS 13, and I just tried a couple of them and doesn’t seem to do anything. How do you copy with a three finger pinch?!
This compromise was also used by WebTV in Japan in 1997. I vaguely recall that client/server comms were protected by 56 bit symmetric encryption, and that in international mode, 16 bits of the session key were explicitly sent in cleartext to respect the 40 bit limit. WebTV in the USA was full strength crypto, at least as strong as the little MIPS processor in the settop box could manage.
The best gift given you requirements would be `Elements of Computing Systems` [1] aka `Nand2Tetris' and a better gift would be if you can mentor that someone while he works through it.

Also any book that covers soft skills aspects while emphasising the importance of having good career plans and good mentors is critical.

[1] https://www.nand2tetris.org/book

[2] https://www.nand2tetris.org
With 8 billion people around something bad is always happening every second. For that reasen I uninstalled all news apps years ago.

I'm never bothered with 'breaking news' or anything. I pick a few moments a day to look at some news sites. And I always start with world news, and end with HN, keeps me positive :)
>Are there infinitely primes that differ by 2?

Pardon the digression, but the Twin Primes conjecture was proven by a Subway restaurant worker a few years ago.
While interesting, this is way off topic and should not be rated above discussion about the nefarious cryptographic behaviour of the business.
The very best HDR cameras have roughly the same dynamic ranges as the human eye.

You can't display all of this range to people because of the limitations of display technology, but you can feed the full range to a facial recognition engine.

Security budgets might not stretch to top-end HDR equipment but the price keeps on coming down. The performance of a modern flagship phone is remarkable compared to a few years ago - and fixed surveillance cameras can have much bigger glass and sensors, making it cheaper to get super-human performance.

One new but related issue is that body-worn cameras can capture more low-light detail than the human eye. Police unions have argued against deploying these sensors, because, they want the evidential record to show what the officer could see - not what a cat could see.
Meaning of IQ Points

40 - 54 - Severely challenged

55 - 69 - Challenged (2.3% of test takers)

70 - 84 - Below average

85 - 114 - Average (68% of test takers)

115 - 129 - Above average

130 - 144 - Gifted (2.3% of test takers)

145 - 159 - Genius (Less than 1% of test takers)

160 - 175 - Extraordinary genius

http://www.free-iqtest.net/iq-score-guide.asp

From the wikipedia article, Ashkenazi Jews have an average IQs - a few points higher than American, Hongkong national average.
We need to hack poverty away in Africa instead of hacking together apps
Syscalls are not part of the NDK stable APIs contract, so although seccomp isn't as extensive as it might be, there are zero guarantees about blocking further syscalls.
If only it had curly braces instead of just indention. God, that kills me. And used unicode instead of ascii as the default. And there wasn't python 2.7 vs 3. Someone help me stop this list.
VLC Santa Hat?
the first really wtf thing on there is https://github.com/satwikkansal/wtfpython/blob/master/README... where both effect and exception happen; up to that point it's business as usual with garden variety corner cases or implementation details.
It would be interesting to know if they planted a backdoor in the standard as well for data harvesting
Yep, and easy to find with some Google-fu, however there you go.

http://www.progtools.org/article_new.php?name=safe_systems&s...
Surely people who would add these rules are already aware of the tactics Booking employs
Notes within IBM fulfilled it's vision. distributed app running on the platform making large use of replication and delivered as needed where the norm.

it suffered of development inconsistency if anything, much like java applets

turns out if some platform access is too easy, everyone starts publishing crapware
Cool, a Kanbun parser and interpreter! That's a really interesting approach.

I'm not so familiar with C# but I get the general picture, as I've worked with mathematical expression parser/evaluator before in a couple other programming languages.

Indeed, after reading the linked paper, I see how the handling of "㆑" has complex rules.

The complete algorithm is beyond my understanding, and I imagine getting it to a practical level would be years of work..

Sounds like it would be fun for you to contact the author, I'm sure he'd appreciate that someone had the courage to dive into the depths of his obsession/expertise in this topic. :)
In some cases it’s because the territory is mostly mapped by his previous work. “Novelty and Heresy” was a belated sequel to “What You Can’t Say”, for instance.

OTOH, seeing pg write essays again pleases me in much the same way that one might be pleased if their favorite long-defunct rock band started recording a new album.
Making a Small Haskell Application
1. forget python 2.7 exists

2. can't help with the whitespace, sorry; also take care handling Makefiles
The HP 250 G7 is the best one. You can buy it for 400€ and it supports up to 32 GB RAM (warning: you need to pick up the Ryzen variant)
I briefly read some "good news" sites years ago, but stopped because they started to depress me as I looked deeper into the individual reports. Most of the stories I've read were of the pattern of, "an inspiring but meaningless TED talk", or "an individual doing something completely inconsequential, but positively-looking", or "an individual or a small group working hard on a project that's completely bogus, but of course it's going to save the world!" (see e.g. solar roadways, uBeam). Note the focus on individuals, and bogus or unimportant work used to generate good feelings.

Trust is a finite resource. When constantly abused like this, it's bound to get depleted, and optimism goes down the drain along with it. Personally, I'd like to see some good news reporting, but not like the above. I'd like to see stories about organizations over individuals - about government bureaucracies doing a competent job, about NGOs making an impact. About technology that incrementally progresses and yields results. About actual, not potential or imagined breakthroughs. Something that would stand up to the most basic fact checking, most brief critical skimming; something that would demonstrate that actual good things are being done, that some parts of the system work.
I think you're arguing for doing surveys of literature, which I would also argue for. My argument was against the veneration of From First Principles, which is largely incompatible with Maybe Someone Already Did That, More Completely, More Correctly, A Long Time Ago, And It's Easy To Check First.
Well it seems most developers here would rather use Ruby + several memory-optimised VM clusters to make their services go faster and destroy their balance sheet than to use a faster language that is efficient in memory and is also blazing fast.

A rewrite in (other fast language) from Ruby sounds ridiculous as soon as you include writing a extra FFI wrapper around this you have to maintain so that would be out of the picture and that sounds a lot harder than a semi 1:1 port of the source code.

The trouble is Ruby itself is starting to become a sunken cost as a language but is survived because of Rails, thus also explains the countless memory issues that happen when developers use it. So for a stopgap to something sort of better, I would rather port to Crystal or Elixir so I can run on those low-cost VMs and save cash.
Presumably they're following python's example here.
> beauty trumps usability/ergonomics

I bet that beauty wouldn't have trumped usability (in terms of Apple's preference and an elite buyer's purchase decision) if it also wasn't positioned and marketed as an aspirational / cool product.

There's a lot of people that just want to own it because it's the goto for aspirational / luxury electronics.

That aside, I always buy only Apple because other products just deteriorate in terms of performance at an unbelievable rate. Have owned windows and android products and after using them for like a year, it's hard to believe that it's the same shiny machine that you thought would be a good buy.
Reminds me of that joke that pessimist is just an optimist with a real life experience.
My biggest complaint about Python is that it somehow doesn’t get flak for having the same (if not worse) scoping as JS, which gets endless hate for its function-scoped variables. (So much so that block scoped variables are the new normal in JS, but not in Py!)

Take for instance:

>>> powers_of_x = [lambda x: x^i for i in range(10)]

>>> [f(2) for f in powers_of_x]

[512, 512, 512, 512, 512, 512, 512, 512, 512, 512]

To me this is more absurd than any of the JS “wat”s I’ve seen.

In JS:

powersOfX = Array.from({length: 10}).map((_,i) => x => x^i)

powersOfX.map(f => f(2))

Not a particular fan of the Array.from over list comprehensions in terms of syntax, but I much prefer consistency of semantics JS provides by not adding new syntax.

Here Python has special syntax for both list comprehensions and for anonymous single line functions, and they interact in a highly unexpected way.

Funny that Py doesn’t need semicolons, as I’m reminded of GJS telling me of adding special forms to languages: “beware the allure of syntactic sugar, lest you bring upon yourself the curse of the semicolon” (paraphrased of course, he said it much better). It seems Python has fallen into the trap of syntactic sugar, with the curse manifesting itself not in the form of a semicolon, but in confusing and unexpected interactions between its various special forms. Another example: the walrus operator and all its oddities listed in TFA.
It’s been somewhat overhyped by the author.
Now, a new way to run user programs in the kernel of a general purpose OS! What could possibly go wrong?
I had fun reading this, up to the point where I don't even care if it's real or not, it was entertaining.
Go is also annoying with its anal retentive source rules. I finally got so frustrated that I modified the compiler: https://github.com/kstenerud/go
> But if you take many other into account, such as violent crime from the 80s/90s, we're living in a paradise.

In the US.

It's not really a temporary fashion; whatever the time and age, people sensitive to injustice and human suffering will find something systematically broken somewhere. Sure it's cute that violent crimes went down in the West in the 90s, it's less fun that innocent slave labor (including children) was being forced at gunpoint to mine tantalum for the capacitors in 2000s so that we here could have our smartphones, all under tacit approval and sometimes control of western corporations. That's one random story I remember being deeply bothered by in my high school years.

So no, I don't think it's a temporary fashion, and nothing to do with Trump or climate change. In every day and age there was something deeply broken somewhere on this planet. But you're right; seeking it out and being bothered about it is a personal choice, and it's an open question whether it's a wise choice - it feels right, but also, if you're not doing anything to help, then it feels like tormenting yourself for no reason.
performance matters was a sensational presentation. I don't think the title gives it justice
I see many challenges :

- not all states transitions need to be durable. If performance matters you’ll have to get your actors to call something like a « saveState » from time to time, otherwise every single property change is going to have an overhead in terms of performance.

- what does « durable » mean ? Surely, just having the state of an actor saved in the memory of the supervisor isn’t enough. If the two are on the same server and the server shuts down, it’s game over. You need a « persistence » service / actor, but that thing is going to have to persist the state of all the actors in your system. I don’t see how that can work if you’ve got millions of actors running in parallel.
You might as well fill your ink cartridges with 1985 vintage Krug champagne
It's just labels. In my opinion "the left" is a collective term for a large spectrum of different political views, sometimes overlapping, often not. As a non-american "liberal" to me indicates a US centric type of neo centre-left political view.
Fixings a lot of the WTFs requires breaking backwards compatibility.

Given how long it took to transition to Python 3 and how painful the transition was, I'm not sure people will have the appetite or patience for this anytime soon.
"RAM" in headline should not be all caps, right?
Like "we do what we have to do because it's currently a law, but we can't be forced to give a nice name to it, let them know what we think of it:"

https://news.ycombinator.com/item?id=21859950

See the other comments here for a historical context: "exporting" stronger crypto software from the U.S. had the same status as exporting weapons of war.
As the article itself points out, monoculture itself was a technological phenomenon; mass broadcast of TV and radio with only a few channels. Even then it was only monoculture within a country, and we're globalized now. Returning to a monoculture will require both propaganda and suppression.
> Ocaml - the functional approach is not for everyone.

OCaml is pretty general purpose though, it has loops, objects, mutable state. libguestfs [1] and some other codebases (the compiler itself, btw) are written in a pretty imperative OCaml.

[1] https://github.com/libguestfs/libguestfs
Probably the best collection/explanation of edge cases which are not a bug and supposed to work that way by design that I ever have seen for Python. (it's my pramary language for almost 10 years).
> Also, I don't miss having to fight for social acceptance, the bullying, the stress and pressure nor the hypocrisy of the ones in charge.

Ironically this is somehow the most valuable lessons learned during school, since you ultimately have to deal with this shit throughout your life in most career paths. So at least you got prepared for that.
I've coded in python for >10 years and C# for ~half of that. I prefer indentation-based control flow purely because it condenses code vertically and creates consistent indentation with actual purpose (many of the devs on C# projects I've dealt with have had inconsistent tab/space settings and no linting).

If anything, the one thing I hate about Python3 is dynamic typing - inferring datatypes in function bodies is great but strongly typed (and _enforced_) parameters and return values would clean up a lot of the problems I have seen, and created in the past.
I would not call it frontend and backend, but build configuration and build execution.

For execution Ninja is nearly perfect. For configuration the needs differ a lot.
> 1. forget python 2.7 exists

But it doesn't work this way. You don't work strictly with the language itself, you work with the whole ecosystem. Libraries, tools, snippets, SO questions, etc. And many of those are still in 2.7 or at least need to specify different solutions for 2.7... It is still a pain.