Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
onei
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
onei
6y ago
Isn't that pretty standard for a parser? When was the last time a compiler bailed on the very first error it hit and refused to do anything else? The solution is to pick synchronisation points to start parsing again, i.e. ; at the end
152.
▲
by
onei
6y ago
I'm not convinced a CompSci degree actually teaches the history of the internet and why being decentralised might be something worth having. I didn't learn ideals from my university, or certainly not the ideals they want me to lea
153.
▲
by
onei
6y ago
It's an interesting question, and one I'm not old enough to answer properly. From what I can tell, lisp was popular up until the 80s, where it was heavily used in AI. Then there's a reference to an AI winter, where I suspect
154.
▲
by
onei
6y ago
Ah, but you missed my point :) Maybe you aren't seeing Lisp itself in production code (although someone suggested Emacs which is Lisp), but you see it's ideas and influence in almost every language and program you'd find toda
155.
▲
by
onei
6y ago
Lisp as a language might be a footnote, but the ideas the language proposed were revolutionary. Recursion, REPL and even conditionals all came from Lisp (FORTRAN had a conditional entity at the time, but not what we'd recognise as a co
156.
▲
by
onei
6y ago
> This is already taken care of in the proposal, by permitting clients to access only data they own. I'm curious how this works. In a database that stores something like an address, how do you prevent someone from slightly changing
157.
▲
by
onei
6y ago
I get that you've disagreed with almost every point telling you this is a bad idea, but I think the point is particularly pertinent. They tried this system, and then realised they painted themselves into a corner. Businesses wants feat
158.
▲
by
onei
6y ago
I think the problem this is trying to solve is a poorly defined interface from the backend. It's not to everyone's taste but openapi/swagger solves that problem. The hypothetical conversation around the missing property is re
159.
▲
by
onei
6y ago
I think it's clear that people being polled are not representative of those who are voting. Trump has eother managed to appeal to people resistant to being polled or has managed to disengage people that are being polled. Whatever your
160.
▲
by
onei
6y ago
Does MDN/Kuma not support talk pages like MediaWiki? IRC and other live chat options are good for building a community, but for discussing content changes (and preserving that discussion) keeping that discussion on the wiki is really u
161.
▲
by
onei
6y ago
The account apparently had some millions deposited into in and then withdrawn quickly after. It's not entirely clear who or where that money came from in the first place.
162.
▲
by
onei
6y ago
I'm trying to avoid downplaying this, but the articles linked from your link suggest this is primarily the actions of a single doctor. It seems possible this is an opportunistic individual taking advantage of the migrants who don'
163.
▲
by
onei
6y ago
Is there a scenario where the CLI fallback gets out of sync and you may as well not have the fallback? How is the fallback file secured and what's stopping someone else from accessing those secrets of they can get at the encrypted file
164.
▲
by
onei
6y ago
That looks exactly like what I'm looking for! Many thanks for the recommendation.
165.
▲
by
onei
6y ago
That's a good approach if you don't care about the nature of error and plan on logging it or outputting it as is, but you lose any metadata for the error unless you want to use unsafe to get it back out. What I order to do is use
166.
▲
by
onei
6y ago
> Modern, high-level language features I think this is something the article overlooked. Sure, Rust has the ability to be a system level language, but you don't have to use it that way and the breadth of good, albeit commonly immatu
167.
▲
by
onei
6y ago
From what I can tell, this scans code for strings that can be translated, and then you supply translations from the initial language resulting in a mapping of Chinese to other languages (using Chinese as an example). What happens if you upd
168.
▲
by
onei
6y ago
That was my impression too. However, where a patent expires, I couldn't see when the source code had to be released by. Seems a bit problematic if that is the case. I also don't see a substantial difference to just releasing the s
169.
▲
by
onei
6y ago
That's more or less what one of the Oxford colleges did. They realised all grades were guesses and that the information they had when offers were made had not changed quantifiably. So they let all existing offers stand regardless of wh
170.
▲
by
onei
6y ago
Not sure what the equivalent is outside the UK, but A Levels are the exams at the end of school and used to determine of you have the necessary grade for university. If you don't get the required grades, you don't go to university
171.
▲
by
onei
6y ago
I'd suggest using targets within the dockerfile combined with buildkit. Targets allow you to build multiple images from one dockerfile or have multiple distinct stages that depend on one another. Using buildkit means you can build targ
172.
▲
by
onei
6y ago
I don't disagree, but I think there's a fair amount of friction when maintaining standard libraries rather than third party ones just because of the implied stability. Your versioning is tied to python itself so it's probably
173.
▲
by
onei
6y ago
Spell check is something I'd love to see in Click. As complicated as git can be, I always liked the spell check it has for subcommands. As for the different cases, I personally avoid using camel or snake case purely because I don'
174.
▲
by
onei
6y ago
At a glance it looks a bit too simple. I didn't look to far into it, but it seems to be missing short options, prompting for options and using environment variables for options. As it's built on click, I'd guess you can call
175.
▲
by
onei
6y ago
I always found argparse did argument parsing well enough but it felt clunky when you need something more complicated like lots of subcommands. I find myself using it exclusively when I'm trying to avoid dependencies outside the Python
176.
▲
by
onei
6y ago
Are mail alerts not already a thing on your hardware? I know HP(E) stuff does it, not sure about Dell or other vendors.
177.
▲
by
onei
6y ago
I don't think that's protobuf's fault, it's simply a side effect of the common pattern in C of using memset when you initialise structs. I don't think there's a really good way around it other than remembering
178.
▲
by
onei
6y ago
Isn't printing money when you're short risky economically? My high-school history was a long time ago, but this is what Germany did post-WW1 and it ended in people bartering the family silver for the essentials.
179.
▲
by
onei
6y ago
It's not even python2.7, they went with 2.6. A version that reached end of official support in 2013. All because that's the default for RHEL 6. It's not hard to build RPMs of newer and/or supported versions of Python. Yo
180.
▲
by
onei
6y ago
I agree that something possibly dangerous should be harder to mis-use. The world is full of small oversights. Having said that, surely this is the job of a linter - does one exist for mustache? I've never seen JSX before (I haven'
More ›