Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aastronaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
aastronaut
4y ago
no, but you can definitely talk about it. i also had a chat with a C++ dev that created a "Database"-class abstraction for our MongoDB instance and implemented methods to access each field of every documents separately - didn'
32.
▲
by
aastronaut
4y ago
It could also mean they stick around just as long as to notice that they have to deal with the consequences of the decisions they inherited and cannot change.
33.
▲
by
aastronaut
4y ago
SPAs and REST APIs moved a lot of the complexity around data to the client side. GraphQL moved it back to the server side. I think that's a reasonable decision, as the client - compared to the server - runs in a much more unpredictable
34.
▲
by
aastronaut
4y ago
I also just finished Thinking in Systems and really liked it. I think Feedback Control for Computer Systems[0] is a bit more on the side of a working software engineer (python2 though). Probabilistic Robotics[1] is also an technical approac
35.
▲
by
aastronaut
4y ago
Solved this by manually removing the piezo from the microwave of a flatmate... so annoying.
36.
▲
by
aastronaut
4y ago
There was once a thread here on hacker news about missing features of operating systems, as such a thing could only be achieved on OS level... can't find it anymore, unfortunately. It was mentioned that passwords etc. could be a nightm
37.
▲
by
aastronaut
4y ago
except for the autogenerated docs, you can also make use of Pydantic in Flask easily to validate your models with Flask-Pydantic[0] [0]: https://github.com/bauerji/flask-pydantic
38.
▲
by
aastronaut
4y ago
stupid question incomming: isn't that a '+= await' problem?
39.
▲
by
aastronaut
4y ago
i think the discussion style of the "the little" series is quite nice to introduce concepts. it feels like i'd observe a discussion between two experienced people.
40.
▲
by
aastronaut
4y ago
Agree here. Programming is a social discipline that should encourage discussions, rather than the enforcement of dogmas. I once worked in a team where the goal for a PR was to have as little lines changed as possible - never again.
41.
▲
by
aastronaut
4y ago
Also a great talk from Richard Feldman about "Making Impossible States Impossible": https://www.youtube.com/watch?v=IcgmSRJHu_8
42.
▲
by
aastronaut
4y ago
memoization is a means of simple optimization to speed up a program, just like GP wrote. you exchange the cost of executing a function with the cost of memory utilization. say you memoize a function that is referentially transparent, needs
43.
▲
by
aastronaut
4y ago
tbh i never ran into such an issue with my applications and it sounds to me like a physical constraint: i don't expect to be able to keep something cached in memory that is larger than the available memory. if i would see myself optimi
44.
▲
by
aastronaut
4y ago
I only need invalidation policies if i want to cache functions that aren't referentially transparent.
45.
▲
by
aastronaut
4y ago
my 24" external 4K display no scaling works flawless with my 15" 4K 150% scaling notebook. (fedora 35/wayland)
46.
▲
by
aastronaut
4y ago
I just read through your post on servers[1], as I'm currently in a similar boat (webdev working with C++ devs). I think the biggest hurdle for such developers are things like: - statelessness of the server (REST) - the lifecycle of a s
47.
▲
by
aastronaut
4y ago
we considered PouchDB[1] (client) and CouchDB[2] (server) for an PWA back then (2017). nowadays i would probably favor WatermelonDB[3]. [1]: https://pouchdb.com/ [2]: https://couchdb.apache.org/ [3]: https
48.
▲
The Problem with Software Methodologies
(chrisbehan.ca)
2 points
by
aastronaut
4y ago
|
0 comments
49.
▲
by
aastronaut
4y ago
I have to give Elektron some credit on how consistent their design language in the Digi-/-takt family of products is. Since the first showcase of the Digitakt in 2017, that brings it to 5+ years of consistency - that has to be really r
50.
▲
Cool Bugs vs Shitty Bugs, Part 1: Cool Bugs
(blog.whilenot.dev)
1 points
by
aastronaut
4y ago
|
0 comments
51.
▲
by
aastronaut
5y ago
thank you! here[1] it is in action in the playground. [1]: https://www.typescriptlang.org/play?#code/C4TwDgpgBAkgzgBQE4...
52.
▲
by
aastronaut
5y ago
From your link: > An HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state. Which is according to what OP wrote. I wouldn't trans
53.
▲
by
aastronaut
5y ago
My guess would be https://www.macworld.com/article/549755/m1-macbook-app-memor...
54.
▲
by
aastronaut
5y ago
Frankly, time doesn't work that way... if i am atm (CET) and i make an appointment for sometime in summer 2022 (CEST), then i don't expect the hair salon to make the appointment in CET.
55.
▲
by
aastronaut
5y ago
You seem to make a contradicting statement here with what you wrote in the sibling comment, no? timezone information are influenced by political means, whereas localization (lat/long) information is not. UTC timestamp + localization se
56.
▲
by
aastronaut
5y ago
As far as i'm aware, you should only store the location next to the timestamp and let the IANA[1] do the maintenance of the tz database. Please avoid the housekeeping on your side. [1] https://www.iana.org/time-zones
57.
▲
by
aastronaut
5y ago
1. MITMProxy[1] is scriptable (Python API) to modify requests/responses, or HTTP ToolKit[2] seems to be more on the non-code side (haven't used it). 2. Sure, but there's not much value in it. An API is the available contract
58.
▲
by
aastronaut
5y ago
you are referring to the "tally light", which uses a very limited range of values, usually 2 (off/red) or 3 (off/red/green) in a studio setting. since this here is a continuous value (based on multiple parameters) i
59.
▲
by
aastronaut
5y ago
As another self taught, my favorites would currently be something like (from low- to high-level): - The Elements of Computing Systems: Building a Modern Compiler from First Principles - Operating Systems: Three Easy Pieces - Systems Perform
60.
▲
by
aastronaut
5y ago
i thought the little typer does also a great job in getting you into thinking about type theory.
More ›