Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zanecodes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
zanecodes
5y ago
And Rose-Hulman!
92.
▲
by
zanecodes
5y ago
Run-and-tumble sounds an awful lot like stochastic gradient descent
93.
▲
by
zanecodes
5y ago
Also good points, I suppose the printing mechanism couldn't use the type's implementation of toString() and would instead have to use an implementation built into the runtime. Still, even being able to see just the raw bytes would
94.
▲
by
zanecodes
5y ago
That's a good point. I would also like very much if languages included a sensible and useful default implementation of toString() or the equivalent for all types (e.g. print all the object's private & public property names &am
95.
▲
by
zanecodes
5y ago
Agreed, but this would help force developers to deal with treating secrets with the care they should have been treating them with all along, in my opinion. PowerShell's [SecureString] type is something of a step in the right direction,
96.
▲
by
zanecodes
5y ago
One thing I've never understood is why stack traces don't, at a bare minimum, contain the values of the arguments passed to the function that threw the exception. That would be immensely helpful for reproducing the error. Even bet
97.
▲
by
zanecodes
5y ago
As a recent hire to the Space Telescope Science Institute which produces the software packages used to process and analyze Hubble (and soon Webb and Roman) imagery, I'd be happy to answer any questions on the topic to the best of my ab
98.
▲
by
zanecodes
5y ago
The Amazon seller mentions that pure tungsten is typically too brittle to machine.
99.
▲
by
zanecodes
5y ago
Ideally the decision would occur at compile time rather than runtime, to eliminate the dispatch overhead, so I think it would be likely to require macros, constexprs, or whatever compile-time execution mechanism is available in your languag
100.
▲
by
zanecodes
5y ago
You're right, and I think a lot of data structures (all of them?) can be seen as special cases of relational databases. I also feel like there are similarities to logic programming languages like Prolog and Datalog, and a language that
101.
▲
by
zanecodes
5y ago
This makes me wish that we had a language (or library, or runtime, take your pick) that abstracted away performance concerns. As an example of how this might work, suppose you want a data structure that provides an ordered collection of ite
102.
▲
by
zanecodes
5y ago
It probably won't ever be serviced or upgraded, for several reasons: It's orbiting at the Earth-Sun L2 Lagrange point, with a perigee of 374,000 km While we can put astronauts in space, we don't currently have any orbital veh
103.
▲
by
zanecodes
6y ago
Interesting; found a few words about it here: https://www.eink.com/e-ink-film.html Very curious as to how it works.
104.
▲
by
zanecodes
6y ago
As far as E-Ink goes, my understanding is that it works by moving charged ink particles from one end of a microscopic capsule to the other, so that white and black particles switch places, resulting in a visible color change. All this is to
105.
▲
by
zanecodes
6y ago
Yeah, it's something I'd be interested in reading more about: how do we define "better" in this context? Better for whom: society as a whole? Pedestrians? Drivers of self-driving cars? Passengers of self-driving cars? Dr
106.
▲
by
zanecodes
6y ago
Personally, I would consider success to be when it drives statistically better than _me_, not just _most people_. It really depends on how you choose to aggregate your data; if it's better on average, well, the average crash rate per m
107.
▲
by
zanecodes
6y ago
Nope. Their load balancer seems to strip the `@db_name` from connections, and anyway some software doesn't like having an @ in Postgres usernames (which is probably also a sign it's vulnerable to SQL injections)
108.
▲
by
zanecodes
6y ago
Their managed PostgreSQL offering also has fun quirks, such as that you have to connect using `username@db_name`, but your actual username in the database is still just `username`, so any third party software needs to support using a differ
109.
▲
by
zanecodes
6y ago
I believe they mean Land Value Tax [0] in the Geoism/Georgism [1] sense, not in the traditional property tax sense; the main difference being that a land value tax does not take into account improvements to the property (e.g. buildings
110.
▲
by
zanecodes
6y ago
I'm somewhat familiar with certificate handling in general, I had just forgotten how Let's Encrypt performs domain validation; it's been a few years since I used it and it's worked so well that I haven't had to thin
111.
▲
by
zanecodes
6y ago
This makes me wonder about the feasibility of performing an attack by * man-in-the-middling Let's Encrypt and a particular domain (or DNS, depending on the domain validation challenge) * requesting a new certificate for that doma
112.
▲
by
zanecodes
6y ago
Ah yes, that makes sense. Let's Encrypt requires proof of domain ownership, which at least ensures that the entity you're connecting to is the entity that owns the domain. Encryption without authentication wouldn't be very he
113.
▲
by
zanecodes
6y ago
Very probably I'm missing something, and I love Let's Encrypt and the service that they provide, but... the point of Let's Encrypt is to bring SSL/TLS to more websites, right (and not necessarily to provide identity veri
114.
▲
by
zanecodes
6y ago
Since most paid wifi networks let you log in without a network password and then gate internet access by redirecting HTTP/DNS requests to a captive portal, it should be possible to launch an ARP spoofing attack [0] to impersonate the d
115.
▲
by
zanecodes
6y ago
Maybe what app stores should do is give apps a 3-star "implicit" review by default, when the user downloads and installs the app. This could possibly also be deleted when the user uninstalls the app. This way, users who don't
116.
▲
by
zanecodes
6y ago
You can shorten any argument name in PowerShell, so long as it can be disambiguated: PS C:\> ls -di # same as Get-ChildItem -Directory; -d would pass the -Depth parameter instead Directory: C:\ Mode
117.
▲
by
zanecodes
6y ago
I would call the former an implicit state machine, while the latter is an explicit state machine.
118.
▲
by
zanecodes
6y ago
Git actually does not work with deltas; each commit contains the hash of a tree object [0], which contains the hashes of the files within it [1]. This tree is effectively a snapshot, since it contains every file hash in the working director
119.
▲
by
zanecodes
6y ago
Not to mention that the design constraints of a reaction wheel and a drive wheel are almost polar opposites: a reaction wheel needs to have the largest possible moment of inertia, to maximize the change in angular momentum for a given mass
120.
▲
by
zanecodes
6y ago
In Haskell (I know, I know) I would probably write something like this, if I were porting the example one-to-one: getInsuranceAmount status = case [hasInsurance, isTotaled, isDented, isBigDent ] <*> [status] of [
More ›