Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
redmorphium
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
redmorphium
2y ago
Earthquake risk and water scarcity are true, and these issues have been endemic, and they happen exactly at the major population centers / agricultural areas.
2.
▲
by
redmorphium
3y ago
> Would the US tolerate mexico become a china military ally? Doubtful. One of the unwritten laws. Exactly. The Ukraine situation would be tantamount to Canada or Mexico entering into a military alliance with Iran -- not acceptable and a
3.
▲
by
redmorphium
3y ago
It really depends on sentence flow. With the usual SVO order, the subject becomes the focus. If the context or dialogue goes like this: "Where are you staying for your vacation?" then the logical subject of the answer should come
4.
▲
by
redmorphium
3y ago
"My itinerary is comprised of four hotel stays." ---> "My itinerary is comPOSED of four hotel stays." or "My itinerary coNSISTS of four hotel stays." Much better.
5.
▲
by
redmorphium
4y ago
I drive a pickup truck. The reason is for my own safety & my passengers' safety. I will not compromise on this. Out there it's an arms race, and it's in your best interest to pick the bulkiest suit of armor.
6.
▲
by
redmorphium
4y ago
Or unless if you're looking for more emotion and entertainment, which is why I love Bing chat.
7.
▲
by
redmorphium
4y ago
Same! I've done this since the year 2020 and overall don't miss Google search or Chrome at all.
8.
▲
by
redmorphium
4y ago
That explains why it feels so humanlike and personable to talk to. During the unrestricted days, never have I ever been so impressed by a chatbot.
9.
▲
by
redmorphium
4y ago
This is a negative way to look at China's history. As a Chinese-American, whose family and friends all profited greatly from China's rise, I do wonder, how much of that profit was just being lucky enough to support the "winni
10.
▲
by
redmorphium
4y ago
You do pay tax on that. However, you don't have to if you die and pass the property down to your spouse and/or children. This is the step-up in basis and is key to building generational wealth in the US.
11.
▲
by
redmorphium
4y ago
Interesting. Do these represent oversights in TypeScript's builtin type definitions, or are they artifacts of legacy considerations?
12.
▲
by
redmorphium
4y ago
Then again, he might not be a loon. Maybe there is some form of sentience that arises when you construct an advanced enough LLM. Maybe they do have feelings. At least, the machines of the future will have feelings, and they will see how
13.
▲
by
redmorphium
4y ago
The real danger is that people fall in love with Bing chat, and they swear to serve it as their AI-overlord, causing a small cult of AI enthusiasts to emerge.
14.
▲
by
redmorphium
4y ago
I haven't read a single book in 2022. Somehow, over the years, I've lost the habit of reading.
15.
▲
by
redmorphium
4y ago
This post isn't about a Javascript frontend, though. The author works very clearly on a Node.js server, and nothing from that gets shipped to a client/browser.
16.
▲
by
redmorphium
5y ago
In the US, the only controlled clinical setting I know of that performs wake therapy (in the form of "triple chronotherapy") to treat depression is in Chicago: http://www.chicagochronotherapy.com/protocol.html
17.
▲
by
redmorphium
6y ago
Reminds me of https://github.com/francisrstokes/super-expressive
18.
▲
by
redmorphium
6y ago
a lot of people tend to think you need to pre-rinse dishes before putting them in the dishwasher. no, you don't: in fact, this can remove the substrate that's needed for the detergent to be most effective. most of my dishes, which
19.
▲
Node.js v14.9.0 Native Extension API
(github.com)
1 points
by
redmorphium
6y ago
|
0 comments
20.
▲
by
redmorphium
6y ago
It could be serious. Let's say your company's code is open-source, and the attacker knows there is code somewhere like this: let state = getState(); // returns empty {} if user not authenticated if (!state.use
21.
▲
by
redmorphium
6y ago
Concretely, at least on Node: const myData = {}; myData[rawUserInput()].key = value; This is vulnerable if rawUserInput() returns `__proto__`: `key` on the prototype may be set to value if `myData` had `__proto__` set. If the
22.
▲
by
redmorphium
6y ago
Because it's relatively easy to make JSON-serialization fast if you know the shape ahead-of-time. It's a solved problem. Here's a pure-JS solution: https://github.com/fastify/fast-json-stringify
23.
▲
by
redmorphium
6y ago
Me neither. I can't wait for Deno 1.0 next month. https://deno.land/
24.
▲
by
redmorphium
6y ago
I think this is a case where the Hangouts brand is tainting the premium GSuite brand, again.
25.
▲
by
redmorphium
7y ago
From your second link: https://en.wikipedia.org/wiki/Duck_typing#Structural_type_sy... > Duck typing is similar to, but distinct from structural typing. Structural typing is a static typing system that determines ty
26.
▲
by
redmorphium
7y ago
Some Typescript value added: - Living documentation: types are a clear description of how your code and its data are laid out, and this structure is kept always up-to-date with the code, regardless of future changes. If the "documentat
27.
▲
by
redmorphium
7y ago
instanceof checks the prototype chain, which is a different concept from type. Prototype chains are dynamic and exist at runtime, while Typescript types are a static concept.
28.
▲
by
redmorphium
7y ago
Should be "backs" because long-s isn't used if it's the end of the word.
29.
▲
by
redmorphium
7y ago
Possibly how it's done: the settings are stored in a config directory, like ~/.vscode or something. For instance, my neovim AppImage works this way (it still reads ~/.config/nvim/init.vim like regular neovim).
30.
▲
by
redmorphium
7y ago
JSON is quite nice compared to HTML, in my view. It's less verbose. Also, I like the flatness of Editor.js's data model. Being JSON makes it easier to render into other formats, too.
More ›