Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arkh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
arkh
2y ago
Well you could distill most "modern" methods to one subtitle of The Mythical Man-Month book: Plan the system for change. TDD, DDD, extreme programming etc come from the same observation: the client does not know their needs. Even
272.
▲
by
arkh
2y ago
You can already imagine OS vendors publishing their design tokens to let you "easily" integrate your applications even if not using their UI libraries.
273.
▲
by
arkh
2y ago
> * APIs might live on a different domain, rendering cookies useless. That's when you implement a BFF which manages your tokens and shares a session cookie with your frontend while proxying all requests to your APIs. And as said, yo
274.
▲
by
arkh
2y ago
> Does anybody else find that statement controversial? No. But even if programmer's want flow, it is not what they need for their work to be done. Prototyping something and butting heads against a bad documentation or trying to find
275.
▲
by
arkh
2y ago
> Email is where important conversations happen. More like Email is this thing you forgot to check for a month because every time you go there it is mostly spam.
276.
▲
by
arkh
2y ago
Let's say I have a methodA somewhere in my code. I decide to rename it and add a parameter: my IDE knows what I'm doing as it can change the new name everywhere the method is used. My versioning tool not so much: it can tell me so
277.
▲
by
arkh
2y ago
> replaces Git with a new idea about versioning With the advent of LSP I feel like we're almost to a point where you could version structures and not code. Like being able to follow how some class / method got cut in multiple p
278.
▲
by
arkh
2y ago
The disconnect is simple: you have two populations. One is about consulting, coaching, writing books and speaking at conference to make money. The other is about cranking out code to get things done before some deadline.
279.
▲
by
arkh
2y ago
> Trump just got voted in. So? You'd be surprised by what many of them think about insurance companies CEOs.
280.
▲
by
arkh
2y ago
The thing is, you have to start somewhere and then you can go backwards. And putting a price on what people should shoulder for other is the main job of insurance companies. Now you can hope for a state owned one which would have "ever
281.
▲
by
arkh
2y ago
I'm gonna play devil's advocate here. How much do you think people should pay for some random person to be afforded one more hour of life free of pain? $1000? $1000000? $100000000? More?
282.
▲
by
arkh
2y ago
> Or, maybe this is an unusually black & white event. I'd say the HN public is the bubble there. Lot of aspiring CEO who take the "don't care with rules if you can get away with it" message to heart so they feel l
283.
▲
by
arkh
2y ago
> but I was naive and now I'm fine not doing that Either https://en.wikipedia.org/wiki/Learned_helplessness or https://en.wikipedia.org/wiki/Normalization_of_deviance
284.
▲
by
arkh
2y ago
> Why America's economy is soaring ahead of its rivals Because young people are not taxed to pay for retired people vacations. And because there is less of a credential obsession for most jobs. So you get people starting to work you
285.
▲
by
arkh
2y ago
I'm just waiting for the reinvention of php in the react ecosystem. And maybe later on a redo of HipHop.
286.
▲
by
arkh
2y ago
> setting adjusting lights to the EU or UK settings Many people on the continent need to learn about this. Lot of them are lighting up the opposite lane like if it was the side of the road instead.
287.
▲
by
arkh
2y ago
> six hundreds new games being released in a year But many are just variations of a gameplay: Splendor and Century are the same thing (one of some limited actions per turn, most things visible, you buy something to generate resources to
288.
▲
by
arkh
2y ago
It may be harder to had them or more expensive. And the fact you suddenly need them also mean there are low chances you'll be able to do the work yourself. Like: build a house on only one floor so no stairs => no need for elevators
289.
▲
by
arkh
2y ago
> So if i am building my own house i should also spend thousands of dollars more to make it accessible? Well, you don't know what tomorrow you will need. I remember my grandmother needing to make the house accessible after my grandf
290.
▲
by
arkh
2y ago
Yes but unfortunately they're often the people who vote the less. https://national-policies.eacea.ec.europa.eu/youthwiki/chapt... > Turnout among young people in Romania is generally lower than the turnout of e
291.
▲
by
arkh
2y ago
> massive influence among the 13-28 demographic So not really the people who vote.
292.
▲
by
arkh
2y ago
> provide “data APIs” to data teams I feel like I'm reading part of Data Mesh again.
293.
▲
by
arkh
2y ago
One field? Like people have only one name... I like the Human Name from the FHIR standard: https://hl7.org/fhir/datatypes.html#HumanName People can have many names (depending on usage and of "when", think abo
294.
▲
by
arkh
2y ago
You sanitize at the frontier of what your code controls. Sending data to a database: parametrized queries to sanitize as it is leaving your control. Sending to display to the user: sanitized for a browser Sending to an API: sanitize for wha
295.
▲
by
arkh
2y ago
So, my current experience somewhere most old apps are very old school: - most server software is waaaaaaay out of date so getting a dev / test env is a little harder (like last problem we got was the HAproxy version does not do ECDA ke
296.
▲
by
arkh
2y ago
The thing is, in interpreted languages land print debugging has a power no debugger gives you: live debugging on your production instance. Something is broken in prod, you cannot reproduce it in your test environment because you think it ma
297.
▲
by
arkh
2y ago
> Many languages, such as PHP, don't have native functions for parsing cookies, which makes it somewhat difficult to definitively say what it allows and does not allow. What? Parse a cookie with http://php.adamharvey.name
298.
▲
by
arkh
2y ago
Or if they could follow Godot syntax: https://docs.godotengine.org/en/stable/tutorials/scripting/g... var milliseconds: int = 0 var seconds: int: get: return milliseconds / 1000 set(value):
299.
▲
by
arkh
2y ago
> Object API for BCMath Really good thing when doing some operations on monetary values. No need to use bc_* functions anymore it seems.
300.
▲
by
arkh
2y ago
You may want to use the $$ way to declare strings for your examples. Something like: -- Create a todo for "frectonz" UPDATE people SET database = execute_sqlite( database, $sqlite$INSERT INTO todos VALUES ('solve m
More ›