Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
groue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
groue
10y ago
External librairies can also support the migration by providing "fix-its" which helps the compiler display an helpful message whenever a Swift 2-era line has not been updated to Swift 3 (see for example this PR: https://
32.
▲
by
groue
10y ago
> Simplest way would be to embed public key in the application Yes, but one eventually faces the need to update the certificate on the server, and still support installed applications (which fails when apps have an obsolete certificate p
33.
▲
by
groue
10y ago
> Mobile apps typically have other key pinning mechanisms that are preloaded (i.e. baked into the binary), but that's typically easy to bypass if you're the owner of a device; it's not really effective as a mechanism again
34.
▲
by
groue
10y ago
Yes, like a rogue one installed through any jailbreaking technique, isn't it?
35.
▲
by
groue
10y ago
May I ask a stupid question? Last time I heard about HPKP was as a solution to prevent an attacker from installing a fake root CA certificate in the client system (a mobile device), so that it could observe the behavior of a mobile app, b
36.
▲
by
groue
10y ago
Fine, as long as you can produce replacement data with the desired qualities.
37.
▲
by
groue
10y ago
After one year in the making, GRDB.swift has acquired experience about the impact of protocol-oriented programming and immutability on the way applications can access SQLite databases. First, those new paradigms actually help avoiding some
38.
▲
How Swift protocols and immutability impact database accesses
(medium.com)
4 points
by
groue
10y ago
|
1 comments
39.
▲
by
groue
10y ago
If you wish you could do that with SQLite, check GRDB.swift. It can synchronize a UITableView with an SQLite query. Demo: https://github.com/groue/GRDBDemo , documentation: https://github.com/groue/
40.
▲
by
groue
10y ago
Realm is still pretty fast. A simple comparison of Realm with Swift libraries for SQLite: https://github.com/groue/GRDB.swift/wiki/Performance
41.
▲
by
groue
10y ago
Change notifications used to be a feature that was only available to Core Data users, through NSFetchedResultsController. Glad to see Realm provide it as well. In the SQLite landscape, change notifications and table view updates is also pro
42.
▲
Four different ways to handle SQLite concurrency
(medium.com)
5 points
by
groue
11y ago
|
0 comments
43.
▲
Writing a Swift iOS App with GRDB and FetchedRecordsController
(github.com)
2 points
by
groue
11y ago
|
0 comments
44.
▲
A Swift library with support for SQLite WAL mode
(github.com)
1 points
by
groue
11y ago
|
0 comments
45.
▲
Show HN: Performance comparison of Swift SQLite libraries
(github.com)
2 points
by
groue
11y ago
|
0 comments
46.
▲
A Mustache template engine that builds with the Swift Package Manager
(github.com)
3 points
by
groue
11y ago
|
0 comments
47.
▲
Show HN: GRDB.swift – a versatile SQLite toolkit for Swift 2
(github.com)
2 points
by
groue
11y ago
|
0 comments
48.
▲
Swift rendering engine for Mustache templates
(github.com)
1 points
by
groue
11y ago
|
0 comments
49.
▲
Why English sucks as the language for international and scientific communication
(madore.org)
2 points
by
groue
12y ago
|
1 comments
50.
▲
by
groue
12y ago
It happened that I read the initial robots, empire and foundation cycles first, and then the "glue" novels that Asimov later wrote for the sake of general consistency. And those added novels contain wonderful twists - it was such
51.
▲
by
groue
12y ago
French native here as well. I personnally say "at" when spelling out email addresses. "Arobase" ou "et commercial" are names of the symbol itself - not commonly used because one rarely has to name the symbol.
52.
▲
by
groue
13y ago
Do you know C blocks ? http://en.wikipedia.org/wiki/Blocks_(C_language_extension)
53.
▲
by
groue
13y ago
He/she means that `=>` looks like a mathematical implication, just like `|...|` looks like absolute value bars.
54.
▲
by
groue
13y ago
Because some people don't use the spacebar for themselves, or use a browser that doesn't support spacebar page-down scrolling, and think shortcuts are smart. For them it's OK to experiment and remap a key to some feature, even though only t
55.
▲
by
groue
14y ago
People using Windows (I don't know about Linux) think that Caps lock is Shift lock. Wrong. It's Caps lock. And that's pretty useful. On OSX French keyboard, Shift-é would give 2, Caps-lock+é gives É. That key gives straight and easy acces
56.
▲
by
groue
14y ago
When one looks for some information, he never knows when he should stop scrolling. He may even well scroll too fast, and miss the portion he was looking for. However, when he can zoom out, he gets a glance at the page structure, can read se
57.
▲
by
groue
14y ago
I'm happy this project exists. For generating Objective-C documentation, there is the complex Doxygen, and the light https://github.com/tomaz/appledoc . Appledoc unfortunately lacks too many features. As it is built on its own home-built p
58.
▲
by
groue
14y ago
Another perspective of currying, from a guy that is not versed in functional programming. I have written an expression evaluation engine whose internal implementation only manipulates functions that have a single argument. Merely value tran
59.
▲
Efficiency and Bullying
(blog.oleganza.com)
2 points
by
groue
14y ago
|
0 comments
60.
▲
by
groue
14y ago
I haven't read anyone noticing that developers lose countless hours fighting with badly crafted PSDs like the one shown in the article, just to extract proper assets that keep their code tight. Think pixel fitting, but also dimensions consi
More ›