skysight-inc/HackerNews huggingface dataset:
My comment was only partly tongue-in-cheek, believe me. Even beyond the obvious physical meddling, yes I really would prefer a world where American companies didn't have a de facto hegemony over the internet[0] though I despair of it becoming a reality any time soon. At the very least I'll settle for a world where more Americans acknowledge the existence of that hegemony instead of thinking of themselves as neutral and clutching their pearls over other countries exerting a fraction of that influence!

0. This actually extends far beyond the internet and apparently now into space. Just imagine the absolute uproar if Starlink had been launched by a Russian or Chinese company.
Indeed, and that is orders of magnitude harder to reason about than something that can only come from a specific invocation.
Goldman Sachs now has a font
Thanks for your comment. After a quick mirror check, I don't think I feel frenzied, while simply saying I have many long-considered reasons for my beliefs. :) . (ps: I am not predicting dates and I doubt anyone is qualified to.)

I wholly agree that we should do our best to be clean, care for this wonderful planet, and I try to do my part (conserving, recycling, avoiding pollution, etc). I think another key is that we need to act in ways that enable trust in each other, and to be honest at least, which seems remote (globally speaking). I do get the idea that you and I with others could work together, finding areas of agreement, and doing our best. I don't think we can "fix" climate change while rejecting the counsel of the planet's Creator, but we can still try to be good and honest with each other -- that is exceedingly worthwhile in itself. Thanks again.
Or the reverse: a prank app where you connect to the target's wifi & then it goes around browsing unsavory parts of the web and clicking on a bunch of tasteless ads so as to poison what ads are shown to the victim.
The market doesn't care about suppliers and jobs going out of business (actually more cynically the market encourages efficiency, and useless suppliers are inefficient).

Sometimes places try to legislate make-work jobs into existence, using laws to create jobs where none are actually needed. There's famous a milton friedman anecdote:

> Milton recalled traveling to an Asian country in the 1960s and visiting a worksite where a new canal was being built. He was shocked to see that, instead of modern tractors and earth movers, the workers had shovels. He asked why there were so few machines. The government bureaucrat explained: “You don’t understand. This is a jobs program.” To which Milton replied: “Oh, I thought you were trying to build a canal. If it’s jobs you want, then you should give these workers spoons, not shovels.”

---

Other policies might protect the workers by providing baseline resources (UBI or services), or job retraining. There are all sorts of interesting discussions along these lines.

Similar things have happened in the past, so we do have some idea of the devastation it causes.
Same thing happens when I try (emphasis on try, it wasn't that good) to draw a circle, which should be the easiest shape.
Couldn't Facebook denying to accept TikTok ads be argued as constituting amticompetitive behaviour?
While it works I am not sure what the point of (wind/solar) renewables is when the grid is already low-carbon. My understanding is that it increases the cost of nuclear plants by reducing their load factor (since they have to reduce their output power to give way to renewables), but I don't see what we gain for it.

Maybe some additional usable capacity when coupled with reversible hydro?
In fairness, though, the CEO of Facebook hasn't built a better product in almost two decades. Instead, his company's growth has been based on brilliant (and occasionally very shady) acquisitions.
> Government forcing companies to sell other company’s products is a terrible policy and completely contrary to the free market.

Really?

Amazon was born and is still a company that __literally__ sell other companies' products!

Apple is not forced to sell other companies' products, Apple should be forced to not block them from distributing freely the software users want.

The point is exactly that they shouldn't be selling other companies' products (apps) but the companies making the apps should be selling them, the way they please.
The volume has been rising on that ever since Trump got elected and Brexit happened. It will keep rising. Have no doubt.

Its a matter of time before Zuckerberg faces the music. The Tech firms arent the only power centers in the US. And the other power centers aren't waiting around to bow and bend to them. Which is how you get a Rockerfeller or a Gates or a Ma Bell to bend. That track record exists.

I think the issue is still about what we want social media to be. What changes do we want to see etc. These things aren't fully clear for all sides to get behind. When that happens Zuckerberg will go the way Gates went.

I still trust the US to do this much more than I trust the govts of Russia/China/India etc to. They dont have a track record of doing anything about monopolies other than sharing in the profits. The EU has tried but really doesn't have the teeth. So its really upto the US to reign it in.
Does Microsoft get a 30% cut of all subscriptions and items bought via apps on Xbox?
30,000 device searches annually is WAY too many, but it is far more limited than than the system in China. Are you really trying to argue that border searches, no matter how much overreach, is the same as the Chinese Firewall?
My MacBook overheated and the entire logic board had to be replaced. Apple has designed the MacBook Pro to run right on the thermal limit, but their cooling doesn't seem to work well when you run multi threaded heavy IO processes. I now have a McBrick Pro
This profile says "1945 - 1920." Y2K lives on?
> And then you get two calls to Base:

"2 calls to Base" is a misleading way to put it. You in fact get exactly 1 call per every instance of Base in the hierarchy (and they act independently). Contrast that with Python where you can accidentally call the same constructor multiple times for the same instance of that class, and Python doesn't care to prevent you. (And notice how others' proposed solutions in another comment did exactly that, and they didn't realize it either.)

> There's virtual base class inheritance but then that's a different problem that's hardly any more straightforward than Python.

This is debatable (the Python behavior is quite unintuitive) but "straightforwardness" is actually besides my point. At least with virtual base classes, the solution (whether complicated or not) is in the same place as the problem: both are in the derived class. With Python, the solution is in the base class, which another author wrote a long time ago. Whereas the problem only occurs when you, another poor soul, tries to derive from it a long time later. This kind of spooky action at a distance makes it impractical to abstract things away... in a sense it literally violates causality (for the lack of a better word)! That's not something to take lightly, to say the least.
GUI file copy tools should be using O_DIRECT, or periodically calling f/sync(). An argument could also be made that the kernel write cache should have a size limit so that one-off write latency is masked, but very slow bulk I/O is not masked.
I would stress the mindset of learning from the past to prepare for the future. Examples would be the cracking of the Nazi enigma code with the help of the first computer, stuxnet computer virus to sabotage Iran’s uranium enrichment centrifuges, and the COVID pandemic and remote learning forcing parents every where to become their child’s IT help desk.
Amazon leaks iirc
I take it that your claim is that every class should always call super().__init__(), or else it's a bug? What makes you think so?
I absolutely agree regarding climate change nuances for long term property investing!
Two things confound me:
- good internet now for my relaxation gaming vs right location for climate change.

- predicting what council rates (US has Land tax I think?!?) might turn into when the town realises it will be half underwater...
Well said. If the OP is interested in learning more about this, I think the most fruitful search term will be “lean startup”.
No it’s not. NSA monitors. China blocks. In your haste to criticize US policies, do not minimize the greater suffering of the Chinese people.
I feel like everyone on the road except me drives by the seat of their pants with absolute last second decision making that leads to "rude" behavior. As many defensive driving classes I have taken (yeah, you know why), I actually learned a few things from them and now drive very defensively, and it is clear that the majority of drivers do not.
But the platform would not know that this is a code signing certificate - unless something specific is designed.
The letter is only in regards to the Unreal Engine being blocked. It will directly impact Microsoft and other game developers not directly involved in this fight.

They did not mention Fortnite or alternate stores at all.
Not sure where the data comes from but in my experience mobile data is very expensive in Australia
Absolutely, but you should probably only do it for development. As they write on the linked PHP manual page:

> This web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network.
This is true not because of any shortcomings of nuclear, but by virtue of the fact that demand is not uniform. The same need to have excess capacity during non peak hours in order to have sufficient capacity during peak hours exists with fossil fuels. If peak demand is 130 GW and trough demand is 100GW you need 130 GW of capacity.
There was nothing brilliant about buying two obviously successful apps: Instagram and WhatsApp.
Yes, but there's a lot of "patient-driven" medicine lately - and doctors feeling pressured to prescribe something a patient saw advertised on TV if only to get them out of their office and/or not leave a bad review on HealthGrades...
Sending false RSVPs is exactly spreading misinformation to undermine a candidate by making his support seem smaller than it is through crowding out real potential participants.

Don't get me wrong. I think it's pretty funny but I don't think this option is available to someone lamenting Facebook ads.
That was my thought too (the sarcasm). This was amazing when it was introduced, but in the age of Docker it's no longer really relevant to bootstrapping a basic dev environment.
Adblock extensions already exist, like uBlock origin
New Zealand Can't Find Source of Its New Covid-19 Cases
One thing that occasionally causes data interoperability problems for me is forgetting that Windows can't have colons in filenames. Not really sure what a filesystem driver could do about that.
That depends on the CPU.

In RISC-V's case, you cannot jump to an arbitrary address conditionally at all, you have to use a branch instruction. B-type instructions have only a 12-bit immediate value (technically 13 bits with an implied 0 in the lowest order bit), which means it can only code for jumps up to +- 1024 words away (IIRC, this 13 bit value codes for a jump up to +- 2048 half-words away, but RISC-V instructions are full words, hence 1024... using the 16-bit extensions would change things I think).

RISC-V J-types have a 20 bit jump target addressing relative half-words giving you a range of 2^20 / (2 * 2) = +- 262144 full words. Alternative you could use JALR, which will let you jump to any 32-bit address, but then you would have potentially up to 4 instructions for a conditional jump (blt, luo, ori, jalr).

To my recollection, MIPS is similar but has a larger immediate field for J-types. I'm not familiar enough with other arches to be comment on them.

The way you would code for a conditional jump to a far away target would be to use a conditional branch, which either skips over or runs an unconditional jump. If using JALR as described, you might have something like:

...
blt t1, t2, jump_not_taken
lui t3, 0x1234 # upper 20 bits of jump target
ori t3, 0x456 # lower 12 bits of jump target
jalr t3
jump_not_taken:
...

To answer the question more concisely, something like JL would probably end up being an assembler pseudo-instruction. For example in RISC-V there is no BGE instruction, it compiles to a BLE with the operands swapped. This reduces overhead in the instruction encoding, and is equivalent.

AMD64/IA32 are probably different, but I don't know. And of course you could always define a CPU architecture with something like "conditional jump to register value" (JALRLT for example). I don't know if anybody has though.

Source: https://riscv.org/technical/specifications/

Edit: in the time it too me to write this, somebody did the same thing for x86: https://news.ycombinator.com/item?id=24256275
Sorry, I think you're right. I think the actual problem I was trying to get at is that Python makes it easy to both import from a module and bind the imported functions/values to local names at the same time. This means the values get bound privately in the module, instead of always being late bound by accessing the module as a dictionary. And because the code in libraries uses this way if importing things, you can't get at the old names if you try to hotload a module.

The docs for Python's importlib say as much:

> If a module imports objects from another module using from … import …, calling reload() for the other module does not redefine the objects imported from it — one way around this is to re-execute the from statement, another is to use import and qualified names (module.name) instead.

But Lua isn't actually different here since you can still bind the members of an imported module to local names manually, it's just that there is no "from" keyword that does this for you. My personal theory is because of the lack of something like "import * from" in Lua, it became more common for library authors to use late binding and access the returned module by indexing into it. However this is just my personal theory.

Also, now that I think about it you still have to make adjustments to your code in order to have hotloading be feasible, even in Lua. I deliberately chose to use late binding in the code I wrote with "qualified names" (really just table indexing). And all the third party dependencies are versioned in the project's repository, and don't have dependencies on other external modules, so there was no need to worry about a dependency breaking hot reloading because it uses imports differently. I think this might be a cultural thing. A lot of Lua libraries are written in a single-file, no-dependency manner which makes them much easier to integrate in the ways I want. Python seems to have a much larger ecosystem with many external dependencies depending on others.

So yes, I think it makes sense that Python could have module reloading, but the problem is that the language encourages the use of local binding from imports which is incompatible with it, and there is already a lot of code that imports things like that, so it's not as practical if you're using libraries from pip or use "import <...> from" anywhere in your codebase.
You might be interested in nushell.
Mazda is indeed one of the sleeper brands. Not only do they have excellent interiors for their price, if you had driven that 3 you would have discovered they are extremely sporty and fun cars to drive too!

In America I’d only lease any of the European brands. Parts are harder to come by, fewer people want to mess with/repair them (you can always get shafted at the dealer, but that’s pretty much universal) and reliability on them is not the best.

Give me a good used Japanese car (except for Mitsubishi) any day.
Boethius (https://www.boethi.us/) is an app I made for my 7yo son to supplement his homeschooling curriculum. It involves completed "daily workouts" of exercises drawn from the seven classical liberal arts (grammar, arithmetic, astronomy, etc...).

The "Try Random Exercise" button lets you see immediately what it's like to use, but signing up is required to get most of the benefits, such as:

* A logical ordering of exercises (learn how to recognize nouns before learning about pronouns, learn what an argument is before learning the difference between validity and soundness, etc...),

* Spaced repetition (you review those you are struggling with most, but those you ace are brought up less frequently over time)

* Configuring your experience (select the number of exercises you need to complete each day for your "daily workout", whether to play audio by default or not, etc..)

* Creating any number of child accounts so you can keep tabs on your kids' progress over time

AMA
Ad hoc (one line) HTTP static servers in various programming languages https://gist.github.com/willurd/5720255
> I for one would love to be able to write web applications that could, say, control the lights in my house or smart devices.

You can also do so, you just need to install some companion software locally for that to work.
Might I ask where you are from? If anyone going to school in the US does not learn about Chuck Yeager, then I weep even worse for our education system.
I'm extremely surprised that Apple would engage in something that could in court be perceived as retaliatory against someone who is filing a complaint regarding anti competitive behavior.

The definition of anti trust is to use your position in one market to gain an unfair advantage in an other market. By denying Epic access in the game engine market, Apple is trying to get Epic to fold in the game distribution market. Thats text book antitrust behavior.

It is shocking to me that Apples lawyers, would allow Apple to so blatantly threaten Epic in this way. They are providing a clear example of anti competitive behavior, for Epic to use in future litigation. You would think Apple has good enough lawyers to put a stop to this self defeating behavior.
The fact that the video uses exactly two colors and isn't even greyscale is probably a big part of it.
How is giving your credit card to these companies any more secure? For all i know they could be selling the user registration data with payment info to some lawyer.
I, too, dislike American corporate hegemony. I'm absolutely certain though that I would dislike Chinese Communist Party hegemony much more.

So yes, it would be better if Americans weren't meddling around but it's not better if the Chinese are meddling as well. Let's clutch some pearls.
Could this be a way to compress vectors?
$25K over 10 years isn’t terrible. People who feel they have to buy a new car every 2 to 4 years only have themselves to blame.

Then again, god bless them. If it wasn’t for all of them there wouldn’t be so many good used cars for me to choose from :)
Reminds me of the "meanwhile back at the ranch" school of screenwriting: switch to your B story when your A story is at its peak of interest, and switch to your A story when your B story is at its peak. That way when you do switch back you won't have to work (too hard) to keep the audience's interest.
Very cool, well done.

Two questions:
1. Do you plan to monetize it to aid in the sustainability of this product?
2. Any thoughts on implementing this functionality for playlists?
Calm, level inflection with no emotion. Everyone starts to sound the same.
Some Windows programs has similar issue (DLL preloading attack). The vulnerability is common since around 10 years ago but the mitigation is not enabled by default so some apps/installers still vulnerable.
I’m not here to defend Zuck, but those acquisitions only look obvious in hindsight. People thought Facebook was insane for paying a billion for a photo sharing app with a tiny team. And while WhatsApp was ubiquitous, it was very under the radar in the US until Facebook paid what seemed like an ungodly sum ($12bn) at the time. Instagram may go down in history as one of the greatest acquisitions of all time.
I didn't mean anything in an unfriendly way. The quote is not dumb but it needs a lot of context I suppose that might be missing.. definitely the key point is "if done right".

I can't really condense the video for you, the guy in it does throw in a bunch of jokes from the perspective of a frustrated Canadian building science guy that might put you off but his information is great.

My best attempt at a condensed parable: I once found myself driving around with a very environmentally minded person and she refused to turn the AC on in her car but cranked open the window instead.
They were American?
> I know what's going on and my comment was sufficiently accurate to get the point across in 1 sentence. I wasn't exactly intending to get into a lecture on MRO here.

I was trying to not assume you were lying through your teeth about what Python method lookup is like in order to conflate fact and your personal opinion. Happy to be corrected.

> Which is much better than leaving a ticking time bomb.

It's a different implementation choice. That it is better is a perfectly valid opinion. Though, if A doesn't already know it's part of a multiple inheritance hierarchy it's not possible to know what __init__'s signature should be. I'm sure you're eliding that for a good reason, though.

> Er, yes it does. Every class instance in a hierarchy is initialized exactly once. Trying to call it twice will produce an error (e.g. "class has already been initialized").

This is true only for constructors, not arbitrary methods; __init__ in Python is much more arguably an ordinary method. I'm going to assume you're always using virtual inheritance, an opt-in feature, because otherwise you are being misleading and disingenuous in more ways.

> It does not. It's perfectly fine letting you call a class's __init__ multiple times. Unlike with C++.

True only for constructors in C++, and if you don't use super() in Python. Python treats __init__ and other methods fairly uniformly here.

>It is a fine word. "Idiosyncrasy" does not imply there exists only 1 person in the whole world engaging in the given practice:
>"Her habit of using “like” in every sentence was just one of her idiosyncrasies."
>https://www.merriam-webster.com/dictionary/idiosyncrasy

Sure, go off, but my point is that other languages you have heard of do the same thing. It's not some dumb thing Python is doing for no reason as you were implying.
Modern Architecture Shop (Clean Architecture and Microservices)
Thats true... but nothing has happened yet. No one has yet failed to hold up their end. All parties seem to want this to work -- it certainly isn't a dead drop.
Dynamic IP or CGNAT by your ISP.
> That ship sailed almost 20 years ago.

Which would still be some time after the 1024 port distinction stopped being relevant for security.