从机械转学计算机

一位从零基础转向计算机科学的学生分享了他的学习经历,包括正在上的课程如C++、OpenGL等,计划学习的课程如算法、数据结构及Java等,以及通过斯坦福大学的在线课程学习Python的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本科期间的计算机基础可以说基本为零。转计算机自然是有很多活需要干了。


上课:目前在上c++, c, opengl和计算机系统的课,对c和c++的熟练度在慢慢提升。 我这种半路出家的和cs科班出身的最难拼的大概就是编程语言的熟练度了。

ics是一门神奇的课程,从二进制位运算(data lab)到汇编(bomb lab)到栈溢出(buffer lab)到缓存(cache lab性能实验)以及刚交上去的shell lab到目前正在编写的malloc lab,都太特么超凡脱俗的感觉了。。。。

打算后面选算法,数据结构的课程,再选一门java, 一门machine learning,其余还没想好,大概computer graphics深入学学opengl, opencv啥的


自学:目前在学斯坦福的cs101网络课程,抛个地址https://www.udacity.com/course/cs101。零基础开始讲python。

之所以上这个课是因为学校里的c/c++课都默认学生已经有一定程度的熟练度了。所以我刚开始吃力了一段时间。虽然现在还算比较熟了,可总感觉没有系统地从最基础地原理学起比较不踏实。目前很多学校都把python列为cs系学生入门语言,语法简单,相对于应用比较基础的c语言使用起来超级方便。而且各种计算机语言和拉丁语系的语言一样都是融汇贯通的,在学习python的过程中也不断惊奇地弄懂了一些基本地现象,更深入理解了c。顺便说一句,本来超级想继续学西班牙语,法语,再上点意大利语等相近的语言,可是发现:1。学校的语言课程强度之大真的很难hold住 2.其实学这些感觉从现实角度出发没多大用完全是兴趣为然 3.专业课已经搞得人很崩溃了,而且在学期间理应抓紧机会多学些计算机系统等相关东西,计算机语言可以工作后慢慢练习,自学,可是好些基础得东西还是要系统学习为好啊


打算上完这个课在下学期开学前自学下java。。。。免得一开学各种崩溃。。。


就业:刷算法题。不过得先上了些基础课心中有个大概得框架概念开始刷更合理吧


ps。之所以转计算机原因有四: 1.认为机械无聊透顶 2. 目前觉得计算机非常有意思,入门容易,而值得探究的也无穷无尽 3.博主喜欢数学,而深恶痛绝物理,当年为啥选择机械至今不明 4.cs在美帝好找工作

D:\workview\box1\.venv\Scripts\python.exe "D:\workview\box1\专业 - 年级分布桑基图与堆叠柱状图.py" Traceback (most recent call last): File "D:\workview\box1\专业 - 年级分布桑基图与堆叠柱状图.py", line 132, in <module> plot_major_sankey() File "D:\workview\box1\专业 - 年级分布桑基图与堆叠柱状图.py", line 54, in plot_major_sankey fig = go.Figure(go.Sankey( ^^^^^^^^^^ File "D:\workview\box1\.venv\Lib\site-packages\plotly\graph_objs\_sankey.py", line 955, in __init__ self._set_property("node", arg, node) File "D:\workview\box1\.venv\Lib\site-packages\plotly\basedatatypes.py", line 4422, in _set_property _set_property_provided_value(self, name, arg, provided) File "D:\workview\box1\.venv\Lib\site-packages\plotly\basedatatypes.py", line 398, in _set_property_provided_value obj[name] = val ~~~^^^^^^ File "D:\workview\box1\.venv\Lib\site-packages\plotly\basedatatypes.py", line 4944, in __setitem__ self._set_compound_prop(prop, value) File "D:\workview\box1\.venv\Lib\site-packages\plotly\basedatatypes.py", line 5355, in _set_compound_prop val = validator.validate_coerce(val, skip_invalid=self._skip_invalid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\workview\box1\.venv\Lib\site-packages\_plotly_utils\basevalidators.py", line 2489, in validate_coerce v = self.data_class(v, skip_invalid=skip_invalid, _validate=_validate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\workview\box1\.venv\Lib\site-packages\plotly\graph_objs\sankey\_node.py", line 684, in __init__ self._process_kwargs(**dict(arg, **kwargs)) File "D:\workview\box1\.venv\Lib\site-packages\plotly\basedatatypes.py", line 4470, in _process_kwargs raise err ValueError: Invalid property specified for object of type plotly.graph_objs.sankey.Node: 'font' Did you mean "line"? Valid properties: align Sets the alignment method used to position the nodes along the horizontal axis. color Sets the `node` color. It can be a single value, or an array for specifying color for each `node`. If `node.color` is omitted, then the default `Plotly` color palette will be cycled through to have a variety of colors. These defaults are not fully opaque, to allow some visibility of what is beneath the node. colorsrc Sets the source reference on Chart Studio Cloud for `color`. customdata Assigns extra data to each node. customdatasrc Sets the source reference on Chart Studio Cloud for `customdata`. groups Groups of nodes. Each group is defined by an array with the indices of the nodes it contains. Multiple groups can be specified. hoverinfo Determines which trace information appear when hovering nodes. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. hoverlabel :class:`plotly.graph_objects.sankey.node.Hoverlabel` instance or dict with compatible properties hovertemplate Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, "xother" will be added to those with different x positions from the first point. An underscore before or after "(x|y)other" will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time- format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event- data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Variables `sourceLinks` and `targetLinks` are arrays of link objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>". To hide the secondary box completely, use an empty tag `<extra></extra>`. hovertemplatesrc Sets the source reference on Chart Studio Cloud for `hovertemplate`. label The shown name of the node. labelsrc Sets the source reference on Chart Studio Cloud for `label`. line :class:`plotly.graph_objects.sankey.node.Line` instance or dict with compatible properties pad Sets the padding (in px) between the `nodes`. thickness Sets the thickness (in px) of the `nodes`. x The normalized horizontal position of the node. xsrc Sets the source reference on Chart Studio Cloud for `x`. y The normalized vertical position of the node. ysrc Sets the source reference on Chart Studio Cloud for `y`. Did you mean "line"? Bad property path: font ^^^^ 进程已结束,退出代码为 1
最新发布
06-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值