faul_sname
Fuck around once, find out once. Do it again, now it's science.
No bio...
User ID: 884
I've had luck with certain time-consuming rote tasks in medium-large codebases (1M - 10M LOC) like writing good tests for existing legacy code.
Here is some code.
Here are some examples of tests for other code which are well-structured and fit with the house style [style doc]. Note our conventions for how to invoke business logic. Note particularly that we do not mock injected dependencies in functional tests, other than the ones in [this short enumerated list].
- Identify the parts of the code I just handed you which look sketchiest.
- Write some functional tests for the code under test, mimicking as closely as possible the style and structure of the canonical examples of good tests
- Use this command to run your new test, iterating until the test passes.
- You can use this tool to identify which lines were tested - try to have passing tests that exercise as many lines of code as practical of the ones you identified as sketchy in step 1.
- Perform these linting and code quality assessment steps in order, redoing all previous steps on each change.
If at any point during this process, you identify a bug in the code you are writing a test for, describe the bug, propose a fix for the bug, and stop working.
It's not doing anything I couldn't have done, it's not even faster than me in terms of wall-clock time to get a good functional test, but I can kick it off in the background while I'm doing other things and come back to some tests that definitely pass and probably even test the stuff I want to test in something approximating the way I want to test it.
Like because "deport illegals" isn't an answer to every problem which results in dirty, disorganized, and violent cities, therefore it's never an answer to any problem?
No, because "deport illegals" being the answer to some problems doesn't mean it's the answer to all problems. "Many of our cities are dirty, disorganized, and violent" doesn't seem like one of those problems, at least not for the dirtiest, most disorganized, and most violent of them.
In a very similar way to how "racism exists sometimes" does not mean "racial justice is the solution to all problems, including things like climate change", but people who care a lot about racial justice have a tendency of thinking that fixing that will fix everything. With results that... well, you saw the results too.
And I'm worried that we're going to see the same pattern we saw there except this time it's going to be "we deported a bunch of people and observed that the problems we care about haven't improved, but that's because there are still illegals, we just need to spend even more money and suspend even more civil liberties in the effort to deport them all and then things will be good".
And they do, often. Physical cash has its own niche though.
Ah I see, this isn't a hypothetical. I would expect too many special interests (lawyers, doctors, accountants, etc) for the Supreme Court to take the free speech maximalist position but I hope to be wrong.
Introduce a $200 bill. Inflation means that the $100 bill is no longer as useful as it once was. It is time to acknowledge this by creating a higher denomination note. Whose face should go on the bill? My preference would be Ronald Reagan, but if we absolutely must have a woman on the bill, let's go with Ayn Rand.
If we actually want it to be done we should have Donald Trump's face on the bill. Or maybe also introduce a $1,000 bill with Trump's face.
Just think, Trump could be the face of stockpiles of US currency in countries which don't have a stable currency of their own.
(to be clear I would unironically support this)
My understanding is that this is basically accurate and that by redefining certain types of speech as "professional conduct" states can indeed regulate those types of speech. But that the courts will slap them down if they try to push it too far.
That said, I am not a lawyer, this is not legal advice, and the fact that you see that disclaimer everywhere is a case in point.
It sounds fine to me for the message they're trying to push. Am I turning into a boomer?
- Yeah, agreed on that. They can, however, cultivate a narrative that further increases the salience of the things that the mainstream-left media already loudly objects to. And this seems to be their strategy, at least with their decisions with the Hyundai plant (I haven't seen the "gotta catch em all" video)
- I think they are strategically trying to instill a sense of impotence and anger in a specific group of people (specifically the group of people who vocally backs sanctuary cities and similar things), on the working theory that if those people feel angry and impotent they will do counterproductive rage-signalling things instead of actually-obstructive process things.
Radio is now a "medical treatment" in the sense that unlicensed people are no longer allowed to do it without a license from the board, yes. It's not a medical treatment under the lay interpretation of those words. Terms within a legal context sometimes mean something different than terms outside a legal context. It's quite obnoxious as a layperson trying to understand laws.
Agreed :(
Yes, the fact that one of the three branches of government has decided not to do their job does seem to be the root of the problem here.
... that sure sounds like "ICE is intentionally cultivating a particular narrative about who they are" to me. I don't get why people here are so averse to the idea that ICE has PR people and those PR people are decent at their jobs.
So if ATF started releasing videos like that you'd think it's fine and not a worrying sign about how they see themselves?
Or evidence that their optics are exactly what they want them to be and they're reasonably competent at cultivating the appearance they want to have. So far I see no evidence that ICE wants to cultivate an image of professionals who dot every i and cross every t, and quite a bit of evidence that they want to cultivate an image as badass thugs who are getting shit done in terms of kicking anyone illegal out of America, no matter who they are and no matter why they think they're safe.
but there isn’t really a replacement for illegal labor on farms
Actual visas for the particular types of workers you want to bring in would be the way a functional country would handle this.
Why should the $25-50B go to Trump? I would think it would go towards the federal budget.
They're not particularly slow though? They do go on the freeway now. And they've rolled out in Atlanta, which does sometimes get snow and ice, though not nearly as badly as you see in the north or midwest.
If people can make radio transmissions without a license from the state medical board and they would face no repercussions for doing that, the state medical board is not regulating radio transmissions.
A decade ago everyone was saying more or less the same thing about autonomous vehicles, yet a true AV seems further away now than it did then
Waymos are already doing paid autonomous rides. They're not quite as adaptable as good human drivers but they're way way ahead of the SOTA of 2015.
it's also a problem which can be solved through the approach of "deport illegals and other foreigners before they take over neighborhoods and fundamentally change it" bringing us back to the subject issue
Again, see Detroit, Birmingham, etc. Basically no immigrants and yet they are the way they are. Keep foreigners out before they change the neighborhood did not work in those cases. Why expect it will in others? Especially why expect that when the most desirable cities to live in are the ones with the most foreigners?
Wow, thanks for the scholarship. Amazing!
To actually fingerprint and process the defendant requires them to get him into the facility or a similar facility (which local municipalities won't let them use), and then he'd have to be taken back to the hospital.
This seems like it could plausibly be the thing I was missing. Although I don’t think they need to take fingerprints to issue a NTA. Could be wrong about that though, not a domain expert here. If that's the case, and if ICE mentioned it in the documents that are not available through PACER but the judge ignored it, then I no longer think ICE was egregiously in the wrong here. Two ifs though.
Anyway, I'm pretty baffled by this case, it'll be interesting to see how it develops.
I'm implying that ethnic spoils systems aren't a particularly interesting or significant part of what's going on with NYC or LA. If you ask people "what is New York an engine of" or "what is LA an engine of" you're very unlikely to get an answer like "ethnic spoils" even from the most race realist types.
places with high numbers of illegals are dirty, overcrowded, dysfunctional, and foreign, in addition to them having higher crime and being generally low-trust
This sounds like a problem that can be solved through the approach of "don't live in such places". There are plenty of such places. I will say, having grown up in a majority-hispanic area of southern california that "overcrowded, dysfunctional, and foreign" is not a description that fits LA very well. LA is a sprawling, wealthy, soulless suburb stretching to the horizon with occasional pockets of city sprinkled throughout.
even willing to commute multiple hours to live outside of these places
People who commute for hours into LA are largely doing it because they're priced out of anywhere closer, not because they're trying to get away from immigrants. The exurbs have more immigrants, not fewer - e.g. Victorville (most stereotypical LA exurb) is 55% hispanic and only 18% white.
tl;dr: Anti-ICE protestors look far more reprehensible and contemptible than the officers do.
I agree with this, particularly the ones in those videos. I just disagree that "better than the worst protestors" is the standard we should be aiming for.
The Constitution is dead. America is dead.
Man, fuck that noise. America is the best country. We have problems, but there's nowhere else in the world I'd rather be. The whole reason this thread exists in the first place is that America is a great place and too many people want to live here.
I am beginning to wonder if patriotism is going to flip towards being blue coded, it sure seems to be trending that way.

Living a block from (the entrance of) a Walmart is actually an amazing thing for QOL if you can manage it. I walked to Walmart a lot when I was living right next to one.
I think we should build housing on the roofs of megamarkets like walmart and costco.
More options
Context Copy link