Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sbergot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
241.
▲
by
sbergot
8y ago
How do you rollback a DB schema change?
242.
▲
by
sbergot
8y ago
Currently the markdown macro kills itself when you try to use it. You have to clear your browser localstorage to recover (from the console error it seems to contain a malformed json).
243.
▲
by
sbergot
8y ago
Thanks for the link. The presentation is great!
244.
▲
by
sbergot
8y ago
My interpretation is that a junior should not expected to be good at office politics.
245.
▲
by
sbergot
8y ago
Surely you can implement your security rules this way. But for most people CORS are a cheaper way to enable cross origin requests. And clueless people are stuck with same origin policy which secure by default.
246.
▲
by
sbergot
8y ago
Then it means that a service is vulnerable by default unless it implements the list of allowed origins. With CORS if there are no headers then it means no authorization.
247.
▲
by
sbergot
8y ago
You are talking about the Origin header set by the browser that you don't trust?
248.
▲
by
sbergot
8y ago
CORS are about browser security. A browser can have terrible security in lots of ways (allowing JavaScript to access http only cookies, etc). In this case you have a bad browser and you should not use it. But you can still use IE, edge, chr
249.
▲
by
sbergot
8y ago
This is not entirely true. The preflight's role is exactly to prevent a post request to be sent to the server. There is no preflight only in particular cases.
250.
▲
by
sbergot
8y ago
Good for you if this stance helps you. But ultimately the world is more complex. Do you judge a given country population by the act of their leader? Because you have no reason to care how a given country divide its stuff. If a country does
251.
▲
by
sbergot
8y ago
I don't know. Some of my friends are die hard fans. I really liked la vie devant soi and adieu Gary Cooper.
252.
▲
by
sbergot
9y ago
I believe that in order to grow strong enough programming skills, one has to have strong enough analytical skills. Those can also be learned but are much more of a personality trait. As for notebook being wysiwyg, I also disagree. That woul
253.
▲
by
sbergot
9y ago
I strongly disagree with this prediction. That may be true for some lines of work where people have a strong technical background and uses a specific set of applications all the time (such as scientific computing). In all other cases, gui w
254.
▲
by
sbergot
9y ago
I hope you realize that in the silicium industry scale has a huge impact on price. Unless an open processor sells as much as an Intel or AMD model, it will certainly cost more.
255.
▲
by
sbergot
9y ago
https://kotaku.com/final-fantasy-vii-player-hits-level-99-in...
256.
▲
by
sbergot
9y ago
> every day at midnight for 10 minutes is fine No it is not. Coinbase has clients all over the globe. It is always regular trading hours.
257.
▲
by
sbergot
9y ago
Project Euler is nice for math problems. It has little real world value for developers. The first ones can be a nice hands on introduction to problem solving.
258.
▲
by
sbergot
9y ago
Not that in mutable languages == can either mean storage equality or value equality. In immutable languages there is only value equality.
259.
▲
by
sbergot
9y ago
Webpack is anything but future proof when you start importing css or any non js resource. If you do that you are effectively stuck with webpack and it becomes a framework rather than a tool.
260.
▲
by
sbergot
9y ago
In the case of a keyboard focused UI (such as the zulip example) I would agree with this post. But with a mouse UI my actions tend to always rely on my eyes feedback. I don't think that I have ever been bitten by a mouse UI modificatio
261.
▲
by
sbergot
9y ago
In some situations unit tests with lots of mocks will bring a negative value. Imagine a situation where you want to refactor a big piece of code with many dependencies but you don't want to change its public interface. If you mock ever
262.
▲
by
sbergot
9y ago
I don't always keep forever tracks found on discover weekly, but I usually enjoy most songs that are on it when I am in the mood for new things.
263.
▲
by
sbergot
9y ago
This an interesting article about medical processes: https://www.newyorker.com/magazine/2007/12/10/the-checklist The gist of it is that introducing a checklist for bloodline infection prevention had an e
264.
▲
by
sbergot
9y ago
Saw one of those in a vb.net shop. It went that way: - someone creates a function to do something on a business concept that was not materialized by a class. Think of a bunch (~ 8) of properties that belong together but for some bad reason
265.
▲
by
sbergot
9y ago
A lisp macro see a code block as a tree of symbols/primitives. It can do anything. This means that it is easy to write a library with a nice dsl, but hard to read other people's code.
266.
▲
by
sbergot
9y ago
It is "npmless" ;-)
267.
▲
by
sbergot
9y ago
The numworks code can be found here: https://github.com/numworks/epsilon.git The hardware used is described extensively on their website: https://www.numworks.com/resources/engineering/hardwar
268.
▲
Numworks: The graphing calculator that makes learning math easier
(numworks.com)
4 points
by
sbergot
9y ago
|
1 comments
269.
▲
by
sbergot
9y ago
I hate to be that guy but you are confusing simplicity and familiarity. > I can't remember a time when I couldn't easily grasp any of Qt, Gtk, whateverTk toolkits in few hours When I tried those things, I had a hard time making
270.
▲
by
sbergot
9y ago
For a long time there was no free option to validate json schema with the latest norm.
More ›