Yep, sneakers (which is now crashing hard), collectibles (also mostly crashing for non-functional cards like sports), etc, are all the same as well. COVID and stimulus checks were a turning point imo.
I don't have a strong opinion on his tenure at MSFT, but I don't know many sales jocks with a 1600 SAT score and a degree in applied math from Harvard.
Do you really think a single individual could make $7B of profits from stock trading? They'd need to be trading $30-100B. Point72 manages $35B and has almost 3,000 people on staff.
Olivier, Michelle, and Romain gave you guys a shoutout like 3 times in our DevDay recap podcast if you need more testimonial quotes :) https://www.latent.space/p/devday-2024
Just because it's a computer security challenge doesn't mean you should start breaking into the website before the challenge begins. That's akin to suggesting that boxers who were deemed not to qualify for a competition should punching the referee to prove otherwise; what's normal inside the sport can be entirely unacceptable outside it.
I agree, but it clearly says you need an edu email. Either you have an edu email, or by asking how to skip that check you're trying to circumvent the website limitations. So in spirit, you're already trying to break in, just through different means :)
If you don't have a family, the Air Force won't let you fly a plane.
You think being Omni-potent in a modern world wouldn't bring its own shade of problems?
It's more akin to the boxers who were deemed not to qualify cuz their deemed arbitrarily too old remind the judges of their youth, all in good fun.
If you cannot get access to an @edu email for long enough to verify a 2FA between Facebook familiarity and now, you likely aren't of the caliber outside of the domain specialty that can be entrusted with that magnitude of information.
If you don't have a family, the Air Force won't let you fly a plane.
Can you cite a source for this? I'm acquainted with some USAF people and have close friends with fighter pilot siblings (I know, family) and I have never heard this before. If by "family" you mean "a spouse", the people going up in trainers are too young to have built families, so that can't possibly be a DQ.
In fairness: so too does the claim that this is a test of whether you can hack a .edu email address, like it's 1994 and the next test in their CTF is whether you can find an X.25 outdial. No, they're just recruiting from engineering schools, like everyone else!
Career tip: if hoping for a GG-whatever role at NSA, recommend not committing crimes in the process of trying to impress them. They are a lot more boring than you think they are.
Career tip: if hoping for a GG-whatever role at NSA, recommend not committing crimes in the process of trying to impress them. They are a lot more boring than you think they are.
well, its not a really a crime when you do it for the homeland. also not a crime if its boring.
Concord is more of an Overwatch competitor, not much to do with Deadlock which is more FPS LoL. Overwatch is basically dead already, for reasons that Concord didn't seem to have tackled, so not sure what their plan was there...
There's more than one mistake in the code given, and I tried just once.
"Create Python code for iterating a file with a cache."
class CachedFileIterator:
def __init__(self, file_path):
self.file_path = file_path
self.cache = [] # List to store cashed lines
self.current_index = 0 # Index for the current line to read
def _read_lines_from_file(self):
"""Read lines from the file and cache them."""
with open(self.file_path, 'r') as openFile:
for line in f:
self.cache.append(line.strip()) # Strip newline characters and save to cache
def __iter__(self):
"""Return the iterator object itself."""
return self
def __next__(self):
"""Return the next line in the iteration."""
if self.current_index < len(self.cache):
result = self.cache[self.current_index]
self.current_index += 1
return result
else:
# If we reach the end of the cache, we read more lines from the file if necessary
if len(self.cache) == 0: # Cache is empty, read file
self._read_lines_from_file()
if self.current_index < len(self.cache):
result = self.cache[self.current_index]
self.current_index += 1
return result
else:
# If still no lines, we stop iteration
raise StopIteration
# Example usage:
if __name__ == "__main__":
file_path = 'example.txt' # Replace with your file path
iterator = CacheingFileIterator(file_path)
for line in iterator:
print(line)
Garbage code is bad enough, but it's not like people have never had to walk juniors through mistakes before LLMs.
But this is actually so much worse for that same reason - the type of developer who'd submit Copilot output (I can call it that, as it's definitely not code) for a PR is unable to respond to any comment beyond asking Copilot again and wasting everyone's time with 6 more rounds of reviews. I've literally had to write test cases for someone else and told them "You can't ask for another code review until your code passes these."
Bit of a tangent, though related. It looks like you accidentally stumbled into a version of test driven development ;)
With the big difference obviously being that typically the developer who writes the test also will write the code.
In some situations, this actually makes sense to do with junior developers as part of their training. Where a senior developer sits down with them and write out the tests together, then with the tests as a guide they are thrown into the waters to develop the functionality.
Of course, I suspect that in this case, you were not dealing with a junior. Rather the sort of person who looks at your tests, still is confused and asks for a "quick call" to talk about the tests.
What do you see as mistakes? I see some weirdness, but the spec is just not complete - there was no requirement for rewinding, multiple users, etc. in the request so it's not implemented.
The only thing I'd call an actual mistake is using an empty list to mean both an empty file and an uninitialised value.
The file object is named "openFile", but used as "f". The class is defined as "CachedFileIterator", but used as "CacheingFileIterator". That's two typos, before discussing the actual code.
Well, there's also the fact that the entire thing could be replaced with...
def cached_file_iterator(file_path):
with open(file_path, 'r') as f:
lines = [ line.strip() for line in f.readlines() ]
yield from iter(lines)
# Example usage:
if __name__ == "__main__":
file_path = 'example.txt' # Replace with your file path
iterator = cached_file_iterator(file_path)
for line in iterator:
print(line)
Which is functionally identical and FAR less code to maintain.
iterating over the file object at all instead of just calling self.cache = openFile.readlines() means that calling strip() the line below removes data beyond just the trailing newlines.
One is that the variable is called openFile and not f. I don't know enough python to see something else wrong with that but would love to know too, since I've written such a line just last week.
Oh for crying out loud, I obviously mean these specific mistakes. If you have worked in any capacity with LLMs like this you would have seen them variables or suddenly switch up the convention of how they're written.
Certainly if you are in a conversation mode after a few back and forths this happens from time to time.
I am just not going to spend my time digging to previous prompts of code I might not want to share just to satisfy a random internet person .
The models I've used don't make typos on variable names that already exist in the context. Typos are not the failure mode, this is literally the easiest text prediction task they can do.
What you guys probably want to do instead is get to a common definition of what a typo is. Personally, I understand it as a typographic error, which is a fancy way of saying a spelling mistake (a mistake on a letter), not a mistake where one use a word for another.
Not the OP. I have certainly seen LLM coding tools generate blocks of code with misspelled variables and typos. Trying to shove someone into a box of being a cynic because they have had bad personal experiences with tools is a good way to ensure people filter out your opinions.
would someone invent that and bother the author with that? I mean I suppose it's possible, but that seems like such a waste of time to me that I find that more unlikely. and while it's a typo, it's not fleinaem or something that's totally wrong, just a choice in breaking up the word filename. having written file handling code, the various permutations of filename and path and dirname get to be a bit much sometimes.
You are getting downvoted but you are right, a typo in a variable that already exists in a file like this is not the failure mode for LLMs. The failure mode is logic bugs, making up methods / functions.
I've been using copilot for as long as it has existed and what you are describing has not happened to me once. Literally on in the background 8 hours a day. Excuse me for not trusting the internet hivemind that hates everything that is hyped just a little bit.
My goto check of AI assistants is asking to write a function calculating the first N digits of Pi in Common Lisp. On at least two attempts when prompted to fix its code the model would change one of the variable names to T, which is a reserved symbol. So yeah pretty sure it does happen.
Not sure why you attracted downvotes with that comment. It's 100% correct. You can buy an eSIM while still in the US and just leave it turned off, then flip it on when you get to your destination. Some providers do still advise waiting to install the eSIM until after you reach their home territory, but that's not any more difficult.
We just did exactly this a couple weeks ago when we went to the UK & France. Super easy, as soon as the plane took off I toggled roaming off on my regular US line, and turned on the traveling eSIM when we landed. Bam, phone works as normal, still gets calls and texts, etc, but way cheaper than paying roaming charges.