skysight-inc/HackerNews huggingface dataset:
Ah, sorry; I forgot that `as` let you cast bigger types to smaller types. Yeah, that does make the tragically verbose `.into()` the safer option, unless you know that the type you're casting into will always be bigger.
You might also remember this series from classics such as:

* The man who ran out of air

* What happens when the food runs out

* The city running out of water

lol
the idea also pops up somewhat unexpectedly in Neal Stephenson's "Fall, or Dodge in Hell". (although we were thinking about it first :D)
I haven't been able to find anything specifically around popup animations, but the BBC's Cape initiative discusses some of the stimulations etc. that can be intrusive for those with neurodivergent conditions such as autism spectrum condition, ADHD, etc.

I've found that most of these chatbots will use sound alerts to draw attention, and Cape's environmental toolkit definitely references these. While a lot of the content in this toolkit is for physical environments, a lot of it will transfer to digital product UX in terms of stimuli etc.

Cape: https://bbc.github.io/uxd-cognitive/
It's fine for increasing width - e.g. u8 -> u16.

There's a lint you can enable to detct truncation - https://rust-lang.github.io/rust-clippy/master/#cast_possibl...
Can you explain what you think those links prove related to the above discussion?
I currently use an email based signin for a site I maintain, which doesn't require a password. (Scheme described here - http://sriku.org/blog/2017/04/29/forget-password/ ) I don't think I understand the full consequences of reducing the steps for this even more, but am very curious to consider. I do need to maintain a sense of continued identity across machines and need to communicate with the users outside of the site, as my users expect that (and email serves that well). I think it is already fairly simple (relatively). What would be an approach to simplify this even more?
Is there any relation to Catch 22 ?
42M Gamers' Records Exposed by Chinese Gaming Company
If I had a lot more time I'd like to take a longer look at that link and make a list of all the fallacies and dark patterns it uses. As it I just managed to glance that it first sets up a narrow, technical definition of heritability which then proceeds to criticise. That's a pretty standard dark pattern.

Whatever his definition is, what we mean in this conversation is that smart parents tend to have smart children, and dumb parents tend to have dumb children, and that there's little one can do with the environment (besides minimum nutrition) to change that.
>This is the point. Instincts developed to keep you alive in a world where the classic laws of the jungle where true.

This is so very true. For example, the act of withdrawing from the TTP was an own-goal by the US against China. However this required relatively detailed understanding of the trading relationships and geopolitics of the region. It's much easier to appeal to base emotion - "strong man good for tribe, working with outsiders not good" - to gather support for what is essentially an act that furthers your opponents goals.
> This app linked above (my bank) contains NONE of the security you've mentioned above.

This misunderstanding is where you went wrong: your bank doesn’t have a choice about this. If they use FaceID, they don’t have a choice about implementing that - the app can ask it to perform the public-key authentication operation but there’s no way for the developer to choose to weaken the security of the system.

Similarly, you should read up about how these systems incorporate liveness checks. A dead body will not pass those and, if you weren’t aware, Apple’s implementation requires a password after a reboot or a small number of failed tries. It’s presumably possible for a well-resourced attacker to bypass those but you’d have to think about how much more vulnerable you are if you use only a password which is much easier for an attacker with that level of resources to capture. If you’re worried about Tom Cruise recording a mask from your still-cooling body, think about how much easier it’d be to get a camera to record you entering it - which you do a lot more in public if you don’t use biometrics - and how trivially this could be done without your knowledge.
If you are trading on your registered mark you don't lose it unless it's genericised or you stop paying the renewal fees (even then you have some protections).

Not legal advice. Personal opinion in no way related to my employment.
> the author was overwhelmed

It strikes me that you start off meaning to rebut the author's point and end up supporting it.
Yes, you are right.

And this is the way it works throughout, with different functions - 'do' aside, that is.

For example, there is the very powerful 'read' function.

This may take a simple string (text), a file location or a URL. You obviously know what it is and the interpreter will figure it out itself as well.

Now, let's say you want to read a file:

read "myfile.txt"

"Reading" a webpage:

read "http://somewebsite.com/somewebpage"

Parsing JSON from a remote source:

read.json "http://somewebsite.com/data.json"

Or parsing it from a string:

read.json "[1,2,3]"

And 'read' also can take different attributes, e.g. .csv (for parsing CSV files), .html etc etc...

Basically you pass a string with its options and the interpreter figures out where to get it from and what to do with it... :)
Chinese gaming development company FeelingTouch left 42 million gamers' records exposed on a US-based Alibaba server. These internal records were very detailed and included records such as logging, security tokens, IP addresses, GPS data, other tracking info, and more.
User data was only simply encrypted with outdated tech (MD5 encryption).
On Android alone, FeelingTouch boasts having achieved over "100 million Google Play downloads."
Considering the scrutiny surrounding TikTok and WeChat, free Chinese apps leave many concerned as the Chinese Communist Party continues to expand and impart regulations on Chinese companies. Many companies store their data outside of China, (hence the aforementioned US-based Alibaba servers,) but how long will this circumvention hold out?
No, TCP has been bad for a long long time. TCP has never worked on dodgy internet connections. TCP often completely stalls on bad connections.
I remember what you do. Windows pop ups every hour, multiple reboots, blue screens out of no where, hardware issues, and having to upgrade via CDs. Oh shit I scratched my windows update disk!
Telegram bot for smart statistics and analytics
Telegram bot that helps you to count and make statistics.

- Count whatever you want - you set the metrics you need
- Convenient spreadsheet - all data is instantly compiled into your personal google spreadsheet
- Exact reference to time - fixation of metrics in time when calculating
- Location control - the bot periodically requests geolocation
Everyone seems critical of this sale as some sort of imploding canary for their impending financial doom but if they don't see a lucrative or competitive future for this business than I don't think divesting from it is a bad idea, using the proceeds for buy backs effectively makes their business smaller whilst retaining the same inherent value. It goes against Wall St's grow-at-all-costs philosophy, but personally I think sitting on a war chest waiting for the next big opportunity is better than pouring investments in a low margin business playing catchup from 5th place.

Personally I believe Intel needs some big wins as they're basically getting their lunch eaten from all sides. Fortunately they're still highly profitable which affords them a lot of opportunity for investments, if they can't do that their future may be dependent on others successes of their intelcapital.com arm, which worked well for Yahoo! who at the end, most of their value came from their Alibaba investment.

[1] https://newsroom.intel.com/news-releases/nand-memory-news/
How to Build Extensible Go Applications with Plugins
I haven’t turned off the ‘require attention’ option... actually didn’t even know about it. Thanks!
Indeed. Portugal has their Golden Visa which only requires a 500k EUR investment in real estate. You get temporary residency and potential permanent residency or citizenship after 5 years.

It's kind of interesting to dig into. The residency requirements are quite low - 7 days in the first year, 14 days for subsequent 2 year period). So by the 5 year mark, you'd only need to spend 35 days in country.

There are even companies that will find real estate for you, rent it out and guarantee 100% return of capital after 5 years. Turn key solution to EU residency! [1]

[1]https://www.artoncapital.com/global-citizen-programs/portuga...
As explained in the article, HTTP/2 solves a HTTP-level head-of-line blocking issue over HTTP/1.1, but retains TCP-level head-of-line blocking, which is later solved by HTTP/3.

The alternative to TCP head-of-line blocking is either using a separate connection per request (which was the original performance bottleneck) or using UDP (which would've been a rather big change coming from HTTP/1.1).

Now these problems are solved incrementally, and HTTP/2 plays a part in that. Which part is stupid?
Deploy Digital Certificates to the iOS System Keychain Store
My rural primary school got a Pentium PC with Encarta in 1996. It was placed in the library. I remember Encarta was on like 5 CDs, which the librarian kept under lock and key. You had to put your name down to book a 30 minute slot to use the PC, and take out the Encarta CDs on loan. It was a mission, and the whole time the librarian, a stern-faced woman in her mid 40s, would be standing behind you, arms folded, watching you warily lest you misused or damaged the sacred Encarta CDs. Fun times.
Some Apple apps bypass network extensions
What about browser games (not necessarily fullscreen) that need to grab and hide your cursor to be playable?
I don't know if miss Encarta but it does point out that in some ways Wikipedia feels like a step backward. Sure, wikipedia has more topics but where's a video? Where's the interactive explanations? Wikipedia feels like a 25yr old website. I know some people like that but it feels like a missed opportunity and stagnation to me
Yeah, agreed.

Spark even has functions for survival analysis (Kaplan-Meier I think), which means that one can actually run this kind of analysis in a consumer-tech space.

I remember spending weeks trying to get the right sampling/compute so that I could actually use survival analysis, so I would argue that it's not that people weren't aware of this, rather that (some) didn't have tools to allow them to use the methods effectively.
It's hard to imagine an emulated version of a human having a consciousness, however. What is it that separates transistors firing randomy from a CPU executing specific consciousness-generating instructions? I find these things thought-provoking.
A tinge of sadness. I remember reading reviews of the X-25 like a decade ago and being so excited (it was this anandtech review https://www.anandtech.com/show/2614). To me it was the dawn of the "common SSD". Just now I've looked at a bunch of timelines of SSD history, and I suspect the X-25 was similar to many other people. There was certainly a lot of SSD activity prior to the X-25 being released, but it seemed like the only customer facing brand that had an offering before it was OCZ (you can see it in the review comparisons... you can also marvel at the old 10k RPM HDDs... how's that for a nostalgia trip).
In my own attempts to understand my emotions better and give them proper attention, I've found that it's helpful to:

1) explicitly state what emotions I'm feeling (this is surprisingly difficult for me)

2) figure out why I'm feeling that way.

Logic and rigorous thinking becomes relevant for that second step - it's where the "both / and" union of the two modes happens.

This process forms the backbone of "Nonviolent Communication": https://www.nonviolentcommunication.com/

If you want to have effective, kind conflicts, that book is a must-read.
That decision was made by the CEO.

An interesting case of alternative history would be:

What if Jobs asked the CEO to make the processors, and the CEO went to the employees to get feedback on the idea. My guess is that the engineers would be like ‘yeah let’s do this, we will learn so much!’ and the marketing/business folk would be like ‘is this a $100M opportunity? nope, don’t engage’
Life time value is a time series problem mostly brutalised into a regression format.
It's because Esperanto is much easier to learn. Teaching everybody English will take thousands of hours of every persons life.

It's about a 10x difference. You can actually learn it with negative time investment if you use it as precursor to learning English:

https://en.wikipedia.org/wiki/Propaedeutic_value_of_Esperant...
I just failed to parse the repo name... now gchq knows all about my crappy json test snippets
Loudly disagreeing online is not much in the way of "biting the hand that feeds them" (i.e. the parent mentions calling for people to get fired, but I haven't seen much of that here, and is something I'd strongly disagree with), and to the contrary often seems to be the primary method of getting companies to fix this kind of thing. They'll fix it, it'll blow over and I doubt it'll do the Raspberry Pi Foundation much harm. Calling out bad behavior isn't entitlement.
Can no longer create a comprehensive firewall for macOS: Apple exempts itself
I haven't seen evidence that lane splitting is more dangerous when done with a reasonable speed difference, plus it saves you from getting rear-ended when staying directly in lane.
And yes, motorcycles are dangerous, as with many other fun things in life. I accept that.
This reminds me of the (by now) old saying that code is more often read than written - sure, you're not forced to write macros, but if you use macros (or more exotic features), you force the developers who read your code to become familiar with (possibly arcane) features that they maybe would have never used (or needed). That's why I think Go's approach to not try to be "everybody's darling" by implementing every conceivable feature is commendable (even if mentioning this in a Rust-related thread will get me downvoted again).
You clearly never had to set up a sound card for a DOS game (oh the joys of autoexec.bat) or had to install your own networking drivers just to get TCP/IP support.
>has nothing that other languages couldn't copy or assimilate

What about extremely fast compilation? In theory a complex language could have a really fast compiler, but I don't think there are any historical examples of languages with a very slow compiler getting compilation down to around one second as the article describes.
>I am still torn about this. I can see the usefulness of it from python and go, but I also fear that it brings an unnecessary large maintenance burden.
Http standards are evolving and soon the implementation will get stale,

Why would it "get stale"? It doesn't get stale in Golang.

If anything, being part of the standard library is a greater assurance for more eyes going into it, and not having it get stale, as opposed to the language having 5-6 half-abandoned third party libs...
Once understood, even taken together, none of those have as many rules baked into one concept as "class" does; each is simple.
> It is very hard to read a long form text in such a narrow column.

It displays at full width in Dillo, which has no JavaScript support. I can't see the article text at all in Firefox with JS blocked by NoScript, however. Strange.
I had the same feeling, so I stopped checking reddit replies and started using reddit like HN: just look at your profile to see any replies to you.

It massively upgraded my reddit experience. And I have over 6k unread replies, which seems like some sort of high score. :)
I think the best way to think about grind, is to imagine "time spent grinding" as a scarce resource.

Your kid only has a very limited amount of it to spend; trying to make them grind more than that amount will be absolutely counter-productive and reduce grind "efficiency" to zero.

Which is exactly what schools do: they try to cram as much working, studying and focusing in a kid's daily life as they can, long past the point of diminishing returns; because they assume that a kid's attention is infinitely extensible, and they do very little to actually get their interest.

When you can order a kid to get into a room at set times and to look at a set piece of text and to listen to a single person for arbitrary amounts of times, there's very little to stop you from making every single day a grind a calling it a job well done.

The main benefit of homeschooling is that, if a kid isn't engaged by the teaching materials, you can see it immediately because they'll say so and ask to do something else.
I just started re-reading Charlotte's Web after reading this comment a few hours ago, and wow. What a charming and elegant book!

I had no idea the book was so funny:

Wilbur paused and listened. All the other animals lifted their heads and stared at him. Wilbur blushed. But he was determined to get in touch with his unknown friend.

“Attention, please!” he said. “I will repeat the message. Will the party who addressed me at bedtime last night kindly speak up. Please tell me where you are, if you are my friend!”

The sheep looked at each other in disgust.
In a related article about Newell, he is trying make arrangements to have developers come to NZ for work during the pandemic as Valve, according to Newell, has seen productivity drop by 50-75% since working from home started.

That’s a ton, and worse than most companies. I have to imagine this management/work culture is at least partly to blame.
There is nothing wrong with integrated intel graphics. They may suck for complex 3d and gaming, but have video decode units which are very well supported.
Pattern Matching in Python
Did you ever think about where you could be today if you would have had 'normal' education?

I read your text and i would think you made it despite being home schooled and not because of it.

I assuming this because i was going to school but lazy and if i could go back, i would do things differently.

You don't even know what you missed and you don't even know where you could be today;

And while it did work for you well, it does sound that your brother struggled more .
Alright, but personally I fail to see how is that qualitatively different from all the other mainstream languages that use strings as a compensatory kitchen sink to encode literals not present by default.
It doesn't work with emojis. Super sad smiley.
Why a http server in the standard library? It's quite likely to end up where Python 3's http.server module is: "Don't use this in production". So when can I then use it? It's mostly a party trick of a module, then.
I think there would be plenty of overlap with the US West coast for anyone willing to start their day a little early (say 6am). And of course any team in the JAPAC region would be doable.
I had a quick peak at housing prices just now though and I admit it was scarier than I imagined.
I just learnt this reference comes from the Dune Encyclopedia.

Until now, I only knew the character of "Serena Butler" instead, coming from the more recent Brian Herbert's & Kevin J. Anderson's prequel novels. This one actually: https://dune.fandom.com/wiki/Serena_Butler

Another trait of such a rich universe, indeed!
Disclaimer: I am one of the devs at Peergos.

You should definitely check out Peergos - https://peergos.org.
Can Placebos Work–Even When Patients Know They’re Fake?
Why make an account on a website when this is something you should be able to do locally? This is a perfect use case for a CLI tool.

https://github.com/stlehmann/pdftools

No uploads, open source so fewer privacy concerns, just a simple python package.

Disclosure: this is an open source project I've contributed to recently.
Gtk GUI programming works? Also my platform of interest is NetBSD
We got the aardvark and the danes got aalborg aquavit. Skol!
Free Growth Hacking and Digital Marketing Webinars
Use Vapply in R
Annoyingly, .into() is mostly useless for array indexing, since even when you're compiling for a 64-bit machine (and thus x[my_u32.into()] would be perfectly fine) it's only defined for up to u16 (because you might want the same multi-megabyte code to also work in a tiny microcontroller). If you don't want to use x[my_u32 as usize], you are forced to use x[my_u32.try_into().unwrap()], or just use usize everywhere (of course, you could also use traits to create your own .into_usize() and use it everywhere).
> Complaining on pattern matching?

I've read that as a (minor) complaint that Zig doesn't have Rust's pattern matching, not that there's anything wrong with pattern matching (and that Zig's switch still does 90% of what the author uses Rust's pattern matching for).
So, I hired a thug to beat you up, but the instructions I gave them were based on an algorithm, so everything's cool! See, I'm not a crappy violent offender, it was just people I hired and an algorithm.

This is not a valid moral defence.
America's True Unemployment Rate
They do it right out in public on their professional accounts to tens or hundreds of thousands of people and face no consequences. Calling for wiping out the southeast or "flyover states," then arguing with people in a way that makes it clear they really mean it. Why bother recording it?
Fake news websites, misinformation and conspiracy theories are now mainstream, and democracy is failing. This is caused by big tech AIs focused on gaining engagement.
So it is right for me that, in theory, the same tech companies try to stop this big mess.
But personally and practically I don’t think this purpose is achievable without tossing the whole algorithms behind the engagement thing, and milder counter reactions like this will cause in long term only more drama and nothing useful....
I remember when my dad bought us a copy of Encarta, I think around 2001. It had a click-and-drag Streetview style walkthrough of historical sites, including, iirc, the Great Pyramids.

I thought that was the most incredible thing ever. I remember getting my friends over after school and absolutely blowing their minds.
Right data:text/html,
>No, I just block cookies from ALL sites except the few that I need to log into. GDPR is mostly irrelevant to me for that reason.

GDPR is about a lot more than just cookies.

>By blocking the modal dialog boxes, I never actually "accepted", and therefore they never got my permission to track. Ha!

Unfortunately they probably treat this as if you accepted the modal (which is against GDPR).
>assemble them together at the PCP level and up

I think you mean PCB, not PCP
If it’s good land you’d be pressed to run a hundred head of cattle on it. It qualifies as a tiny ranch.
Well, the main difference is that - although we do use strings (for files, urls, etc) - the appropriate datatypes are constructed implicitly, that is: no need for newFile("someFile") or %someFile. "someFile", if it is a file path, will be automatically handled as such. If it is a url, accordingly.

The point is to keep the syntax clean. (Ok, that would be an argument of going all the way, like Tcl, where everything ends up being a string - but let's just get the best of every world without overdoing it :) )
That's pretty cool. I'm going to have a play, it could be very helpful.

I have implemented some variants of HAMT and it gets pretty frustrating implementing the same algorithms over and over again for sightly different use cases.

In memory, lazy loading and eager nodes serialized to disk with sync and async APIs, the ability to diff between the above. And sets and map versions.

If you had true zero cost abstraction you could build pieces that can be bolted together to achieve all of that quite elegantly. But an attempt in mainstream languages means losing one if not two orders of magnitude of performance.