Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rcfox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
271.
▲
by
rcfox
7y ago
Punctuation, or lack of it, can change the meaning in programming languages too. https://medium.freecodecamp.org/codebyte-why-are-explicit-se...
272.
▲
by
rcfox
7y ago
In the first sentence, he links to a previous post where it's made more clear that he's talking about Stack Overflow. > I found what one could call a security hole in Stackoverflow. I'm curious enough to go digging around
273.
▲
by
rcfox
7y ago
10 years ago, almost to the day, they had a password vulnerability involving unsalted hashes. So not plain text, but who knows if they've learned the right lessons? https://blog.codinghorror.com/i-just-logged-in-as-you-
274.
▲
by
rcfox
7y ago
I'm not sure that off-the-shelf software on your own server is necessarily less likely to get hacked. It's easy to fall behind on security updates when you don't think about deploys regularly. Look at the logs for your existi
275.
▲
by
rcfox
7y ago
Here's one case I've used it for: foo = json.dumps({'a': 1, 'b': {'c': 2}}) # Pretend you've downloaded some JSON... bar = json.loads(foo, object_hook=lambda x: types.SimpleNamespace(**
276.
▲
by
rcfox
7y ago
It's definitely worthwhile going over the standard library[0] every now and then. I always find something interesting to read up on. I recently learned about cmd[1] (which has been around for a long time) and have been using it to writ
277.
▲
by
rcfox
7y ago
SimpleNamespace[0] is pretty handy too. It essentially lets you wrap a dictionary and access its keys as member properties. Also, it's kind of weird that the article would mention type annotations and then not mention mypy[1]. [0] htt
278.
▲
by
rcfox
7y ago
Do wasm modules depend on one another? I assumed they were statically linked. It feels like this is more of a wasm "app store".
279.
▲
by
rcfox
8y ago
You should probably write this in an issue so that the developers see it.
280.
▲
by
rcfox
8y ago
The game Warframe uses IRC for its in-game chat. They've obfuscated the authentication though, so it's not possible to just login with something like irssi. I'm sure other games do this as well.
281.
▲
by
rcfox
8y ago
"ad liberi"? Not super clear in casual use...
282.
▲
by
rcfox
8y ago
> There's no way to know which exceptions can be thrown from a function just by looking at its code, nor looking at the called-functions code. But is this different from error codes? Does seeing a file open tell you every error that
283.
▲
by
rcfox
8y ago
Say you have library that takes a filename and returns the contents after some kind of decoding. If the file is inaccessible (doesn't exist, in use, user doesn't have permission), you don't want the library to take any real a
284.
▲
by
rcfox
8y ago
Okay, but I was responding to the question of "why can't the tax agency do the work for me?"
285.
▲
by
rcfox
8y ago
So I use simpletax.ca. (It's free, but will ask for a donation after you file.) (Also, I don't work for them.) In it, there's an option to login to the CRA via your bank account (oauth?) and it will populate a bunch of data f
286.
▲
by
rcfox
8y ago
Canada more-or-less has this.
287.
▲
by
rcfox
8y ago
I've never needed to see the state of the code at a particular date, but I frequently look up when a particular line of code has changed, who did it, and why.
288.
▲
by
rcfox
8y ago
It's not my field, but I saw a video where a guy generated faces from pictures from his yearbook: https://www.youtube.com/watch?v=4VAkrUNLKSo The interesting part was he used PCA and then assigned sliders to each compo
289.
▲
by
rcfox
8y ago
> The immediate assumption is that people are tools/resources to build the product. That's talking like an engineer. That's more management-speak than engineer, in my experience. I hate being referred to as a resource.
290.
▲
by
rcfox
8y ago
You could pretty much get that workflow by putting your repo in a Dropbox folder, just no live collaboration. Good luck compiling at any given moment when 10 other people are changing files under you though!
291.
▲
by
rcfox
8y ago
Perhaps XML and JSON are secure by virtue of the fact that their built-in security features can never be broken.
292.
▲
by
rcfox
8y ago
And then the company sends it to collections, ruins your credit rating and you get harassed by collectors.
293.
▲
by
rcfox
8y ago
The readme only claims to support Linux. termios is a built-in package, but not for Windows. https://docs.python.org/3/library/termios.html
294.
▲
by
rcfox
8y ago
Sorry, I meant compare the RL version as it trains to the analytical version. It's certainly neat that inverse kinematics can be learned from zero knowledge, but I would have a hard time trusting it to operate a real arm in an industri
295.
▲
by
rcfox
8y ago
It would be interesting to see a plot of the error compared to the analytical solution as it trains.
296.
▲
by
rcfox
8y ago
My company is planning to roll out a new login form with a "don't remember me" checkbox. The guy who implemented is standing by it because that's what the mockup showed, and the designer essentially covers his ears and s
297.
▲
by
rcfox
8y ago
LCA = Life cycle... assessment?
298.
▲
by
rcfox
8y ago
I like vc-annotate. (Bound to `C-x v g` out of the box for me.) Besides showing blame-type information for each like, you can also press 'p' and 'n' to go to previous or next commits; you can press 'l' to view
299.
▲
by
rcfox
8y ago
My company used to use Olark, which actually was connected to a person. It was a great way to offer technical support. Unfortunately as our traffic grew, it was hard to keep up with incoming chats, so we eventually turned it off. (This was
300.
▲
by
rcfox
8y ago
I've always wanted sort of the opposite. I'd sign up to a website, and they wouldn't ask for a password. To login, they would email a link to click and I'd be logged in for however long that cookie lasted. Why don't
More ›