Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sime2009
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
sime2009
8y ago
Most of the time in TS you just rely on type inference and don't write out the type at all.
272.
▲
by
sime2009
8y ago
Fully agree. The majority of us are writing code with has to talk to a lot of other systems which we didn't write and don't control. These interface areas between systems are huge gathering places for bugs. Also, mocks are self-de
273.
▲
by
sime2009
8y ago
> The ability to spec out the shape of an object, and then in the different contexts in which you need some of that data, specify what you need, is an awesome solution to optionality You realise you can do the same thing in TS with its s
274.
▲
by
sime2009
8y ago
I know how "Embrace, extend, extinguish" works when the product people are "locked" into is closed source and propriety. But explain to me how this works when the product is open source and can be forked by anyone?
275.
▲
by
sime2009
8y ago
> Take a jangly language like JS, and add some typing for the compiler It so turns out that there is a great sweet spot in between the straight jacket typing of classic Java/C# and the loose "do way ever you like" approach
276.
▲
by
sime2009
8y ago
What is the point in that now? It is going to be a similar size as Chromium. You might as well just use Electron. As a matter of fact, Chromium's/Chrome's engine Blink was forked off from WebKit back in 2013. Current WebKit i
277.
▲
by
sime2009
8y ago
QtWebEngine embeds Chromium as its web engine, which means it is going to have the same performance and disk size costs as Electron. The circle is now complete and you might as well just use Electron.
278.
▲
by
sime2009
8y ago
No it's not. The file searching code is in Rust (IIRC) and runs as an external process, but that is about it.
279.
▲
by
sime2009
8y ago
Well, there was a solution to that last problem. Just bundle the whole runtime with the product each time. And just like that we're back at square one again...
280.
▲
by
sime2009
8y ago
Maybe you should go back and read scoopdewoop's comment again. Half of their point was that slack and discord are not simple text only chat clients.
281.
▲
by
sime2009
8y ago
Rendering speed shouldn't matter in this case because the terminal shouldn't be trying to render every single line which is sent to it. The terminal should just process the stream and commands, and real updates to the screen.
282.
▲
by
sime2009
8y ago
You are right. Replace 'scrolling' with 'scrollback' when you read my comment. :)
283.
▲
by
sime2009
8y ago
Can we not start throwing around these bullshit `time blah` tests. They don't measure what people thing they measure. It doesn't measure rendering speed at all. It does vaguely measure two things: 1) How big the buffer is on the t
284.
▲
by
sime2009
8y ago
The big idea of Alacritty is that it uses the GPU for superfast rendering and updates. But relying on tmux for scrolling seems to be a case of "penny wise and pound foolish". Having to round trip key presses and updates through a
285.
▲
by
sime2009
8y ago
I'm not the person you were asking, but this should interest you. I've been working on a terminal emulator ( Extraterm http://extraterm.org/ ) with some novel features which would dovetail nicely with how PowerShe
286.
▲
by
sime2009
8y ago
> And yet, in many cases they are a productivity drain. Time is often better spend by writing testcases instead of chasing down type issues(more so if a language has a 'generics' or C++ templates concept), so that approach got
287.
▲
by
sime2009
8y ago
I'm not familiar with Pandas but I'm guessing that its API is similar in style to numpy just by looking at the code snippet. I can't rule out that you might be an idiot, but it is not because you find that line of code confus
288.
▲
by
sime2009
8y ago
If I may play devil's advocate for a minute, I would say that just because you felt like were not productive doesn't mean that you weren't being productive for your team/company. Those people interrupting you with questi
289.
▲
by
sime2009
8y ago
Oddly enough, I've worked with people who are agile/scrum fanatics and remote work fanatics at the same time. Good times... no, I seriously take that back, it was terrible.
290.
▲
by
sime2009
8y ago
TypeScript does support writing "quacksLike" functions. The feature is "type guards" and it lets you write a boolean function to test the type of an argument, and TS's flow control code understands it at compile tim
291.
▲
by
sime2009
8y ago
Codeplex died because GitHub won. There was little point in keeping Codeplex around especially after MS decided to move their open source stuff to where the developers were, i.e. GitHub.
292.
▲
by
sime2009
8y ago
> I imagine it could also be useful to run user programs without having to switch rings all the time That is pretty much exactly what this project is aiming at: "Cervus implements a WebAssembly "usermode" on top of the Lin
293.
▲
by
sime2009
8y ago
ShadowDOM and the other parts of the web components specs don't do any of that kind of de-duplication which you describe, sorry.
294.
▲
by
sime2009
8y ago
"I do not fear death. I had been dead for billions and billions of years before I was born, and had not suffered the slightest inconvenience from it." -- Mark Twain
295.
▲
by
sime2009
8y ago
The thing is that on Windows it isn't really possible to make a terminal/console app which talks directly to the shell (cmd.exe etc) running in it. What everyone is doing is opening a hidden 'console' component which run
296.
▲
by
sime2009
8y ago
I have to make a small apology here. Only cygwin is supported on Windows and there was once a useful error message but it died during recent development. This week I've been working on Windows console app support (think: cmd.exe, power
297.
▲
by
sime2009
8y ago
Your comment makes some great arguments about just how awful the traditional ways of working in the terminal are. They're often very clumsy and tedious or require additional tools and foresight, e.g. remembering to redirect output to a
298.
▲
by
sime2009
8y ago
I share many of the frustrations mentioned in the article and it motivated me to make my own terminal, Extraterm http://extraterm.org/features.html . It already supports many of the workflows listed in the "Enter Eshel
299.
▲
by
sime2009
8y ago
I find that a specious argument. The same could be said of anything from programming languages to pizza toppings. "Thing X is bad because it discourages people from learning about things which are not X." I would argue that JS pla
300.
▲
by
sime2009
8y ago
* runs on a fast JIT * package management and modules actually work * huge ecosystem of packages * ability to use native code modules in needed * has webassembly too * runs a huge range of other languages. It can fill a role similar to the
More ›