Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
victorNicollet
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
91.
▲
by
victorNicollet
7y ago
This is exactly what is happening here. The JIT generates code at runtime based on the target machine's capability.
92.
▲
by
victorNicollet
7y ago
Purity is not a goal in itself, its purpose (its meaning) is to help me answer useful questions about the behaviour of the program. In a typical IO function, `fn()` only gives me 10% of the code in `fn`: the part up to the first bind. To ge
93.
▲
by
victorNicollet
7y ago
In a typical IO function, the first 10% of the code returns a monad-bind that holds the remaining 90% of the code in a closure. The pieces are pure, but the whole isn't meaningfully pure.
94.
▲
by
victorNicollet
7y ago
This isn't a ban on end-to-end crypto. A company would still be able to use end-to-end crypto, as long as they control one end, which is already the case in ecommerce.
95.
▲
by
victorNicollet
7y ago
As an Azure customer, I have hopes that having a bigger fish in the pond would help improve reliability and availability, but those would likely happen for services that are already reliable.
96.
▲
by
victorNicollet
7y ago
This has always struck me as significant effort invested in making a bad user experience only slight less bad: the REPL overloads the meaning of "enter" to mean both "insert a new line" and "execute command", a
97.
▲
by
victorNicollet
7y ago
In this architecture, events are a persistence strategy. Once created, they are saved forever, so if they get dropped, it calls for an investigation and a restore from backup. Having worked with such a system before, the real pain is that a
98.
▲
by
victorNicollet
7y ago
It's true that when a French person comes to your country to buy your product, then goes back to France, the burden is on them to pay the relevant customs and taxes. On the other hand, I would argue that the market of people who would
99.
▲
by
victorNicollet
7y ago
From what we know about the 737 MAX issue so far, the software not performing as specified was not one of the causes. The article's jump from "these accidents cost lives and money and can be resolved by a software patch" to l
100.
▲
by
victorNicollet
7y ago
Going a bit off-topic... At some point, if a module/pass/service is large enough, it becomes worth investing in a local naming convention that carries the relevant type information, and enforce that convention through code reviews
101.
▲
by
victorNicollet
7y ago
I agree that the service provider shouldn't expect the SAML identifier to be an email. I suspect that the SUNetId is something readable (based on the human's name) as opposed to a fully opaque alphanumeric string ? On the other ha
102.
▲
by
victorNicollet
7y ago
I'm saying all of this as the CTO of a B2B service that accepts SAML for authentication. > How well does it actually work in practice? For authentication, pretty well. No downtimes observed on Google, Microsoft or customer-owned IdP
103.
▲
by
victorNicollet
7y ago
I really like the `asof` keyword, so I'll be stealing it for my own language :-) I suppose that `from ..` does not print the result, but rather returns a new dataframe that just happens to be printed by the REPL ?
104.
▲
by
victorNicollet
7y ago
I dislike PayPal as much as the next guy, but I don't get this: > PayPal will also stop letting you refund the percent they take out so you will be holding the bag when you refund a customer. When I refund a customer, I wouldn'
105.
▲
by
victorNicollet
7y ago
A well-known OpenGL book was also the Red Book. http://www.opengl-redbook.com/
106.
▲
by
victorNicollet
8y ago
I believe the point was that, if your linear search happens to return your first element, you did not perform 1000 operations. The context is a linear scan, not alternative algorithms that could make use of a sorted data set.
107.
▲
by
victorNicollet
8y ago
In most programming languages, a fact like "Foreach loops have a variable binding, a collection to iterate through, and a body" is guaranteed by the parser, and the rest of the language implementation can assume that the foreach l
108.
▲
by
victorNicollet
8y ago
Not the author, but I regularly leave my computer with a debugging session open (because it's 7pm and it's time to go home). If Windows reboots, it sometimes takes hours to reproduce the bug and reach the same breakpoints again.
109.
▲
by
victorNicollet
8y ago
Shadow IT. A client asks: if we cancel our subscription tomorrow and our competitor acquires your company next year, will our data have been deleted by then ? And if you have employees sharing customer data with each other over unsanctioned
110.
▲
by
victorNicollet
8y ago
This result is not surprising. Having a rule that sets your prices, with your competitors' prices as the only variable input, creates a dynamic system that can easily converge on supracompetitive prices with the right parameters, and y
111.
▲
by
victorNicollet
8y ago
I mentioned Typescript as an example of language where I could do this, so... Yes? Typescript is not a language I would say has a verbose type system.
112.
▲
by
victorNicollet
8y ago
In a statically typed language, the code will not run until I have convinced the compiler that it should. If I wanted to explore the behaviour of `frobnicate` before committing to a design, I would still have to define all those satellite t
113.
▲
by
victorNicollet
8y ago
The problem is not that it takes a while, but that it takes a while when I'm in the middle of a complex task . Because of language verbosity, I might need to context-switch away from solving a hard problem. For instance, if I am writi
114.
▲
by
victorNicollet
8y ago
Given the rule: expr := 'if' expr 'then' expr 'else' expr An expression may start with a sequence 'if if if if ...' of arbitrary length (and will contain that same number of 'then' a
115.
▲
by
victorNicollet
8y ago
The hotel room analogy is almost correct. Hotel rooms usually provide a small safe for which guests can pick the combination. There is also a secret backdoor combination or master key that lets hotel staff open the safe. This creates an obv
116.
▲
by
victorNicollet
8y ago
Migrating snapshots just moves the pain of changes : instead of letting the new projection logic replay all past events, you write code to migrate snapshots and hope that it will give the same result as the replay. In those cases, I would r
117.
▲
by
victorNicollet
8y ago
Custom rules on top of ASP.NET middleware.
118.
▲
by
victorNicollet
8y ago
We use SAML set up for our customers' identity providers (most of the time, Office365 Azure AD or Google Suite), from a NuGet package. From there, it's a bearer token encoded in JWT format for ease of debugging. From another NuGet
119.
▲
by
victorNicollet
8y ago
This is what F# does (define multiple classes), but each of these classes only takes one line of code.
120.
▲
by
victorNicollet
8y ago
C# now has active patterns (which feel like the `is` pattern matching) in the ability to declare a variable as you pass it as an out parameter to an extension function, e.g. if (num.IsNotPrime(out var a, out var b)) WriteLine(
More ›