Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yokohummer7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
yokohummer7
10y ago
Windows does have a C# compiler by default. It is located in the `Windows\Microsoft.NET` folder. Not very discoverable, though. And starting with Windows 10 a metro app called 'Code Writer' seems to be installed by default for cod
32.
▲
by
yokohummer7
10y ago
You're not weird. PowerShell does have barriers to entry and that's why I also had used Cygwin on Windows until recently. And it might not change because it is a very different monster than POSIX. It is unfortunate for sure, but s
33.
▲
by
yokohummer7
10y ago
It is not only ugly but also slow. One of the pain points while using PowerShell. It seems that Microsoft didn't care much about the emulator until recently. Thankfully things are changing, it was improved a bit in the Windows 10 anniv
34.
▲
by
yokohummer7
10y ago
:( Why is it not the default? Is there a technical reason? I cannot think of any possible downside that the shortcuts would bring.
35.
▲
by
yokohummer7
10y ago
> On the other hand, if Windows had a proper shell and cli tools, like cygwin with zsh, but native and not Ubuntu layer inside - that would be tremendous. It is PowerShell, and it really is. Until recently I thought Windows had poor CL
36.
▲
by
yokohummer7
10y ago
> It's terrible to script I'm pretty sure you didn't try PowerShell. It is at least as good as bash, if not better. > you need to use the mouse too much I find this more problematic on macOS. I was forced to use a mouse
37.
▲
by
yokohummer7
10y ago
Actually I liked that feature. We used to chat with each other using it when I was in school. It was definitely a right choice for Microsoft to disable the Messenger service, but I was a bit sad when it actually happened.
38.
▲
by
yokohummer7
10y ago
It may sound crazy, but I did suffer from it myself. My Windows XP installation was guaranteed to be infected by the worm, because like you said, without any interaction (I didn't even open up the browser, to make sure I was not cr
39.
▲
by
yokohummer7
10y ago
a:not([href]) a[href="#"], a[href=""], a[href*="javascript:void(0)"] { … } Wait, what should I use instead then?
40.
▲
by
yokohummer7
10y ago
That's interesting, I've always thought the WebSocket spec is too complicated with all those frame types and message fragmentation, and I completely ignored contunation frames when I had to implement the protocol myself. But it se
41.
▲
by
yokohummer7
10y ago
Yeah, but both parties can leverage the existing connection without resorting to a message-based protocol, can't they? They could just assume they're now sending and receiving bytes after the upgrade. What I meant when I said &quo
42.
▲
by
yokohummer7
10y ago
> Websites would be able to launch DDoS attacks by coordinating UDP packet floods from browsers. > New security holes would be created as JavaScript running in web pages could craft malicious UDP packets to probe the internals of corp
43.
▲
by
yokohummer7
10y ago
Probably a bug report with the most duplicates? > The x87 FPU was originally designed in (or before) 1980. I think that's why it is quite simple: it has only one unit for all FP data types. Of course, the precision must be of the wi
44.
▲
by
yokohummer7
10y ago
Well, just by looking at a glance, kqueue seems to pose similar problems. I mean, the problem mentioned in the OP: 1. Kernel receives some data, and wakes up A 2. A reads some data 3. Kernel receives some other data, and wakes up B
45.
▲
by
yokohummer7
10y ago
So, the kernel is free to assign a connection to a new thread even if there is a previous thread working on it? Because the kernel has no idea when the previous worker will be done processing the data. So the user has to manually unregister
46.
▲
by
yokohummer7
10y ago
Funny, it seems that, by the standards of the OP, the fork you mentioned is not "Python 2" either. It backported type annotations, async/await, and many more from Python 3. So when are we expected to see a "true" Py
47.
▲
by
yokohummer7
10y ago
Might be an off-topic, but recently I learned that Windows does come with a C# compiler. It's included in the .NET runtime, which is installed by default nowadays. This might be useful if you're extremely lazy to install any lan
48.
▲
by
yokohummer7
10y ago
> I mean technically its closer to my target production environment than macOS is. Huh, I didn't think about that, but you're right. Yeah, I won't have to deal with slightly different shell tools that are bundled with macO
49.
▲
by
yokohummer7
10y ago
One thing I find odd about the display is that it somehow changes white balance occasionally depending on the content. I'm not sure if this only happens on BootCamp or not, but it's a bit surprising. Is there any setting to turn o
50.
▲
by
yokohummer7
10y ago
Oh wow. I can't believe I didn't think of it earlier! As a Vim user I've always been told it is good to swap Caps Lock and Esc, yet I haven't actually tried it due to my laziness. Probably now is the time.
51.
▲
by
yokohummer7
10y ago
And Windows Subsystem for Linux! While all my server and development stuffs are based on Linux, I wasn't particularly a fan of the Linux GUIs. The reason MacBook was attractive was that it runs POSIX. But now Windows can do that too th
52.
▲
by
yokohummer7
10y ago
Well, my experience is the opposite: while using the new MacBook I realized how infrequent I was using the function keys. The only times that I noticed the "missing" function keys were when I tried to open up the web developer con
53.
▲
by
yokohummer7
10y ago
> Google Authenticator stores the key unencrypted in an sqlite database, which you can look at if you have rooted your phone. Interesting, actually that's exactly the reason why I like the TOTP algorithm over other two factor mechan
54.
▲
by
yokohummer7
10y ago
One of the reasons why many people come to HN is that it gives the moderation that is not covered by laws.
55.
▲
by
yokohummer7
10y ago
When they say the privacy issues of Windows I see a double standard. Android is, to my mind, equally "invasive" as Windows, if not more. Except the fact that Android's source code is open, they are pretty much same regarding
56.
▲
by
yokohummer7
10y ago
I have zero knowledge about microcontrollers, so forgive my dumb question... But how do you program with 16-byte RAM!? I believe even ENIAC had more memory than that? (Though I'm not sure if ENIAC had such a concept like main memory.)
57.
▲
by
yokohummer7
10y ago
Isn't the license concern pretty major though? IIRC even in the current form Wine at the early age had been quite controversial, due to legal concerns. They consciously prevented those who have knowledge of Windows internals from contr
58.
▲
by
yokohummer7
10y ago
> Unless you think Rob Pike is saying that Google is hiring mediocre programmers (hint: he's not), that statement is intended as a criticism of academics ("researchers"). He's saying that the same things that excite r
59.
▲
by
yokohummer7
10y ago
I was thinking more about the "proper noun" aspect of the UNIX commands. I mean, what do `awk`, `sed`, `tar`, `xargs`, `df` mean? Why does `free` only print the remaining memory, not the disk space? Why is `top` even related to pr
60.
▲
by
yokohummer7
10y ago
Well, how about this: ls . -r -file -fi *.html | cp -d /home/new_dir/ It is a bit shorter than your bash equivalent, still doing the same thing. I think you're mistaken about what `cp` (`Copy-Item`) is intended to
More ›