V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  leconio  ›  全部回复第 1 页 / 共 16 页
回复总数  312
1  2  3  4  5  6  7  8  9  10 ... 16  
太阳活动异常,地球磁场消失,对太阳辐射和宇宙射线防护变弱,然后现存的消失。。。我们生存环境好脆弱。
安卓好像没有能激发亮度的 HDR
写写画画,看看奈飞,iPad 好很多
对于开发者,安卓生态圈要好很多
geosite 抄下最新的地址
支付宝我记得欠费也可以冲
8 天前
回复了 lurui45 创建的主题 生活 关于日常药店买药的一些想法
药店刷社保,感觉像零元购,(其实那也是工资一部分呀)
8 天前
回复了 xiaopanzi 创建的主题 NAS 群晖远程唤醒方案
或者买个开机棒,那个就是发魔法包的
8 天前
回复了 xiaopanzi 创建的主题 NAS 群晖远程唤醒方案
使用场景是啥,群晖一直开着不就行了吗。我的 220 开一次机要好久好久。
8 天前
回复了 Lucoie 创建的主题 拼车 求 iCloud 拼车,有无 music 都可
我在这家买的,用了一年了,挺稳的。发个链接。https://nf.video/suJDp
8 天前
回复了 Bateman 创建的主题 问与答 哪有便宜的黄油和芝士卖?
lsp 们可以出去了,OP 正经问的。
10 天前
回复了 waiaan 创建的主题 JavaScript 这段 if...else 有优雅的写法吗?
const sortStrategies = {
descending: (prop) => (a, b) => b[prop] - a[prop],
ascending: (prop) => (a, b) => a[prop] - b[prop]
};

const sortCommands = {
thisYearIncome: {
descending: () => sortStrategies.descending('thisYearIncome'),
ascending: () => sortStrategies.ascending('thisYearIncome')
},
lastYearIncome: {
descending: () => sortStrategies.descending('lastYearIncome'),
ascending: () => sortStrategies.ascending('lastYearIncome')
},
rate: {
descending: () => sortStrategies.descending('rate'),
ascending: () => sortStrategies.ascending('rate')
}
};

function createSortCommand(order, prop) {
return sortCommands[prop][order]();
}

const data = [
{ thisYearIncome: 5000, lastYearIncome: 4000, rate: 0.25 },
{ thisYearIncome: 8000, lastYearIncome: 6000, rate: 0.33 },
{ thisYearIncome: 3000, lastYearIncome: 2000, rate: 0.5 },
{ thisYearIncome: 6000, lastYearIncome: 5000, rate: 0.2 }
];

function onSortChange(order, prop) {
const sortCommand = createSortCommand(order, prop);
fetchData(sortCommand);
}

function fetchData(sortCommand) {
const sortedData = data.sort(sortCommand);

console.log('Sorted Data:');
sortedData.forEach((item) => {
console.log(`This Year Income: ${item.thisYearIncome}, Last Year Income: ${item.lastYearIncome}, Rate: ${item.rate}`);
});
}

console.log('Sorting by This Year Income (Descending):');
onSortChange('descending', 'thisYearIncome');

console.log('\nSorting by Last Year Income (Ascending):');
onSortChange('ascending', 'lastYearIncome');

console.log('\nSorting by Rate (Descending):');
onSortChange('descending', 'rate');
这文笔,不去写本子可惜了
11 天前
回复了 UIXX 创建的主题 问与答 2024 年中买什么平板好
生态上还是 iPad 好。我串流游戏狗选择联想 y700 。
对 HDR 有要求无脑 iPad 吧,安卓调色都怪怪的
11 天前
回复了 ixoy 创建的主题 分享发现 警惕!逛会展被诈骗了
在深圳?有点不敢相信,打 12345 让他们跟进,要求主办方假 1 赔 10 。
14 天前
回复了 sbldehanhan 创建的主题 MacBook Pro 哪款 Macbook 可以跑 UE 引擎?
这两家不是还有官司吗,ue 很多特性都不在 mac 上的吧,学习的话就随便了。
也建议出保就换车。
干式双离合老毛病了,dp200 最好不要碰吧。除非你在乡镇或者地广人稀地方开车。我有个同事,在深圳开 dq200 ,保内换了 3 个离合,出保就换车了。
16 天前
回复了 llxe2v 创建的主题 硬件 铭凡 amd mini 主机外接 nvidia 显卡?
1 年前,minisforum 的 um773 的 USB4 外接显卡好像有点问题,有概率识别不了。不清楚现在变好了没有
16 天前
回复了 david101 创建的主题 汽车 驾照到手,买车大家帮忙推荐
@jacksonj297 你说的是豪华车,不是专车。比亚迪汉级别的
需要分发的话一年 688 ,跑到设备上就注册个账号就行了吧
1  2  3  4  5  6  7  8  9  10 ... 16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5499 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 40ms · UTC 05:54 · PVG 13:54 · LAX 22:54 · JFK 01:54
Developed with CodeLauncher
♥ Do have faith in what you're doing.