Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gleenn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
Seven Wastes of Software Development
(loom.com)
1 points
by
gleenn
1y ago
|
0 comments
152.
▲
by
gleenn
1y ago
Sending single custom emails is much more effort than bulk-mailing a huge list operationally. Sending bulk can be accomplished by uploading a csv of emails to some enail bulk sender versus code to run at the correct time for the correct use
153.
▲
by
gleenn
1y ago
I agree, but will the money be made by the same people? Like, if a psychologists group stands to benefit from treating it they wouldn't reap the benefit of the pharma research. Kind of like how the alcohol industry lobbies against weed
154.
▲
Tesla sues former Optimus engineer over alleged trade secret theft
(techcrunch.com)
3 points
by
gleenn
1y ago
|
0 comments
155.
▲
by
gleenn
1y ago
Strongly disagree. I've seen bad code or maintenance in all the languages. Sure, some ecosystems seem to attract worse practices, but the absolute best software engineering principles I ever learned in my multi-decade career were at a
156.
▲
by
gleenn
1y ago
Anecdata, but I remember writing software for a startup and getting thirsty. We had a fridge that had all sugar-free sodas because one of the founders was diabetic. I remember drinking a soda and still feeling really thirsty. Drank another
157.
▲
by
gleenn
1y ago
I would love something like this for databases like Snowflake where there isn't an easy way to test without hitting a prod SF server
158.
▲
by
gleenn
1y ago
Yes but there are plenty of companies or people that may want to know how the code works and would be motivated enough to read through the code to understand it and having it there in the public makes that possible.
159.
▲
by
gleenn
1y ago
Why is this de-facto the case for so many things? Is it a matter of finding a lawyer? Do these enforcement agencies just not care or don't have enough resources to battle Meta? It's exhausting that this gets repeated so often but
160.
▲
by
gleenn
1y ago
I feel privileged to be able to say that as a software engineer who's been doing it the hard way for 20+ years, I relish the hard problems. The CRUD app updates are unbearable without the random in-between challenges that bend my mind.
161.
▲
by
gleenn
1y ago
That's my point, the type errors being reduced isn't that interesting, I usually find and fix those extremely quickly. What I don't find but am most interested in is the actual logic. So I must write tests. And when I write
162.
▲
by
gleenn
1y ago
Can you explain concretely how adding types would make a bunch of boolean-valued functions and some tests better? What types would you introduce to my example?
163.
▲
by
gleenn
1y ago
So on the nose. We shouldn't have to wait for pennies from lawsuits to have good roads and adequate housing
164.
▲
by
gleenn
1y ago
I neither used the word legacy nor modern. I don't care how fancy your type checker is today or tomorrow, the arbitrarily deeply complicated boolean-typed function I write tomorrow gleans nearly zero value from type validation. It gain
165.
▲
by
gleenn
1y ago
The fact remains that your type system can be turing-complete and still not validate the actual logic that I need checked/tested.
166.
▲
by
gleenn
1y ago
It's not circular reasoning, I literally have piles of boolean-typed functions in business logic and there is no quantity of type-checking that will validate that (defn should-go [light-is-green? intersection-is-clear?] (and light-is-g
167.
▲
by
gleenn
1y ago
Seems like we shouldn't be using tech to punish a foreign group who's job, at least at face value, is to help the world. If the ICC is doing so much harm to the US, fight legally. That's where the battle should be fought. Not
168.
▲
by
gleenn
1y ago
If I have a complicated set of business-logic functions that all return booleans, the type-checker can tell me I got a boolean back but not that in xyz scenario my result should be true and abc scenario it should be false. You must write
169.
▲
by
gleenn
1y ago
Just goes to show how short-sighted these political decisions have been. Politics shouldn't be wrapping itself around tech, the US is shrugging off a huge market and ally.
170.
▲
by
gleenn
1y ago
If you do it right, your tests cover the thing you care about and are less work usually because you write the test for the part of code that has the interesting part you want to verify works correctly. Types, especially on fully typed langu
171.
▲
by
gleenn
1y ago
In general, it's a dream to test and refactor Clojure IMHO. Working with mostly static top-level functions, immutability by default, and mocking when necessary with the use of "with-redefs" makes writing tests easy. Also, the
172.
▲
Why do websites prevent pasting via onpaste="return false;"
5 points
by
gleenn
1y ago
|
4 comments
173.
▲
by
gleenn
1y ago
Has anyone tried something like Polylith which lets you build all your code like normal functions for local dev and testing and then seemlessly pull out parts to network services as needed? https://github.com/polyfy/pol
174.
▲
by
gleenn
1y ago
While that's probably true the optics are pretty obviously terrible.
175.
▲
by
gleenn
2y ago
I find the threading operators in Clojure bring much joy and increase readability. I think it's interesting because it makes me actually consider function argument order much more because I want to increase opportunities to use them.
176.
▲
by
gleenn
2y ago
As sane of a suggestion that is, SPY index fund dropped a huge amount because the whole market dove. Not everyone can plan on suddenly missing 20% of their savings.
177.
▲
by
gleenn
2y ago
I see you getting downvoted which seems a bit harsh given it seemed like a very honest question. As far as I understand, a huge amount of materials and intermediate steps and companies are over in Taiwan or Shenzen or other places in Mainla
178.
▲
by
gleenn
2y ago
One time I was flipping back and forth between directories, compiling some code, then checking it, then rm -rf'ing it. I accidentally hit up an cd ..'d one too many times. Suddenly the rm command hung and I was confused because it
179.
▲
by
gleenn
2y ago
Java: Map m = new HashMap() {{ System.out.println("I am a unique subclass of HashMap with a single instance!");}};
180.
▲
by
gleenn
2y ago
All types don't need names exactly like the Clojure example shows. There is no "type" for the argument, likely it's a map under the hood. And maps with keywords are used broadly across Clojure projects as a method of pas
More ›