skysight-inc/HackerNews huggingface dataset:
Different ROP's do different amounts of work (both logical operations and memory accesses). An ROP like BLACKNESS just fills the target with black, where an ROP like SRCAND does logical operations on multiple source values. The dynamic compilation let them truly reduce the inner loop of the BitBlt operation to about as simple as it could be with the given ROP.

There are also format issues. Circa Windows 1.0, you might be likely to have a CGA, Hercules graphics board, or EGA. All three have different memory formats and architectures. (CGA was fairly ordinary, Hercules used an odd line ordering, and EGA had multiplexing hardware on board that let you operate on 32-bits at a time over an 8-bit interface.)

Any approach based on lookup tables would've both taken a lot of memory that wasn't available and introduced extra memory references in the inner loop of what was probably the most performance critical code in the OS from a GUI PoV. (Keep in mind that unlike the Mac, these machines were not originally designed to run a GUI.)

This story is set ten or more years after the design of BitBlt was done, but I think it does nicely illustrate how people were thinking about memory back then. The reason Windows 95 didn't update the seconds on the taskbar clock was to allow it to page out font rendering code on small machines. If you're rendering text every second, you can't really do that.

https://devblogs.microsoft.com/oldnewthing/20031010-00/?p=42...

(And Windows 1.0 was written to run on hardware with 1/16th the memory of Windows 95.)
No. None of the media I partake in makes me feel that way at all. Can you point to mass examples of this?
Why? Of course it's entirely possible to build programs of a larger size. I'm just saying that after a certain point you start hitting walls. There are tons of ways to hedge against this - leveraging mypy early on, spending more money (on eng, infra, ops, etc), architecting around the issues, diligence, etc.

It would be very silly for me to say that you can't build large systems in Python, I've worked on plenty that are much larger myself.

Saying a language is possibly the best for two important use cases (exploration, small programs) is quite a statement, in my opinion. I don't think I believe that there's a language that excels so well in, say, building web services.
The UK has recently introduced a 'sugar tax' on soft drinks. Try buying a soft drink without artificial sweeteners in. Then there's the 'may contain nuts' problem, if a manufacturer can't definitively say that a product doesn't contain hormones they'll just cover themselves by not guaranteeing it.

So no it wouldn't really be the choice of individual buyers.
While pretty grim, the animal ones are interesting.
> Is this just a case of ‘Nobody ever got fired for choosing Blackboard’?

I would say it's more a case of "Nobody ever got fired"

As a former high-school hacker, I routinely reported major holes to District IT. No one gave a damn. Only once I started poking around private financial data did they raise hell, and even then it was "Show us what you have, tell us how you did it, and we'll let you walk. Otherwise we'll get the police involved."

Handed over my laptop, the IT guy managed to play some Rammstein accidentally but otherwise found nothing of note. I was banned from bringing, touching, or even being near a computer, my assigned seating was moved in all classes directly to the front, and that was that.

Kept in touch with a few of the tech-interested Freshman I knew during my Senior year, nothing was ever patched, nothing changed over the ensuing years. The exact same exploits I informed them of were not touched.

There is simply no culture of accountability.
Firefox Containers¹ are nice for that. Put the website in its own sandbox.

1: https://addons.mozilla.org/firefox/addon/multi-account-conta...

My only gripe is that the containers won't be in sync accross systems, which is already time-consuming to setup..
The Pepsi Points Case
Is there a reason people don't choose Perl much anymore? It's a fine scripting language and supports the UNIX C API almost full stock.

^ Another Siracusaism, who's still - by his own admission - a Perlhead.
> everything that doesn't use async/await is promised to never block or perform I/O

I don't think that's true. See fs.readFileSync for example. You could say that's an exceptional case (which I think it is), but it means that there's no "promise" that functions without async/await don't perform I/O.
Almost certainly a "water hammer" effect mixed with pipes that weren't mounted tightly to a frame, allowing the pipes to get a good amount of movement during the water hammer event
Nuclear Reactor for Mars Outpost Could Be Ready to Fly by 2022
Front end Weekly Digest (5 – 11 August 2019)
For those looking to reclaim their own digital footprint, take a look at NextCloud. I've been running my own instance for a while and it's a lot of fun.
I can't help but feel like the Venn's diagram between people who suggest "move to a more rural area" and people who never lived in a rural area for a prolonged period of time is a full circle.

I've seen plenty of comments from people in rural areas along the lines of "Why are all the young folks moving to the big cities instead of here?"
Because the US produces a massive amount of agricultural product and the ag lobby is gigantic in the US. If you attempt to cut out the ag politicians you'll quickly find yourself unable to get bills passed in Washington.
I hadn't thought about this and it's an excellent point, thanks for making it.
English is not my native language. In my native language (Italian) "coworker", like many other words, can be both male and female, but to avoid unnecessary redundancy our grammar allows for the male form to be used to include everyone with no distinction (even beyond the two default genders used in the grammar).

So, technically, my use of "he" was more inclusive than you realize.
he is joking
What was your commute time to the big city? Being in a small community but being within a daily commute of a big city seems to make you a bedroom community, not an isolated community.
Double as confusing if you're used to taking a more fp approach, too. I definitely went overboard with await when it first came to JS, but nowadays I've found a new respect for .then. Especially in TypeScript where it's easier to chain the functions and worry less you're using them wrong. Many of the functions I'll write for a .then will find their way into an Array#map or an observable too.
Which is the desired result, right? Key escrow forces you to be explicit about who you're allowing to decrypt your traffic rather than letting it be everyone by default.
Testing is necessary, but if you're only testing "faster", couldn't you replace the nuclear warhead with a rock?
Much that my naive self wants believe that nonviolence works and violence doesn't. Often its the potential for violence that the powerful even starts a token conversation with the ignored and the powerless. Its then they start preaching that non-violent means needs to be adopted and there needs to be a negotiation.
Seems like a hell of a lot of engineering effort for something that could easily be replaced by a gradient...
Pipenv's dependency resolution doesn't handle backtracking[1].

I've tried similar configurations with poetry and it doesn't seem to have a problem with them.

[1]: https://github.com/pypa/pipenv/issues/2596
This is interesting in the context of the SpaceX capsule design that heavily relies on touchscreens:

"The cockpit simulator demonstrated the controls that Dragon astronauts will have at their command. In comparison to the space shuttle and its more than 1,000 buttons, switches, and controls, the Dragon capsule has a modest array of three flat screens and two rows of buttons below." [1]

It seems like space travel would be less resilient to the growing pains of naval travel when implementing new tech, but hopefully they get the HMI issues all worked out beforehand.

[1] https://arstechnica.com/science/2018/08/spacex-reveals-the-c...
In go (and anything else with green threads), you pay the price for not putting await in front of stuff by introducing a whole new semantic concept of different threads which must now communicate with each other with other specialized data structures etc. Multithreading is useful when you will actually be using the CPU’s full capacity, but is an enormous extra abstraction if not. With async/await you just have to introduce a little extra syntactical clutter.
My opinion on static type systems is that, unless you're actually doing a more type driven development style and leveraging the type system, the single greatest benefit is IDEs will autocomplete for you, give you 'jump to' etc.

Python without type annotations can be painful in an IDE - it chokes a lot on those features.

Since I don't take a very type driven approach to Python (it would be too slow since I'd have to figure out 3rd party library types and shit like that) I just write annotations in places where I personally know the type. Mypy complains about this for various reasons - probably because my annotations are not technically correct, because I'm not a pro at generics in mypy and working out inheritance, as well as general mypy issues like poor support for class methods and that sort of thing.

But I ignore all of those errors because the IDE can still work things out.
>Python 1.4 was an awesomely simple programming environment and I pretty much immediately fell in love with it. Then features were added. Now it is a whole home improvement store full of kitchen sinks.

I've used Python at the time (and up to now). It was a revelation compared to Perl, but it sucked compared to modern Python.

What exact features you have a problem with?
You can remove the as long out of the last sentence and it still makes sense.
I thought it was funny. I didn't see it as trying to remove gender as much as talk about how rubbish the practice is (antivirus programs are huge attack vectors, and I assumed the author was calling the anti-virus a Monster).

Chill out. If you start to find offense in everything. you're not going to have a happy life.
First thing I thought of as well. It's a fantastic project and I would hate for Canon's response to this to negatively affect them, whether it becomes hardening the device's firmware upgrade process to the point that the project does not become feasible or unnecessary legal woes.
Using whitespace for indentation is dumb.
Huge overhead for process communication, weird interface, weird semantics, etc.
This page and the next one are surprisingly lucid: https://principiadiscordia.com/book/56.php
> Static, portable binaries on Linux are hard.

That’s why it can’t be an afterthought. It must be baked into the language as part of the design (golang)
DO has sometimes been accused of overselling capacity and then terminating services when they are fully used. I have never actually heard a first-hand account of this, but I assume that is what the parent is talking about.
I'm curious if there is a correlation between online dating apps popularity and rise of extremism. Any studies?
I don't think you'd ever write that in Java because Java would punish you for it. You can always blame the programmer, but I'm always going to blame the language for making 'bad' easy.
Programming Languages Slated for Future Greatness
>All our stuff is in Java, and honestly, if you use Lombok to squeeze out the boilerplate, and a decent dependency injection framework like Guice or Dagger, modern Java really isn't so bad.

So, basically, if you go out of your way not to use Java as is, Java is not so bad for the task?
Yea, let's till under every square acre of land to produce massive amounts of corn that we turn into animal feed extremely inefficiently, oh and pump out gigatons of HFCS fattening up the world around us.
GK 2019 eBook PDF Download
DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"

Use two or more spaces at the start of the line: https://news.ycombinator.com/formatdoc
Yes, that is often times missing from these write-ups, and can lead me to feel more frustrated during my own projects when things don't go perfectly well on the first go!
That was part of the problem on the USS McCain: there were so many different modes of control that the crew lost track of the state of the system.
It's as standard a solution as any, it just doesn't require changing the language. If you can Promise.all, you can Promise.coroutine. Putting async in front of a function definition requires learning a new syntax, but wrapping a coroutine FN around it builds on knowledge of existing behaviour.
I must be brilliant then, at least that's what the voices tell me.
Great advice and thank you for sharing! Do you have a Dockerfile or CI config/recipe that you could share?
Using PVS-Studio Static Analyzer in C and C++ Development for Embedded Systems
> France didn't want to import US Beef (fair), the US threatened to not import French cheese in retaliation (seemingly also rather fair).

The local shop didn't want the mafia's "protection" (fair), the mafia killed the shop owner (seemingly also rather fair).

More seriously I don't think allowing foreign entities to destroy your local means of productions brings any good in the long term. Once your local producers are out of business you're essentially relying on the goodwill of some for profit companies to not increase the price of their products, or you're at the mercy of "The Market™️". Especially for something as fundamental as food.
Of course that would depend on jurisdiction, but with the caveat of same jurisdiction as Pepsico was sued under, the ad in itself would not create a binding contract there either, no, unless it also contains a lot of other elements absent from the Pepsi ad. But it is still not equivalent - the court judgement does not argue that the mere presence of exaggeration implies that nothing in it could be an offer. What it sets out is:

- That the presentation of the jet prize is puffery / exaggerated and meant in jest. If you remove the ridiculous, over the top part from that, there is nothing left but the items actually on offer. In the case of an ad presenting a trip to Disneyland and illustrating it with "magical transport", I'm quite confident the courts would consider the potential offer to be the trip, not the "magical transport".

- The court further held that even if it wasn't puffery, an ad does not automatically create a binding offer; in fact it makes the claim that even an order form (which did not exist for the jet) does not automatically create a binding offer, unless it unambiguously sets out limitations that makes it clear that there's nothing negotiable, and that usually includes making clear the specific terms, such as limitations of supply etc. This would likely be the case for an offer of a trip to Disneyland too, magic or no magic, if it was presented as in the Pepsi ad, with no terms and limitations stated and with a reference to a catalog that did set out terms and and order form, and that in the Pepsi case did not include a jet.

I added the URL to the verdict elsewhere.
> Social Security numbers are the keys to the kingdom. In this country, people get a unique number when they’re born, and the Social Security Administration tells them it’s secret and valuable. Then we use that number to pay taxes, to get government benefits, to apply to college, to get a mortgage, to apply for a car loan, to open a bank account, to track our credit. We’re asked to hand over this number again and again to institutions that have failed to guard it.

This is the problem right here.

To that sorry list, I would add medical providers' offices (doctors and dentists), all of which seem to request social security numbers for some reason on their patient intake forms, when all they should need is the patients' insurance information as printed on their insurance card.
How could turning your back on a wild animal go wrong?
It's a tricky distinction because the program is changed to dampen the vibrations but it's all baked into the program at start it seems. I'd say it's not active because it doesn't dynamically monitor and change the program. In theory you could perturb these animatronics in such a way that their damping motions actually increase the vibrations.
Most of the time I just stick with this in a .envrc file:

export VIRTUAL_ENV=${XDG_CACHE_HOME:-~/.cache}/virtualenvs/$(basename $PWD)
export PATH="${VIRTUAL_ENV}/bin:$PATH"
python3 -m venv $VIRTUAL_ENV

I just enter the directory and the environment is created/'activated'.

In all the years I never had any need to use the real activate method. Just running Python and scripts directory from the bin/ in the virtualenv is enough to run 'inside the env'.
I do not know for fact, but a couple of key things I can think of that make sense to me.

1. The vast majority of the United States population (density wise) is on the East side of the Country, not the west. If you pull up any population density map you can see it, yes California is a big state but the density of the population overwhelmingly is on the East side of the Country.

2. The cost of land and overall infrastructure as well as employment costs are far less in the South East than in the West or North East. Not to mention there are more favorable terms and less bureaucracy to build generally than say in California or New York.

Even if you look at the centers outside the South East you'll see they picked lower cost states, and what are likely states which will give better terms on taxes and land but still have the overall infrastructure to support them.

Just my 2 cents, but to me it seems like they are close to their customers based on population density.

*edit, added a sentence.
Right, there is always an escape hatch, this is also true for haskell with unsafePerformIO - because of practicality.

That's a good thing :]
Hi there, non-paywall link, anyone?
This is a superficial comparison of these trends and also dodges the point. So what if the people complaining about excluded males are hypocrites. Are they correct? They can be wrong about black people and still correct about men.
The culture at NASA traditionally was to allow the occupants of any craft to have complete control over everything[1], even though it was technically possible to pilot entire missions remotely (as many unmanned missions over the years have proven). I'm assuming SpaceX doesn't have such a culture.

[1] Digital Apollo is a very interesting book on the subject: https://mitpress.mit.edu/books/digital-apollo
related: https://news.ycombinator.com/item?id=19728271 - Selfie Deaths in the Outdoors (outsideonline.com)
If I had the money, I would think about opening a social club. I experienced them a bit when living in New Orleans, but I also know they are more commonly associated with the wealthy/upper class.

I would hope to take it the opposite end. Open to anyone in the community with monthly dues that regular people can afford. Just make it a nice place to socialize, play cards, listen to music, and meet new people.

I’m sure it would be an unmitigated disaster as I have no experience running something like this, but it’s a small dream.
Except they have patents on 'e-learning'.
This type of security is often overlooked in embedded devices, especially those ones that are connected to wifi/cellular for the first time.

A good bit of advice I received was "imagine someone is trying their hardest to break into your device at every interface. What can they do?". With that mindset you can then see where to firewall every connection to the outside world to the main controls of your system.
Show HN: GitHunt – ProductHunt for open source code
In their 50s. The average age in the company is now in mid 30s
You should absolutely not trust an ISP more than Google. Google monetizes your data themselves, while ISPs will pass it around to anyone with a couple bucks...

If data privacy is your goal, keeping both at arms length would be ideal... except most people can't choose how much data* ISPs scoop up, or even choose to switch to a competitor if they disagree with an ISP's policies.

*In contrast, you can control a decent amount of what Google collects on you.
Yes, funny, but seriously, where's the threat model where you've analyzed the risks of installing code from GitHub over HTTPS and found it to be less secure?
I do wonder if I'd feel differently if async + yield was a more common pattern. It can be extremely powerful (especially when combined with an event emitter). Maybe my problem is more with how async/await still isn't really being used for anything generators couldn't already do, but that's more about the current approach to using them than a limit of the language.
You're literally arguing with Google's own statements about AMP now: https://www.youtube.com/watch?v=DXEdcNTs-GE [AMP First: AMP as your main framework (AMP Conf '19)]

"In this special episode of Amplify, discover how to go "AMP First" and use AMP as your main development framework to significantly increase your productivity as developer. You'll also learn why "paired AMP" was never really meant to be an end state for AMP."
The awful UI and pervasive install base shows that Blackboard's fitness in the market is not tied to their UI or other tech decisions. Building a successful competitor to Blackboard is not predicated on your ability to design a prettier, faster, more usable interface or a simpler, more powerful feature set. It's 100% based on your ability to do enterprise sales to universities.
Uber&Careem merger: How the emerging taxi services will affect in MENA region?
Just because something is legal/illegal, doesn't make it right/wrong. I think we will all have to start getting comfortable with illegal things happening -- and even participating in them -- if we want to stop environmental catastrophe.
> Hong Kong was very far from a democracy

True, to an extent, yet it had civil liberties and the rule of law to a larger extent than China. So, I think GP's argument still stands.
I've coined the term selficide for this.
I know it doesn’t sound at first like what you’re looking for, but I strongly recommend the Fast.ai course.

Despite advertising itself as for coders and not math heavy, I found it to be much better at explaining the math than, for example goodfellas’ book.

It’s also much better at talking about the inspirations of certain methods - such as Dropout - than other sources I’ve found.

Overall, if you want a deep understanding of neural network, fast.ai is - somewhat ironically given its branding - the best resource I’ve encountered by a long shot.
This article saddens me in the same way that my heart aches after learning about a new horror of climate change. The problem is large in scale - a true tragedy of the commons - and impacts those of us who travel on a personal level. As always, the poor are most impacted.

With this said, I still find it easy even in the globe's most popular cities, to escape the crowds and find hidden treasures by wandering sans guidebook/blog/etc. Making an extensive plan before traveling will almost by definition ensure your path crosses with a vast majority of other travelers.
Very sensationalist... too focused on the comparison against Tesla.
Who are you to say? What would be the "correct" term, my gatekeeper? Information Security? Anti-Cracking? Black Hate Defense?
Arduino Zero
Those totalitarian thugs (and their sycophants online) deserve far worse, and gods willing they'll get it.
My cynical opinion is that companies have little incentive to fix their documentation because if the documentation is poor the client is more likely to pay for a consultant from the company for support, or for a higher support tier.
a programming language designer should be responsible for
the mistakes that are made by the programmers using the language.
[...]

It's very easy to persuade the customers of your language that everything that goes wrong is their fault and not yours.

- Tony Hoare
Just like python eh
a) this function is clearly marked as sync
b) the question of why does it exist if the async version if available is beyond me
Fed Considers New Tool for a Downturn