Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prosqlinjector
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
prosqlinjector
3y ago
The elephant in the room is legal liability. If something happens with a criminal employee then the question is raised "what precautions did you take from letting this dangerous person into your workplace".
2.
▲
by
prosqlinjector
3y ago
> This is where institutions like universities, governments, etc. come in. Science was doing pretty well before it became institutionalized in the early 20th century. It's not without tradeoffs, but these aren't essential compo
3.
▲
by
prosqlinjector
3y ago
Of course rare books are valuable. The point is that if you want to buy a physical book you probably will pay $10-15 more for the nice version. The market for the cheap entry is smaller.
4.
▲
by
prosqlinjector
3y ago
Your value to your company is also not a linear function of your time there. There are high fixed costs to training, liability, insurance, etc. They are paying you to always be available, etc. With that said, I think it's very possible
5.
▲
by
prosqlinjector
3y ago
You actually don't need any of that stuff, you can just write .js files and run them in node. The node.js standard library is quite extensive.
6.
▲
by
prosqlinjector
3y ago
Would you be persuaded by more examples of headlines using this technique?
7.
▲
by
prosqlinjector
3y ago
The individual is using the same reasoning as the headline. They weren't getting the fund they wanted and noticed there was a donation recently. They are speculating that that's the cause of their lack of organization support. &qu
8.
▲
by
prosqlinjector
3y ago
Either make it clear you are speculating about two events being connected, or get evidence that links them.
9.
▲
by
prosqlinjector
3y ago
We can do polynomial regression of data sets that looks equally plausible, but it's not real data.
10.
▲
by
prosqlinjector
3y ago
Curating and presenting facts is a form of narrative and is not at all objective.
11.
▲
by
prosqlinjector
3y ago
The sky is not one color and changes color depending on weather, sun, and global location.
12.
▲
by
prosqlinjector
3y ago
> but if you watch how they act, how they vote, and how they discriminate it could not be farther from the truth. This is a low quality and bigoted comment.
13.
▲
by
prosqlinjector
3y ago
"wow our software is so powerful, it's going to take over the world!"
14.
▲
by
prosqlinjector
3y ago
It was your idea. He suggested it was a universal temptation, you suggested it was a personal problem. If it's personal, there is a community of people with that same problem.
15.
▲
by
prosqlinjector
3y ago
> because you personally couldn't handle a tiny bit of welfare. If there was a segment of the population who "couldn't handle" welfare, where do you think we would find them?
16.
▲
by
prosqlinjector
3y ago
> What would a "good" tech economy look like? Producing goods and services that real people buy and benefit from.
17.
▲
by
prosqlinjector
3y ago
> women are less likely to die in childbirth This one has been debunked many times. US healthcare attempts riskier births that would otherwise be aborted.
18.
▲
by
prosqlinjector
3y ago
I chose mine because he was a reasonably guy to work with and talk to. What I did not know at the time was that he was very junior in the department and needed to please other professors. So even though I liked working with him, I was quite
19.
▲
by
prosqlinjector
3y ago
Yep, so now your sort function isn't just a sort. It's a sort with a unit test at the beginning. This burden is placed on EVERY use.
20.
▲
by
prosqlinjector
3y ago
> If I'm reading the article correctly, the user can be informed at runtime with little to no performance impact. It's not possible to verify a function is a strict weak ordering without enumerating the entire domain.
21.
▲
by
prosqlinjector
3y ago
Agreed. And I think that's a good idea to do. It's still possible to do wrong.
22.
▲
by
prosqlinjector
3y ago
> that argues it's the users responsibility to be careful, If you try to sort with a function that's not a valid comparison operator, I don't know what to tell you. What should it do? Semantics cannot be validated at comp
23.
▲
by
prosqlinjector
3y ago
Currently employed writing new C++ btw.
24.
▲
by
prosqlinjector
3y ago
Nope, I'm saying that people advertised that the lockdown allowed them to work less.
25.
▲
by
prosqlinjector
3y ago
Everyone was posting on twitter about all the "projects" and video games they were working on during the lock down, despite supposedly still having full-time remote jobs. They also had time to move all across the country.
26.
▲
by
prosqlinjector
3y ago
This is nonsensical. When you use a function, how do you know what it will do? You guess from its name? > auditing it is awful. If a function specifies a requirement, you look at the callers and see if that requirement is met. If it'
27.
▲
by
prosqlinjector
3y ago
> That kind of reasoning only works if the language or ecosystem has some kind of compile time error or linter or comprehensive testing that will catch the error if the preconditions ever change. Most requirements can't be verified
28.
▲
by
prosqlinjector
3y ago
The only principle I want to defend is that a function is correct relative to its preconditions. If the caller doesn't meet them, that's on them.
29.
▲
by
prosqlinjector
3y ago
I think I agree with your coworkers. If the data is predefined constants, then you don't need to worry about injection. All functions have preconditions which must be met for them to work. As long as that's specified, that's