Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
foobarbaz33
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
foobarbaz33
3y ago
VisualStudio (not code) has a decent git interface. The "view git changes" window is similar to magit-status. Although magit is superior for staging custom chunks from a selection. Most other tools seem to think a single line is t
62.
▲
by
foobarbaz33
3y ago
> doesn't allow SQL injection Here's an injection vulnerable stored proc call. string badSql = "exec fooProc " + arg; User input need to be parameterized whether you are calling a stored proc or not.
63.
▲
by
foobarbaz33
3y ago
I forget where I heard it. Supposedly the amount of silver needed to buy a goat during Roman times is similar to today. Cold metal seems to act as cold storage of value across history.
64.
▲
by
foobarbaz33
3y ago
> - build it once, deploy and forget for months or years; With the containers thing any stack can do this. But I get what you mean. Avoid anything to do with JS. It's the worst of the worst for stability. Avoid Ruby on rails. Avoid
65.
▲
by
foobarbaz33
3y ago
Most people like indent width 4. Some like a compact 2 or 3. Sometimes even 1! Others need 8 because of their eye sight. What should the indent width be? It should be TAB because anything else is wrong. Thank you go developers for embracing
66.
▲
by
foobarbaz33
3y ago
I think the crux of the argument is what you think about private git commits. You may think of them as "holy" history. Assuming the commits are still private, I give them no more prestige than the editor's undo log. What do y
67.
▲
by
foobarbaz33
3y ago
> As soon as you do a rebase, you're rewriting history. Agreed. But the rewrite occurs in your private branch. It's history is just as private as the undo list in your editor. No one cares about what's going on in your ed
68.
▲
by
foobarbaz33
3y ago
> the mess is the actual history. The true history is not recorded in your normal commits either. Every time you modify your source buffer, that is the true sequence of events. This truth is lost already as you undo/rework things be
69.
▲
by
foobarbaz33
3y ago
> reality The question is about the scenario where AI *is* a reality. AI being a reality today is not relevant to the question.
70.
▲
by
foobarbaz33
3y ago
> you're just buying yourself a job Is that a bad thing? Can you afford to buy something? Can you afford the case of a total loss in value of the thing you buy? Steve Ballmer is in a similar situation as you. He used excess money to
71.
▲
by
foobarbaz33
3y ago
With AI the technology is itself an intelligent creature that could theoretically take over any new jobs created recursively. Assuming it has agency and a physical medium to act through. There may not be any historical context to look back
72.
▲
by
foobarbaz33
3y ago
> Having your boss being able to see what you're looking at and what you're doing is not a very comforting thing. That's an issue for all 3 types of work. In office, remote, or VR-office remote. Boss can already anonymousl
73.
▲
by
foobarbaz33
3y ago
> - Pay is the legal minimum. Literally minimum wage? Low pay in start ups is offset with equity. Equity can end up worthless, but at least gives some justification to low pay. If you are making min wage and have 0 equity.... you are bei
74.
▲
by
foobarbaz33
3y ago
The bundled manual is really good. vim :help :only Don't skip the intro text at the top. You need to know the key binds it describes to navigate the manual. Jump to subject: Control-] Jump back: Control-o
75.
▲
by
foobarbaz33
3y ago
Give him some prescriptive formulas. He can look up the magic incantation for each task he needs to do. Deeper understanding of git can happen gradually. For now he just needs to be able to do a basic workflow. #######################
76.
▲
by
foobarbaz33
3y ago
With lisp you typically develop in source files, versioned with Git. The same as any other language. Source files and live development are not mutually exclusive. SLIME can send code snippets from your file over to the REPL for live develop
77.
▲
by
foobarbaz33
3y ago
> Bruce fanatic since childhood You've been fed a steady diet of martyr god.
78.
▲
by
foobarbaz33
3y ago
> ...near-libelous portrayal of him Is it libelous or true? Are you assuming? You have to realize this is a person who was mythologized. A person who millions believe is the best fighter ever despite never having been put to the test. A
79.
▲
by
foobarbaz33
3y ago
I don't think you're talking about the same thing as the parent comment.
80.
▲
by
foobarbaz33
3y ago
You're a hero. Freedom isn't free. You paid a price to give a taste of it to others.
81.
▲
by
foobarbaz33
3y ago
I heard Teslas run on a bunch of Javascript in a web browser.
82.
▲
by
foobarbaz33
3y ago
"Modern" UI designers are running amok. They hide content so you can't see it. They make you click on it, but then you lose the surrounding context. This is done because heaven forbid someone need to drag their finger to scro
83.
▲
by
foobarbaz33
3y ago
Forcing declares at the top makes it easy to estimate at a glance (or exactly calculate) how much space the stack frame will use.
84.
▲
by
foobarbaz33
3y ago
Mono? 2000 and late called and want their .NET implementation back. Now it's all about the .NET formerly known as "Core".
85.
▲
by
foobarbaz33
3y ago
Does VS code even integrate tree sitter? I'd imagine leveraging tree sitter is even more hairy there.
86.
▲
by
foobarbaz33
3y ago
The original raspberry pi's struggled with browsers. And and they look super stylish with that clear case thing.
87.
▲
by
foobarbaz33
3y ago
It's a language that doubles as UI (user interface). Much can be accomplished with 1 liners that are easy to type. That can't be done with something like Python.
88.
▲
by
foobarbaz33
3y ago
Information can be used as a weapon against you. Even if not overtly used against you, it will change people's perception of you. You may be working with enlightened people but they are still people. If the disease affects you in a sig
89.
▲
by
foobarbaz33
3y ago
Apple M1 all day baby. Right now it's the best laptop hardware on the planet. Ride the wave. No fan noise and efficient use of battery. You carry around "desktop" power in a little efficient laptop package. Software? I use t
90.
▲
by
foobarbaz33
3y ago
Forgot one. --I like how Go fills this little niche that no one else quite fills. Combining garbage collection while defaulting to value types. A savvy programmer has a lot of leeway to avoid creating garbage, while still "feeling"
More ›