Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
latkin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
latkin
9y ago
I must be missing something silly. What is the purpose of the original rectangle? This describes how to find the side length of the square, who's area is smaller than the rectangle.
32.
▲
by
latkin
9y ago
This bothered me, as well. If you disable "quick view" then the display only lights up when you tap it. That's a big improvement, IMO, though if my hands are full it's harder to check the time.
33.
▲
by
latkin
9y ago
This isn't too far away from "Powershell on the JVM," which is not a bad thing. ls.rec! cwd |? (_.ext == "class") |? (_.size > 1024) | (_.last) | println Compare to (I think this is roughly equivalent Powe
34.
▲
When the Scala compiler doesn't help
(latkin.org)
2 points
by
latkin
9y ago
|
0 comments
35.
▲
by
latkin
9y ago
You can purchase a set of non-transitive dice here: https://mathsgear.co.uk/products/non-transitive-grime-dice (I am not affiliated in any way with this store) These particular ones are fun because the winning order re
36.
▲
by
latkin
10y ago
As someone who does a lot of interviewing, I can confirm this is NOT how everyone feels.
37.
▲
by
latkin
10y ago
I think you are missing my point. Obviously if you work on projects related to your employer's business that is a conflict, even when executed in a clean room. The question is, assuming all else is above board (totally unrelated to emp
38.
▲
by
latkin
10y ago
Honest question for those more legally-versed than me. CA labor code protects inventions developed on one's own time without using the employer's "equipment, supplies, facilities, or trade secret information." [1] Would
39.
▲
by
latkin
10y ago
They are also known to have used F#, and even provided a testimonial to this effect: http://fsharp.org/testimonials/ . Can't say if it's still used, though. That's two recent high-profile acquisitions (wi
40.
▲
by
latkin
10y ago
First off, if you are using built-in `dir` alias, why not use the `sort` alias? Note also that you get tab completion for `dir`, `sort`, and `LastWriteTime`, so "verbosity" becomes decoupled from "speed of entering commands&q
41.
▲
by
latkin
10y ago
> this tool should not have dependencies on corporate infrastructure like Google’s (basically any partner in PRISM) Free yourself from the bonds of corporate infrastructure by installing this tool on your Google Android or Apple iPhone d
42.
▲
by
latkin
10y ago
Thanks for the heads up, I didn't know about unicode problems in clip.exe. Do you have a link? Set-Clipboard exists in full Windows Powershell, but not in Powershell "core" (open source version). I also didn't find a cli
43.
▲
by
latkin
10y ago
OP here. The open-sourcing and cross-platformizing of powershell itself makes it about 99% free to create "cross-platform" projects. A few specifics I came across from the remaining 1%: - Use platform-appropriate native tools
44.
▲
Show HN: 1Poshword, cross-platform PowerShell client for 1Password
(github.com)
66 points
by
latkin
10y ago
|
15 comments
45.
▲
by
latkin
10y ago
Seriously, the author seems to have fairly limited knowledge of powershell. A 13-line python script is presented, followed by a smug "you can almost hear the UNIX folks complain about how verbose the PowerShell version is". First
46.
▲
by
latkin
10y ago
"Varys," "reccommend"...
47.
▲
Better TeX math typesetting in Hugo
(latkin.org)
1 points
by
latkin
10y ago
|
0 comments
48.
▲
Curious behavior when de-duplicating a collection in PowerShell
(latkin.org)
1 points
by
latkin
10y ago
|
0 comments
49.
▲
Git for Windows accidentally creates NTFS alternate data streams
(latkin.org)
349 points
by
latkin
10y ago
|
176 comments
50.
▲
by
latkin
10y ago
`ref` and `mutable` were unified in F# 4.0. You no longer need to use a `ref` when closing over a mutable value, you can use `let mutable` in all cases and the compiler will figure it out for you. The generated code is the same as before, i
51.
▲
by
latkin
11y ago
The idea of Mathics is great - open-source, in-the-browser Mathematica clone - unfortunately the implementation is still sorely lacking. Last time I tried it (admittedly fairly long ago), even simple stuff just didn't work: https:
52.
▲
by
latkin
11y ago
I did Windows dev exclusively for a long time, and was an early Powershell adopter. Recently I switched companies and now I swap back and forth from Win10 (PS v5) to OSX (Terminal). I'm massively more productive in Powershell, mostly d
53.
▲
by
latkin
11y ago
In Win10 there is finally line-based copy/paste built-in. You can still get block-based by holding Alt.
54.
▲
by
latkin
11y ago
"Which commands from XYZ package require credentials?" hardly seems unfair. Your suggestion solutions illustrate the point well - you have to memorize some convention of where utils are located, how they display usage info, then c
55.
▲
by
latkin
11y ago
> With Bash you get a wealth of tools because everything can handle text. ... and all those tools work seamlessly in Powershell, too. .NET objects are passed around within Powershell, but traditional dumb text is used for out-of-proc stu
56.
▲
by
latkin
11y ago
Yep. Technically the request included recursive rename, and to avoid renaming directories, but gosh that's not hard: dir -rec -file | rni –newname { $_.name –replace "_"," " } Edit: Oops, request did not
57.
▲
by
latkin
11y ago
2 points from the defense that had a "checkmate" feel to them when first presented in the show, but were then never brought up again. Anyone have a pointer to details/followup/refutation on these? (Spoiler alert, obvio
58.
▲
by
latkin
11y ago
C# has had lambdas for almost 9 years. (C#3.0, 2007) https://msdn.microsoft.com/en-us/library/bb308966.aspx
59.
▲
by
latkin
11y ago
> so shitty as a programming language > doesn't look like anything else on Windows These are unrelated statements, not sure what you are getting at. Powershell is more than adequate to build one-liners, scripts, tools, and system
60.
▲
by
latkin
11y ago
cmd.exe and batch script are horrible, no argument there. Powershell is a huge improvement, though, and in many ways far surpasses the unix command line environments. You have real objects at the prompt, with fields and methods, you aren&#x
More ›