From the article:
Western-owned brands manufactured in China, such as BMW and Tesla
Looks like you’re safe buying a Tesla.
From the article:
Western-owned brands manufactured in China, such as BMW and Tesla
Looks like you’re safe buying a Tesla.
Sorry if I’m missing some sarcasm here, but if this is all you have to contribute, then as a professional software developer, I’d much rather work with the author of the article on a daily basis.
Pushing HTML even further, one could say it’s a declarative programming language that programs a UI in a mostly-stateless manner (inputs aren’t really stateless but you can argue the state is provided by the UI rather than managed by HTML).
I’m not sure I’d make this leap myself though, I have a hard time classifying it (or any other markup language) as a PL. As far as I am aware, you can’t really program a state machine with pure HTML, though you can accept inputs and return outputs at least.
I’m not sure I see the issue. Is there something wrong with them reporting on Ukraine’s Kursk region? Doesn’t seem like an illegal border crossing to me.
Two can play at this game.
Their GPUs are already bricks. Just throw the GPUs.
Two thoughts come to mind for me:
Would it work to write the query as a common table expression, then select your columns from that table and join it with a count(*)
aggregation of the table?
Or look at Python and their urllib, urllib2, new urllib, and the requests package on PyPi.
We already sort of saw this in Rust with crossbeam and standard channels, until of course they replaced the standard lib implementation with crossbeam’s implementation.
Hey look, the classic “America bad” comment on a post critical of China!
Are these people bots or something? It’s possible to be critical of both at different times.
I think it’s good to document why things are done, but extracting things out into another function is just documenting what is being done with extra steps. This also comes with a number of problems:
//
or #
would have made the code just as readable.If those functions are huge units of work or pretty complex, I can agree. For most cases though, a simple code comment should do to explain what’s going on?
My friend’s homophobic dad was diagnosed with HIV right before his wife filed for divorce. They had a long discussion about how he got it, and he admitted to it being another guy. She was very lucky not to have HIV as well.
There does exist a correlation, but like all generalizations, it does not apply to all cases and can come off dismissive, rude, or minimizing when it isn’t actually true. I find that it’s best to avoid sweeping generalizations for people at all.
While impressive, a minifier can bring it down to 1 line of JS! I do like that this can function as a reference for making simple canvas-based games though.
While I agree, it makes connecting to localhost as easy as http://0:8080/
(for port 8080, but omit for port 80).
I worry that changing this will cause more CVEs like the octal IP addresses incident.
Edit: looks like it’s only being blocked for outgoing requests from websites, which seems like it’ll have a much more reasonable impact.
Edit 2: skimming through these PRs, at least for WebKit, I don’t see tests for shorthand IPs like 0
(and no Apple device to test with). What are the chances they missed those…?
Imagine how different the story would be if they compensated people for this data. “10% off Geforce NOW if you let us use your gameplay footage as training data!” (for example)
This is obviously cheaper and there’s way more data to train with, but it just continues to skirt a line in copyright law that desperately needs to be tested.
Still working on an assertions library that I started a few weeks ago. I finally managed to get async assertions working:
expect!(foo(), when_ready, all, not, to_equal(0)).await;
It also captures values passed down the assertion chain and reports them on failure (without requiring all types to implement Debug
since it uses autoref specialization).
Hopefully it’ll be ready for a release soon.
Honestly, regardless of what happens to Intel, I’m hopeful for Qualcomm providing a real alternative in the CPU space, especially an alternative as meaningfully different as using an entirely different instruction set. More diversity between competing products in the space can only be a good thing since it gives consumers more meaningful choices to make when deciding between products.
People talk at the urinal?
People on Chrome adding Reddit to their Google searches already use Google. People not using Google who don’t search “Reddit” are going to see fewer Reddit results.
No, this won’t kill Reddit, but it certainly isn’t helping them get more traffic.
Adding a single unused function should no effect on runtime performance. The compiler removes dead code during compilation, and there’s no concept at runtime anyway of “creating a function” since it’s just a compile-time construct to group reusable code (generally speaking - yes the pedants will be right when they say functions appear in the compiled output, to some extent).
Anyway, this can all be tested on Godbolt anyway if you want to verify yourself. Make a function with and without a nested unused function and check the output.