skysight-inc/HackerNews huggingface dataset:
> out of touch

This is ironic. The vast majority of users don't know about most of these functions. They just use their mouse. Even for basic things like:

- navigating & selecting text (words, lines etc.)

- switching between windows

- opening search (like spotlight, if they use it at all...)

- opening & closing windows/tabs, saving files etc.

The list goes on. UI design is not about teaching you how to use a computer. And you certainly cannot expect users to already know.

That said. I think fixed position "back to top" buttons are terrible as well and I would put fixed position header-menus in the same category. They just add clutter and worsen the UX, even for those who almost exclusively use the mouse (as you can simply drag the scroll-bar).
Step by Step Guide to Improving Cohesion in Elixir
HTTP 416 – Range Not Satisfiable
Any sufficiently complicated CLI text editor setup contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of IntelliJ IDEA.
My original iPod Touch from 2007 could still sync to my computer as of about a year ago.

Also as of about a year ago, I could still download “the last compatible version” of apps like Hulu, Netflix, and Crackle on my first gen iPad and they worked. Music I bought from iTunes was still playable and still synced automatically to it. I didn’t try to sync from my computer.
Hii
My hot photos are here...
http://69chat.club
My nickname anna69
> None of ecosystem, long term ownership, iteration, or codebases at scale are relevant to a foundational language (i.e. one that is being taught in order to teach the concepts of programming.)

I cannot agree with this. Embedded in this argument is the idea that syntactic specialization towards pedagogy is a worthwhile goal rather than ramping up a pupil towards where they'd be able to function independently as a software engineer by giving them a solid theoretical and applied foundation.

Part of being an engineer is learning how the quirks of the language evolved, the history of how it got to be that way, and what it means in terms of the long term evolution of the language and ecosystem as collectively reasoned through by the eyes of skilled practitioners. You get to see the decision making process of language design, and how the plan became a prototype became a battle hardened tool that can adequately work in a variety of real situations, well enough to gain a significant plurality (or mindshare) for a specific real world use case.

Just because studying Latin is useful for understanding English at a deeper level doesn't mean it's a good idea to learn Latin before learning english. It doesn't change the fact that a) immersion is the best way to build fluency, and b) fluency is the goal, does it? What makes programming languages any different?
Is it not more of an

all(hasattr(node, attr) for attr in attrs))

than the ==
Looks very interesting, I will have to watch.
I would be interested to of any implementation of these protocol extensions outside Apple.
Nice ELI5s/TLDRs, thank you.

Sharing notion (dumb question) here, since you're smart about this stuff:

At what point will "ad blocking" flip to "content scrapping"? All this cat & mouse, arms race seems like a bad ROI.

I imagine an adaptive super reader view mode. Meaning emphasis on content scrapping rules vs ad blocking rules.

Take snapshots of top websites, do some rendered page aware content diffing, with some user directed setting & curation, infer where the content is, distill that down to "good enough" scrapping rules.

Any way. Thanks for answering some of my lingering questions.
Promises to investors and a competitor's feature list define your scope, not your budget. Salaries and quality of hires are correlated (but not causal), and are directly tied to cost as a component of it, along with time. Feature cost estimation can be as simplistic as:

Running Costs + (Weekly cost of Engineers * Weeks Slated) + (Hourly Cost of Managers * Hours in Meetings/Discussions) = Projected cost / required budget.

Increasing scope causes an increase in time spent both in meetings arguing about it and engineers working to build it, which increases the time side. Increasing salaries / quality of hires increases the cost side. Promises to investors or contractual obligations to partners/customers are non-negotiable increases in scope, so directly drive how much time something takes.
On another compiler: https://bellard.org/ffasn1/
Corona Papers: a deep learning-powered search engine to mine Covid-19 research
Hi
My hot photos are here...
http://69-chat.club
My nickname annaxx
Show HN: My Dancing Game and ART Gallery with simple gyroscope feature
Minimize LOC, that points true north, everything else is fake and results in absurdities like AbstractProxyFactorySingleton
They will, but that is an intermediate topic that can be deferred out of the beginners class. Beginners can write many interesting programs without hitting those type problems.
Microsoft duplicates data from Firefox without asking
It’s still tricky to handle more than, say, a million or so TCP connections per box, but moving the connections to UDP with TCP-like state machine in user-space solves none of the issues.
With a warrant, that seems legit. You can't just say the magic words and make evidence disappear.
>Antitrust laws were always based on supply side monopolies

I don't think this is true. The idea that antitrust is only about supply and consumer benefit is extremely limited view. It came in flavor in the US late-1970's and it's known as "Chicago School of Antitrust Law". The defining book of that school is Robert Bork's 'The Antitrust Paradox' (1978).
Hi
My hot photos are here..
http://eroxxx.club
My nickname annaxx
1. SOA and SRV records used for discovery have to specify TTL; Section 6.1: https://www.rfc-editor.org/rfc/rfc8765.html#section-6.1

2. A standard nonzero TTL is otherwise not very meaningful as long as subscription is active. Section 6.3.1 explains the TTL field of a PUSH message clearly: https://www.rfc-editor.org/rfc/rfc8765.html#section-6.3.1

But this mechanism does not replace normal DNS, only supplements it, so no, you probably still need to set TTL.
Do Protests Even Work?
Honestly I think this may be a component: besides code shame (my code is bad and I don't want other people to see it) a lot of programmers also feel protective of their code. They want it to last forever, a paean to their skills. Writing simple code to throw away and refactor feels like a failure -- it should be perfect and eternal.
Foundry VTT – a robust Virtual Tabletop for D&D and other RPGs made by one dev
That isn't how pigouvian taxes work. The point is adjusts the price so that it correctly includes all external costs not already reflected in the costs. It is not about raising revenue to deal with the problem, but changing relative incentives.

For this reason, if the tax is regressive, its perfectly OK for the revenue to be redistributed in tax breaks to lower income.
In Germany its 50 cases per 100'000 in a borough. After that lock downs are supposed to happen again. (with discretion, if, for example, cases can be isolated)

What other country do you think of that doesn't have clarity?
Lets face it hiring is just a shambles in this industry. 20 years in the industry I know how to write a reliable system that is easy to maintain. Getting kind of crap at the tests they give in interviews.
Most surprising thing it: users on HN seem to love this "Facebook kinda content", counting the replies.
Hi..
My hot photos are here...
http://69chat.club
My nickname annaxx
Having both switch and if/elif allows writing code with less redundancy in it (unnecessary keywords and variables can be elided by choosing one selection construct over the other).
And I’m not trying to be not picky.

If you had a 6s and you noticed a slow down. The answer could be buy a new battery and still be able to run iOS 14 decently when it comes out.

If you had an iPad that was slow. The answer would never be “buy a new battery”.
Useful considerations for your next App project
So could I! I even own a rigestered trademark(not thatbi am doing much with it), so i support this!
It is actually significantly different. Imagine being a typically American White Christian and seeing a compelling narrative where you are borne Black, you see yourself as a Black version of yourself in the media mirrors, and you experience a powerful story about the harshness of life as a Black American child. That is significantly more powerful than a Times Square Elvis.
> whitespace is hard to change

What text editor are you using? Select region, Tab or Shift-Tab, and move on.

> Whitespace is a terrible idea.

That’s like, just your opinion man.

The only time I’ve had issues with blocks and whitespace is when some monster mixed in tabs. Thankfully every decent editor can make whitespace characters visible, and a quick find/replace fixed the heinous action.
> It is important to note that if Correia had simply handed his notebooks and electronic devices to his counsel personally, the documents would not be privileged. “[P]re-existing documents . . . not prepared by the [client] for the purpose of communicating with [her] lawyers in confidence . . . acquire[] no special protection from the simple fact of being turned over to an attorney.”
Personally I’m fascinated to know if (with adequate signing and side-loading) macOS 11 “Big Sur” can be run on a standard iPadPro 11”.
This title is literally true but misleading. The documents could be seized not because they were sent from overseas, but because the materials inside were not subject to attorney-client privilege in the first place.

> It is important to note that if Correia had simply handed his notebooks and electronic devices to his counsel personally, the documents would not be privileged.

At least in the U.S., attorney-client privilege does not apply to just any old thing you send to your lawyer. It's applicability depends on the content of the communications.

> Because nothing in the package revealed any privileged communications between Correia and his counsel, the package cannot become privileged “merely because it was sent . . . between an attorney and client.”
Hiii, my hot photos are here...
http://69chat.club
My nickname annaxx
I recall reading about a proposed solution to global warming that included digging a channel from the Atlantic into the Sahara. Big sections are below sea level. So we'd create a new ocean/sea effectively, cool the local climate, and significantly reduce hurricanes on the East coat of America.
If you like pattern matching and Python, I recommend you check out http://coconut-lang.org/ which compiles to Python.
The mobile OS strategy failed everywhere. Now we have bad security (seriously, this is as an OS and browser error) and bad lock-in. I doubt it would have been easy to do with a decently updated, conventional desktop PC, even if you could redirect its network access like it was done here with his phone.

Even with a mitm attack on your browser, this shouldn't have happened.
After 84 Years, Olympus Is Exiting the Camera Business
>Which is why there is such a thing as "human nature" that is meaningful to talk about.

That kind of "human nature" that comes as a conclusion from the fact of what's hardcoded in a newborn baby is only a trivial kind, and not generally what people mean when they talk about "human nature" any more than the fact that babies are born with different eye colours tells us about human nature. Human nature, by definition, is found common to all humans, so a difference in "skills and aptitudes" does not say anything with regards to human nature (or the essence or appearance of it) other than "humans have skills, aptitudes and personality traits hardcoded" (which seems like a very strong claim to me anyway), but that itself would only be a trivial statement. It wouldn't tell us whether it's human nature (in the transhistorical, transsocietal sense) to be cooperative or greedy, violent or peaceful, etc.

Even so, understanding the fact that there is a human nature does not bring us much closer to what that human nature entails. Anthropologists, historians, economists, philosophers, and (some) evolutionary psychologists have a lot to say on the topic. To say that something is "just human nature" requires more evidence than "human nature is unchanging, applicable to all, and transhistorical".
I'd rather ride an elevator that is closed 60% of the time for repairs than an elevator that is closed 0% of the time for repairs.
That's possibly true at the 'implementation' layer, but human learning is quite different, or at elast has some aspects that are vastly different. Human manuals don't contain millions of tagged examples, they contain explanations and a few dozen examples.

So sure, when we learn how to walk or see or read, we may be in this mode of simply discerning patterns in large amounts of data. But when we learn maths or programming, we are using a completely different kind of learning.
This makes no sense to me. The whitespace is controlling. There is no need to retroactively "fix" it because if it's wrong, the program won't work.
Crank motors are generally much more responsive than hub motors if used for pedal assist (as is required by law many places).

Having it apply torque via the chain/belt also mean you can gear the motor output on your back wheel.
The Disneyland of Social Media
Software projects finish just like civil engineering ones do.
Federal court grants injunction blocking Kentucky price gouging statute
Here is an article that I would be completely ready to agree with the premise, but then the author completely botches it by using only wrong reasons to make his argument: scoping, list-vs-array and map-vs-dict, whitespace?!

Really? Python is not a good foundational language because it is meant to be practical. When you are learning the foundations of things, you should be exposed to the damn thing you are learning. Python's main strength is that it abstracts all of this fundamental things away from the application developers and let's you be productive on the application side. When you are studying the fundamentals of Computer Science, though, your focus should be on the basics. For those, there are so many better choices than Python.

Python fails to teach lambda calculus like Scheme or Common Lisp, so you shouldn't be use it to learn functional programming. It does not have any interesting constructs for declarative programming like Prolog. It hides all of the hardware complexity under its VM, so you can't learn about data structures, file structures or algorithm analysis like you would with C, Pascal or any Algol-like language.

So, yeah, of course it should not be used as a language to teach Computer Engineers and CS majors. But scoping, naming conventions and fucking whitespace are completely irrelevant.
Is this another electron ide that takes minutes to copy paste in?
I would expect that WhatsApp had to get an approval before the launch? Is Brazil less regulated when it comes to payment processing?
Transport for London's impossible finances during the pandemic
Gun Violence Spikes in NYC, Intensifying Debate over Policing
If it was Facebook alone, I'd agree that people should have the choice.

But its not just Facebook. It's WhatsApp. It's Instagram (the 2nd largest network, no?)

It seems to be very anti-competitive to control 2/3 of the biggest social media platforms. They need broken up.
Power without accountability or responsibility *
I lean towards building it to the exact known specification and don't worry about how it's going to change. If you write tests you can refactor anything.
If you ask an ice skater how not to fall, they may likely tell you that they have falling tens of thousands of times and continue to fall all the time. But they will know, they know how not to fall because they are intimately aware of what it feels like to fall and know how to avoid it as a result.

I don't know that there is any readable wisdom that will teach you how not to overengineer or underengineer, such that with that knowledge, you automatically know how to achieve the right balance. It is likely a necessary part of the process to build out software projects that are in fact overengineered or underengineered and to intimately learn from that process as well as the aftermath how to tune one's own process to strike an artful balance between the two extremes.

put another way, the MS and Google teams you worked with were screwing up, but screwing up in a way that is necessary for people to learn, if they do in fact learn (they might not learn).

all of that said, starting out by intentionally underengineering, if you know that you are one to start overbuilding, might be a good strategy. but you might have to do some really huge refactorings subsequent to that when you learn your architecture is insufficient.
On tangent, it's strange that our keyboards mostly stayed the same while the screens got around x20 better.

I often need to make bigger and smaller jumps with keyboard. In Sublime I use a plug-in that can jump 10 lines up and down but I also need that functionality across the rest of OS. For navigating menus, scrolling through content, moving around spreadsheet. Page up/down is too large jump with the amount of content that can fit modern screens.
My spouse expressed interest in learning to program and I thought the best way to start would be with Python as it would be the code structure without all that extra boilerplate, and doing simply things in Python is easy. I'm coming to realize that the boilerplate is important. She's struggled a bit with a lot of the things that are explicit in other languages. Variables are just magic in Python - in other languages there's a structure for their creation. I think that structure is important to understand and helps to formalize how things work - it helps build up mental models that just doesn't exist in Python.

I don't agree with the article on a lot of thing - I think the string criticisms are splitting hairs (and aren't all string in 3+ unicode by default?), naming quirks are in every language, and the version split can be treated as a non-issue (just learn 3.8 and if you have to learn the quirks for 2.x to support that version). I do agree with the scope - I think curly braces are easier to visualize and less magic. It's the magic that's kills the beginner experience.
There's even a lot of procedural building during fetal development, with limited input.

Brain scans of not-yet-born babies shows specific kind of brain waves.
"So do you trust some shady foreign VPN provider more than your government approved ISP?" might return true from journalists in autocratic states that have a record of censorship, surveillance and imprisoning journalists.
Your experience is not uncommon. If someone goes into therapy with a high degree of skepticism, a tendency toward cynicism, and unrealistic expectations about the speed and magnitude of progress, they’re likely to feel disappointed. It’s analogous to the nocebo effect with medications.

I had an extended family member who had similar thoughts about their therapy: Complaints about the lack of metrics, constant suspicion that it was a waste of time, inability to point to solid progress. Every time she talked about therapy, it was complaints, cynicism, and suspicion.

Yet from our external view, it was obvious to see the positive impacts on her life. The slow but steady progress and improvement in her quality of life. The improved response to emotionally difficult situations and the better handling of life stressors. Her pride wouldn’t let her admit that therapy played a role in those improvements, though. That, and she refused to acknowledge small progress unless her problems were 100% solved, which isn’t a realistic goal.

If it helps, think of therapy as another tool in your tool belt to deal with life stressors and personal issues. Like any project, you can’t finish it with a single tool, but having more options in your tool belt goes a long way to increasing your odds. It’s still up to you to make an effort to learn how to use that tool correctly, which problems to use that tool on, and when you need to bring additional tools into the project.
An Algorithm That "Predicts" Criminality Based on a Face Sparks a Furor
What language is it written in?

How accessible is game code to a modern web dev that understand memory management and such, but never really uses C/C++ outside of coursework?

If I pull in Diablo / Half-Life / Shadows of Chernobyl source, am I going to see pretty clean files in an organized fashion that I can open with a modern IDE or a code dump?
I feel I should provide an example:

White fragility.
I own a domain that's <some other word>book.com

It's registered via one of those "privacy" services. There's no website on it, but I use the dns for some internet connected devices.

I keep getting requests, which I ignore, for information relayed by the privacy service. Lately, they've morphed into offers to "buy" the domain. I wonder if it's simply Facebook's attorneys who want to find some way to contact me to send a "notice of trademark infringement" to me?
> Horrible set up

For the purposes of teaching, there’s very few reasons to go beyond the standard library (‘Requests’ is why I qualify this). Restricting yourself to that means that python is, most times, already set up for you. It only gets confusing when you start to use shared libraries.
It's always good to rehash it from time to time. Maybe there have been to many posts lately. But there must also be some deeper insight hidden in his work or life's history. I'm not the one to write that article though. :) But I'd like to read it.
We've gone further than that. Here in the US, our current government has sanctioned the ICC, and restricted travel for anyone affiliated with it as retaliation for the ICC investigating war crimes (by all parties) in Afghanistan.

https://www.cnn.com/2020/06/11/politics/icc-executive-order/...
"Essential COM" is one of the top computer books ever written and I'd recommend it to anyone who is interested in object systems even if they don't code for Windows. (e.g. I think better than "The Art of the MetaObject Protocol")
True. Whenever I sit and watch people use the computer (just watch when they are giving a presentation/screen sharing), I often cringe.

Many don't use the scroll on their mouse/trackpad - they literally look for the scrollbar, click and drag to scroll.

Many are blissfully unaware that the keys Page Up and Page Down move the page up and down or that Home and End move the whole page to the beginning and the end.

BUT, they do know about the Back button on the browser so they end up resubmitting forms/double posting, etc. lol
I am a white American who never even travelled outside the country until I was an adult. The very first time I had to cross the border, I ran into issues. It’s very real, no matter how American you are. https://news.ycombinator.com/item?id=23626963

I’ve been harassed by police in other contexts when they followed protocol incorrectly and tried to cover their asses. Lawyers tend to sort that out quickly, but what about people who can’t afford lawyers?

At the same time, I’ve had police officers help me and my family, and I’ve generally gotten along quite well with law enforcement. But in all these situations, they weren’t acting as LEOs; they were acting as social services.
Thanks for sharing, this post is a perfect example.

> Some people think Charles Murray and The Bell Curve were right about everything. Some people think Islam represents an existential threat to the West. Some people think women are biologically less likely to be good at or interested in technology. ... Each of these views has adherents who are, no offense, smarter than you are. ... I disagree with most of them but don’t want to be too harsh on any of them.

These kinds of people should be kept out of "marketplace" entirely. The world is better off without blogs like this.