Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mouse47
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
Mouse47
9y ago
Beginners frequently trip over `&str` vs `String`, but other than that I agree w/ you
62.
▲
by
Mouse47
9y ago
That's an awfully uncharitable reading of that sentence. Let me emphasize this for you: >Snowden’s revelations have hurt the United States’ relations with some allies and slowed the sales of U.S. technology products abroad.
63.
▲
by
Mouse47
9y ago
Can it handle stored procs / UDFs? Was unable to find this in the docs...
64.
▲
by
Mouse47
9y ago
>CREATE UNIQUE INDEX (filtered) Ha...that's a bit of a hack! I've had to do a similar trick for a unique constraint on columns where we didn't care if the value was null. SQL Server (for some reason) considers null a val
65.
▲
by
Mouse47
9y ago
Here's a left outer join (taken from https://stackoverflow.com/questions/3404975/left-outer-join-... ) from c in categories join p in products on c.Category equals p.Category into ps from p in ps
66.
▲
by
Mouse47
9y ago
>LINQ Ehhh...something as simple as a left-outer join is near ungrokkable for me in LINQ. Cross apply / lateral join on a table-valued function? Forget about it. Not to mention - due to the way LINQ works a lot of errors that seem
67.
▲
by
Mouse47
9y ago
https://doc.rust-lang.org/std/f32/ I believe you can do std::f32::NAN
68.
▲
by
Mouse47
9y ago
What? There's nothing racist/sexist about acknowledging that racism/sexism isn't as much of a problem for certain groups of people. And I'm pretty far from being an SJW. Being this disingenuous does nothing but w
69.
▲
by
Mouse47
9y ago
This might be a little out of scope, but C#/.NET has a few similar constructs. If you do: using(TransactionScope scope = new TransactionScope()){ //do stuff } Any connection created while that block is
70.
▲
by
Mouse47
9y ago
Reads more like good-natured ribbing imo. We've all been there.
71.
▲
by
Mouse47
9y ago
Then we're back to using a GUI, which is what I was arguing for in the first place lol
72.
▲
by
Mouse47
9y ago
Good to know, although I'm still not impressed with its presentation when doing larger diffs.
73.
▲
by
Mouse47
9y ago
Maybe in the general case, but not in the scenario I outlined above. What if there are 20 files I touched? I'll need to type each of the 20 paths to view each individual diff. And that's if I view each diff only once, which I d
74.
▲
by
Mouse47
9y ago
Yeah -- I use sourcetree almost exclusively. Why would I want to type 'git status' and then 'git diff long/path/to/my/file.txt' when I could just click on the file in the changes list?
75.
▲
by
Mouse47
9y ago
Stupid question, since I'm not sober...why doesn't ArcBorrow just store a reference to the Arc and also a reference to the underlying T? That would solve the double indirection and also give the ability to clone the Arc? Great ef
76.
▲
by
Mouse47
9y ago
Not sure why you're being downvoted. Every bit of what you're saying is true.
77.
▲
by
Mouse47
9y ago
That guy was an asshole btw
78.
▲
by
Mouse47
9y ago
>It depends on how expensive your deprecation process is. I don't think we can generalize for entire ecosystems. Some langs and products it would be fairly trivial to update, and retain back wards compat. Others might be harder and
79.
▲
by
Mouse47
9y ago
>What is easier having to have this conversation EVERY time the term gets used for the rest of eternity, or making the change once and being done with it? That's not very compelling. Just because certain people make a lot of noise
80.
▲
by
Mouse47
9y ago
I'm fine with an argument based solely on its technical merits. But then you're going to lose out to things like backwards compatibility and the sheer force of momentum - everyone understands these terms. There are probably hundr
81.
▲
by
Mouse47
9y ago
I'm arguing specifically against the term being offensive. EDIT: and oddly, I can't seem to find the word anywhere in your comment that I replied to. Am I losing my mind, or did you take that part out?
82.
▲
by
Mouse47
9y ago
I agree that the terminology doesn't matter, but consensus does. Master/slave are the commonly understood terms. Here's a question: if "slave" is offensive, should "kill" (as in 'kill 69' to ki
83.
▲
by
Mouse47
9y ago
Yes, unless he was making an insurance joke
84.
▲
by
Mouse47
9y ago
>That's not an old/young argument. Oh I wasn't saying it was -- just providing examples for when the hand-waving/dismissive attitude by senior developers isn't really backed by anything. I'm pretty skeptica
85.
▲
by
Mouse47
9y ago
Oh I know -- powershell's my weapon of choice here. And it doesn't help when the previous developers decided to store action/controller names in the database...lol.
86.
▲
by
Mouse47
9y ago
Yup. I've seen 55+ year old programmers write what was essentially a message queue persisted in a database table, processed by a cron job. We frequently had problems with duplicate processing of messages, due to multiple cron jobs ru
87.
▲
by
Mouse47
9y ago
I hope so. Part of the problem is I think I'm a slow thinker, so when talking on technical concepts, people have a tendency to blow by me when I need clarification on the things they said three sentences ago. And once I finally get c
88.
▲
by
Mouse47
9y ago
.NET MVC is really bad when it comes to this. I'm not sure what problem they were trying to solve, but referring to a specific controller-action by using Url.Action("Controller", "Action", "Area") was a
89.
▲
by
Mouse47
9y ago
>If you are dead-set on changing something, you should make the XReader no longer implement IDisposable. I'm sure that's what he meant...at least I hope
90.
▲
by
Mouse47
9y ago
It's also an extremely narrow, ignorant view of ability/intelligence in general. I've never struggled with math or CS at any time in my life, cruised through college, but I find myself agonizing over the stark difference in
More ›