skysight-inc/HackerNews huggingface dataset:
The PEP appears to contradict itself about implementing the with statement using macros.

> It is possible to demonstrate potential language extensions using macros. For example, macros would have enabled the with statement and yield from expression to have been trialed.

But later, in the example showing an implementation of the with statement:

> The above would require handling open specially.

If the macro-based with statement implementation can only handle the built-in open function and not arbitrary context managers, it's much more limited and not really the same feature. Does this mean that macros as proposed here cannot actually be used to implement something like the with statement?

Also:

> Annotations, either decorators or PEP 3107 function annotations, have a runtime cost even if they serve only as markers for checkers or as documentation.

But this runtime cost, if the decorator returns the original function, is essentially the cost of a function call when the module is loaded. If the decorator doesn't put a wrapper around the original function, there is no runtime cost when the function is called, only when it's defined. You would need a huge number of decorated functions for this to have a a detectable effect on module loading performance, I'd expect.
> feeding paper ... fiddly

Printer paper came in long, laser-perforated sheets with tabs. You'd load in the start and one sheet pulls in the next.

https://en.m.wikipedia.org/wiki/Continuous_stationery

The crank you had to put into the front of the printer to get the steam-powered engine turning could jam in the transmission, though, and you had to watch the temperature of your coal-fired ink tank so it didn't over-boil. Those "electronic" printer guys thought they were so fancy.
Aye skipper, that's a good idea.
BREAKING NEWS: trident1000 is a child molester; found with 6000 indecent images of children on his PC.

For the record this is intended in jest
Indeed. There's a Chomsky quote that fits here:

The smart way to keep people passive and obedient is to strictly limit the spectrum of acceptable opinion, but allow very lively debate within that spectrum—even encourage the more critical and dissident views. That gives people the sense that there's free thinking going on, while all the time the presuppositions of the system are being reinforced by the limits put on the range of the debate.
Haha, I have no idea, Japan office dealt with it.
I understand your point, but I think you're combining a lot of different issues into a single argument.

Yes, men dominate leadership of most fields. That's a widely known problem. The stats are glaring and blatant. It's difficult to fix, but we generally know some strategies that work. The challenge is building political will.

This article is about a problem that is not widely known, which is obviously why she chose to write about it.

Forgetting about whether elementary school performance results in leadership positions, first look at the effects of penalizing high-energy children (regardless of gender):

- ADD over-diagnosis

- poor grades due to teacher bias, which the article mentions (academic grades are artificially deflated based on unrelated behavioral issues)

- school-to-prison pipeline (not mentioned in the article, but a huge problem for boys and not at a problem at all for girls)

Maybe a solution would be to have gender-only schools, but that might cause other problems. It seems that most of the problems in education are a result of treating children as a homogeneous group instead of individuals, which is another thing this article points out.

There may not be enough money to have individual lessons for children, but perhaps a more college-like system (where high-energy children can enroll in physical classes while low-energy children can choose to do something else) would work.

For the record, I was extremely high-energy and not athletic at all. The solution for me was not to do competitive, physical classes. It was to do active classes that involved working (even if "working" was just filling out worksheets) instead of sitting still and listening to a lecture.
I'd assume some sort of fusion between RF triangulation (mobile network and wifi) and barometric sensor would get a proper floor fix.
Don't be misleaded - the only thing Nim really has from Python is the off-side rule (indentation). Nim is statically typed and compiled to native binaries
Smoking-gun email reveal how Hunter Biden introduced Ukrainian businessman to VP
When I was looking for a new SWE job in 2016 after my startup laid off a third of its employees the vast majority of open positions in other startups were in "analytics", marketing or advertising-related companies.

And similarly most of the positions that Amazon, Facebook and Google recruiters have approached me for are also in that field (even though I don't have any professional experience in that area, nor any keywords in my LinkedIn profile). I understand it's where the money is, and it's probably a good idea to work in a profit-center for once instead of being viewed as a cost-center by the MBAs, but I still have a soul.
I remember the day I learned that Youtube comes preinstalled on iOS devices -- because the Youtube app somehow (despite never being used, let alone being logged into Google) managed to put a push notification on my home screen -- a push notification for a new upload from a fringe alt-right channel with just a few thousand views. Naturally, every single recommended video on that video was alt-right and far right wing with some Neonazis sprinkled in.

Social media drives antisocial behavior and social division intentionally, because these bring huge numbers of clicks and thus ad money.
It is even more naive because everything already optimized for engagement by selective pressure without algorithms. Headlines were the original clickbait.

Blaming algorithims is the "big lie" essentially of repeating something enough that people eventually believe it is true. I noticed it before and dismissed it as the bullshit it was but even computer literate people are falling for the hysteria.
Can you say more about why Windows is closest?

I’m not looking to debate - just that it’s not obvious and I suspect the specific reasons why would be interesting to know about.

Thanks!
In addition to what's been mentioned, printing has much tighter tolerance requirements, e.g., to distinguish between "h" and "b" at a small font size. It actually has to be a very good spatial representation of the design. And how cheap printers actually accomplish this with crude bits of plastic and stamped metal is pretty amazing.

On the other hand, 3d printed objects may only need to satisfy overall mechanical needs, or be suggestive of the shape that they model, to serve a purpose. Most 3d printing that I've seen needs a bit of hand tooling at the end, to really be useful.
According to the actual bible, all christians are priests.
The site is hard to see/use on mobile. Seems to be a fixed width? Can you test your site on phones and update the CSS and HTML
Or investors in the form of greater profit?
Out of curiosity, why do you care if CCC uses affiliate links? Not trying to troll, just genuinely curious. I figure if CCC gets a bit of a kickback on something that's fair for me using their site as a means of keeping it going.
That is misinformation. The Mesa Arizona police aren't investigating the death of Gary Lenius as a homicide. His wife Wanda isn't in prison. The poison was chloroquine phosphate, not bleach.

https://www.nbcnews.com/politics/politics-news/police-say-de...
This is a great concept and approach! The need is definitely there, but the devil will be in the implementation details. Good luck!
For those interested in how that compares to local market conditions, this is a value of $1 per citizen of Nigeria, which has a GPD/capita of $2k.

If we assume the penetration doesn't extend beyond the main city Lagos and it's metropolitan area, that is more like $10/person with roughly the same GDP/capita.
"Behind this possibility lurks a larger vision, too. "

And a much darker one.

I for one, do not want machines scanning my heart-rate, pupil dilation, breathing pattern, muscle micro-movements, facial micro-gestures, etc, while in interview, for example.

These technologies are of course being developed for the purpose of control, for example in interrogation, and not for the benevolent purposes they claim, IMHO.

The PTSD victims they give as an example use-case, should be treated with humanity, not sniffed out like rats with technology, to then be subjected to institutional corrective treatments.
Ancient South American farmers used floods, rather than just enduring them
Congress should invest in open-source software
Hah of course it exists. Neat, now lets see if I can make my STM32 pretend to be a printer...
https://archive.vn/7Nwxj
Hackintoshes are based on macOS, but that doesnt mean it receives the breath of testing and scrutiny as the real deal.

Thats the whole point, right? Obviously smaller and non-mainstream distros with non-mainstream packages, more cutting edge packages will have more paper cuts.
here's the orginal: https://blog.dropbox.com/topics/company/dropbox-goes-virtual...

This was interesting: "Next, we’re embracing what we call “non-linear workdays.” We’re setting core collaboration hours with overlap between time zones, and encouraging employees to design their own schedules beyond that."

I've been WFH for about 8 years and have found this just happens naturally. At least for us it did. My team is in 3 different timezones and do work for people in 9 timezones. There is no "9-5", it's just not practical.
I had to google the UK and France stuff. Seems to be, as bad as they are, well covered single cases (one group of rapists in the UK and a couple of riots in Dijon). So what exactly are you not "allowed" to discuss?
As interesting as the book sounded, this description is a bit disappointing. Being the best at what you do, in my mind has little to nothing to do with charisma. It does help achieve the same results as being charismatic (people listen to you, want to be in your presence, respect your opinions more, more willing to go along with what you say), but not due to charisma. It's due to the social capital of being the best at something people care about.

Charisma is more about people feeling that same way from someone the just met, from someone who just walked into the room, from someone they know nothing about.
Do you have Require Attention for FaceID enabled in the settings panel?
So true,. I've never ever done so much sport since I have my own gym, even if it's more expensive at first than a cheap gym in paris.
It has the IEEE logo. Looks expensive.
Why wouldn’t containerization be the right solution?

A “container” is an archive (eg, tarballs) of the contents, a hash chain of the construction, and some config data about cgroups and namespaces to run it with. Turn off the parts you don’t want — I usually turn off virtualized networking, for instance.

It’s a more lightweight package that doesn’t have versioning problems and doesn’t require crazy installation scripts — what benefit is traditional Debian packaging supposed to have?
>How is PUUUUU pronounced?

Like Booo but more firmly ;)
I use a monochrome laser printer from 2012, and I'm very happy with it, so you're not far off. :)
That's interesting that you feel this way, personally I take the exact opposite position. I want printer drivers to be a thing of the past. I just want to pass the printer a file that represents a document and let it handle things for me. Some kind of standard format, probably something in the Postscript/PDF family tree.

Likewise for scanners. I want to just have a HTTP API or something like that where I just "GET" an endpoint and the scanner hands me a file in some reasonable format.

The drivers are always the worst part of devices that allow computers to interact with paper, so let's get rid of them altogether.
> I think there are scores of political prisoners serving time for wrongthink who might disagree with your assertion that almost free speech is working pretty well.

So you're claiming that Sweden has put people into prison because they discussed the increase in rape? Citation please.

Your whole comment is a prime example of unfounded FUD. [1]

[1] With the exception of Russia, China, and probably Ukraine, but in what world do they belong in one bucket together with Sweden or France in terms of democracy?
I suggest scraping primeDay page frequently and prioritise price update for products that appear on it.
>(and I've even argued that marketing at it's core is unethical, but that's a hard sell most places)

100% agreed, and I gather from other times/places where this was brought up that there's more of us than you might think.
Show HN: Keepup – news feed aggregator for developers (HN, Reddit, Dev.to etc.)
At first I thought Kubernetes was a massive overkill. However as I learn more about it, I’ve been a big fan of having a local minikube cluster for dev, jsonnet for template wrangling, and being able to ship to stage and prod the same built images.

Once you get over the learning curve it makes a ton of sense why k8s is growing like wildfire.
Thanks for the link. That 2 million people seem to be arbitrarily thrown into cages – from what I can gather from the parents statement – threw me off.
Nah if you wanted to prevent the genocide you need to kill the perperators until they stop. Blaming the channel for genocide is as facile as blaming encryption for crime since in both cases they could talk to the same people to plan crimes. Genocide occured when humans were hunter-gatherers stop blaming the tech for it.
Maybe these monomers could be mixed in right before printing, to allow gradual change of material properties in a single print?
At least true in Sweden. You don't have to know much, but you at least have to be able to check your tire pressure, pop the hood and check the oil and know which hole to pour which liquid into.
Hybrid Jobs – An Alternate Path to Tech Career Success
Patents are not an issue on having opensource 2D printers but the average hackers don't have the manufacturing capability to make an inkjet print head. There are lots of design on the internet on how to build your own inkjet printer. I think it's not exciting enough to explore in a garage since we can pickup a decent printer from the garbage. I am more excited on parts I can salvage from an office printer than thinking of building a better one.
WFH saves money for the company, I just hope that some of the expensive (to the company) perks like prime real estate, free meals, exercise programs, etc. can be translated into at least a minimal budget per employee of: Internet connection reimbursement, annual budget for workspace improvements (ideally with a large initial budget, like $1000 or more for desk, monitor, chair, etc.), and possibly some other perks.

But it will likely just be on the employee to pay for all these things, and the companies will reap the benefits.
How about a case involving human rights law?

https://reason.com/2019/07/23/jessica-yaniv-da-silva-brazili...
The large amounts of misinformation also threatens debate, does it not? Most misinformation and conspiracy theories are not looking for proper debate and often times result to logical fallacies and falsehoods to prove their point. Thus, proper debate is drowned out.

By and large I don't think debate is threatened. We have to draw a pragmatic line somewhere, otherwise we will waste time debating if the earth is flat and the endless amount of absurd ideas. Ultimately, we've already debated many of these ideals, if not explicitly.
Only for consequential decisions, but yes, a GDPR complaint from someone who purchased the Quest 2 is the right approach here.
> "I have the correct views held by the establishment, so I'm not worried about it."

If the establishment's views are strongly codified and checks and balances are in place to maintain them, is that so bad?
Many people call Go a systems language, which by my reasoning means almost anything is.

Like many words programmers use, there appears to be no agreed upon definition. Memory management in Nim is not usually totally manual so may be not top notch for all systems type tasks. But you can probably do it if you need to given how configurable memory management it.
Every time I see a 3D printing project like this, I experience a mix of disappointment and hope for further progress. If the finished result is going to look so rough and unfinished, it's just not for me yet. If, in order for it to look good, I need to carefully sand the result and account for that sanding in the initial design, I might as well take up woodworking. Sanding is laborious.
If you want free speech you need to learn to live with free speech. That means not believing everything you see, critically thinking, and actually vetting the sources yourself. Its a societal process that plays out over time. The answer is not to have content oligarchs that decide what is truth and can be seen. Statements like this eventually are just seen as noise and ignored as people look for verifiable truth via trusted sources within platforms. In short, it works itself out.
Agreed. Same with Arduino and C++. If you buy a random developer board you have to also buy a programmer and learn the tool chain. This is an unnecessary barrier for dabbling around to see µC are interesting to you and you can still learn the principles about µC I/O.

Even for professionals this can be interesting for prototyping (heh, not because JS is prototype based).

Even with no perfectly efficient code modern µC are very powerful while using basically no energy. Their example processors are already very powerful and certainly can run a small interpreter with no problem:

http://www.espruino.com/Order
...and that managers don't need to be hovering around their employees in close physical proximity to make sure they do work?
It is a very good deal for Stripe, but I do wonder if would it have been a better deal to buy 2-3 early stage Nigerian startups five years ago.

Maybe the winners aren't willing to sell early/cheap.

Should Stripe be investing in seed/Round A start-ups? Having Stripe as a resource could be big -- funding, advice, and potentially infrastructure.
Wow. This was a fun read. I would have been lost - but loved for somebody to explain it in a way I was able to grasp with my level of technically understanding.

Thanks to the author - I would love for this data to be in an open format, as I would love to do some kind of personal analytics on that (same with Audible data actually).

On a different tangent, I really love the ease in the Kindle/Audible ecosystem to switch between the same content in different media. Reading on the kindle app, switching to Audible in the car and back to kindle in the evening in bed. That really makes reading/book consumption great.
It was posted before[1], but there was just the name Sciter in the title, if the post had something like "Sciter engine: Electron alternative going open source" it would have had much more views.

[1]: https://news.ycombinator.com/item?id=24493575
I want to remove a couple misunderstandings that I see in the comments.

Nim is "not done" and I hope it never will be. Watch Guy Steele's "Growing a Language" talk for my rationale. We want a language that can continue to evolve and introduce or research new programming language technology.

ARC is scope-based memory management computed at compile-time. It is deterministic and not stop-the-world. If you want to influence the memory management for performance reasons, it's quite trivial to do so by manipulating scopes. There are also knobs and levers if you need direct control of individual allocations.

ORC is ARC but with the tiny addition of a cycle-breaker.

ORC will be the default because it's more convenient than ARC while capturing all of the benefit. It simply adds calls to the cycle-breaker that you may be uninterested in typing in yourself.
Fiscal rationality cannot coexist with idiosyncratic policies
Imagine you hit a bus error on the last memory access of LDM. You already updated 15 registers, so now you need to undo all of that.

If instead you had executed 16 separate LD instructions, all of them would have retired and update state by the time the last one gets the bus error.

It’s all doable of course, but it means your OOO algorithm and physical implementation need to handle a lot more state in flight.
You heard or remember the story wrong. There wasn't a bleach couple. That was a form of chloroquine as an ingredient in fish tank cleaner. In some media, it was equated to (hydroxy)choloroquine as a medicinal drug even though this pharmaceutical drug has a high safety rating. Also, I don't think anyone went to prison even though it's assumed the engineer husband would have not knowingly drank poison. The wife also ingested some, but she survived.

In any case, the media can't pretend they rely on arbiters of truth because there is bias all around. Trump's statements on disinfectants were not as incendiary as some people made them out to be. Disinfectants can sometimes be used in the lungs or body, but this is a question for the medical field. The media speculated about poison control calls surging after Trump's statements, but any small uptick seemed to already be present since people have resorted to rigorous use of disinfectants in the home going all the way back to March. Finally, with the focus on lockdowns and isolation, we've actually somewhat missed the point of the DHS briefing on disinfectants and UV decontamination. We were supposed to be looking for simple innovations that made going to places like the grocery store safer and more manageable, but I haven't seen much progress in this area.
Optional Parameters in Rust
https://gist.github.com/aphyr/4d41e7655b10a68e753f729bdc1c5a... is titled 'Minikanren in Lisp in Prolog'.

there's also a 'Report abuse' link nearby...
The simplest thing for me:

Why can't they be MORE MODULAR? See also cellphones.

It shouldn't be hard to have a sane default setup, but also have the opportunity to easily have your own kind of dock, or add and subtract widgets, even switch between tiling and not, etc.
Related: I have a HP 4000 with duplex, which is an absolute unit (beast) of a small workgroup laser printer. It's 20+yrs old, still going strong and parts are easy to get.

BUT, it's compute bound with modern print jobs, and is missing modern protocols like Bonjour.

What if someone open sourced a legacy printer? I'd love to re-brain this printer.
Names as identifiers are an archaic throwback at this point. Every person on the planet should have a unique GUID assigned to them. This can then be used to refer to them independent of their preferred identity.

Names are for friends, not companies.
Implicitly redefining words is a dishonest way to solve your marketing challenges. Spinning this into trust is hilarious; I think I'd be wasting my time explaining the hypocrisy in your post.

If you treat your customers as morons maybe you should expect to attract morons?
New Golem – come build with us – 10k USD in bounties
How hyperbolic. I'm struggling to imagine what you may have experienced, exactly, to put discussing such issues in the UK alongside discussing Tiannamen Square in China.
One thing I've been wondering about is RSI liability with WFH. Some companies spend a significant amount on workplace ergonomics to prevent/manage RSI. WFH, though, is a much less controlled environment. E.g., a particular worker may not have the physical space for the recommended special equipment.

RSI: Repetitive Strain Injury
Don't be so optimistic. The next thing you know SaaS business that let managers monitor employees will be all the rage.
When you read HN comments it helps to preface them with “I feel like...”
As far as I'm concerned, saving an hour of commute each day more than covers the costs of a desk and using a bit more electricity :)