Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
91.
▲
by
gens
9y ago
You did not address the actual points i made. >Ragel is still better then a generic programming language for writing parsers, by a long shot. >That said, THIS ARTICLE DOES NOT SAY ANYTHING ABOUT HOW TO ACTUALLY WRITE A PARSER ! And, i
92.
▲
by
gens
9y ago
How about using a parser generator ? Yacc, ragel, bison, etc[0] ? Nooooo, we have to use rust, because we are not "2017" if we don't. [0] https://en.wikipedia.org/wiki/Comparison_of_parser_generator...
93.
▲
by
gens
9y ago
> Congrats on your "stuff" degree. "Technician for electro-machinery", but it doesn't matter since we all learn mostly the same "stuff" (i guess i get a bonus on generators, +5 to inductor calculating a
94.
▲
by
gens
9y ago
That the model is useless for anyone actually wanting to do something about carbon emissions (or about anything really). If you told a senior engineer of a power company that you want to reduce carbon emissions by/to some value, they w
95.
▲
by
gens
9y ago
No, it's tied to systemd. That was one of the big reasons behind systemd adoption in the first place.
96.
▲
by
gens
9y ago
To try and give a slightly better answer then others, without complicating too much. My thought it is because they use the default shaders (and/or the artists do glossy too much). That said.. Most, if not all, modern big engines use
97.
▲
by
gens
9y ago
Whoever is using it to make said decisions.
98.
▲
by
gens
9y ago
I have something against dbus. Bout the protocol and the implementation are very much over-engineered. The protocol at least has an excuse. In the desktop things, that wayland aims to do, dbus is useless. (actually i don't know what it
99.
▲
by
gens
9y ago
Not on my computer. Something like a WM will freeze while it waits in queue to read those 0.2kB it needs of the disk (poor software design, if you ask me). But the mouse will freeze when IO buffers get filled. Just writing a huge file to a
100.
▲
by
gens
9y ago
Here you go, a good talk about pdf. https://media.ccc.de/v/27c3-4221-en-omg_wtf_pdf
101.
▲
by
gens
9y ago
How about gnuplot ?
102.
▲
by
gens
9y ago
I have been playing with making a player to learn a few audio decoding libraries. Using dr_flac, LAME, and nuklear for the gui I made a simple player. It turned out to be extremely efficient (cpu-wise, memory is the next step). Nuklear, the
103.
▲
by
gens
9y ago
>You may find calls to functions from the standard library to be converted in surprising ways, while touching undefined behavior can eliminate evaluations, branches, function calls and more. Yes, things like memcpy and printf are (in mos
104.
▲
by
gens
9y ago
https://docs.rs/bitflags/0.9.1/bitflags/ vs https://www.tutorialspoint.com/cprogramming/c_bit_fields.htm But i give up, as this isn't a technical discussion.
105.
▲
by
gens
9y ago
>What does "native" mean, built into the language? Why does it matter? I don't know how that macro works, but in kernel C bitfields are used in structs that map to device registers (that are mapped to memory). >I suspec
106.
▲
by
gens
9y ago
> https://crates.io/crates/bitflags Not native, see C. >Rust's raw pointers have equivalent power to C's pointers. Again, AFAIK you can't do type punning. That wasn't even my point, that was th
107.
▲
by
gens
9y ago
C is not only better for performance, but also because you simply can not do some things in most other languages. Rust lacks bitfields, for one. But the bigger thing are pointers. AFAIK you can not do type punning in rust, and i don't
108.
▲
Communicating Sequential Processes
(usingcsp.com)
1 points
by
gens
9y ago
|
0 comments
109.
▲
by
gens
9y ago
Obligatory CSP[0] reference. There are only a handful of examples, that i can think of, where threading(multiprocessing, concurrency, and other names for it) is useful. [0] http://www.usingcsp.com/
110.
▲
by
gens
9y ago
> Why would they care? Because it is their job.
111.
▲
by
gens
9y ago
Sure. https://www.youtube.com/watch?v=MEYCU62yeYk and the mentioned paper i assume is https://ioactive.com/pdfs/IOActive_Remote_Car_Hacking.pdf
112.
▲
by
gens
9y ago
It was a long time ago and i did do more of the heavier construction then stuff like painting. Biggest thing i learned from doing things quickly is where precision matters and where not. For example if i'm painting the ceiling it doesn
113.
▲
by
gens
9y ago
My 2 moneys. I worked in construction a while ago. I was always slow, pedantic, and the work i did usually reflected that (usually, some things benefit from being done fast). Everybody kept telling me that i was slow so one day i said "
114.
▲
by
gens
9y ago
>( https://twitter.com/nmsanchez/status/870811022306574336 ) I usually hate doing this, but hey. From that twitter: >OG tech diversifier. GitHubber. Lecturer, UC Berkeley Haas School of Business. And her githu
115.
▲
by
gens
9y ago
There are many amazing GNU projects. Just yesterday I found out about GNU radio. I also remember reading the initial commit for Gneural and thinking "wow, this code is really nice". I think GNU deserves much more support then it&#
116.
▲
by
gens
9y ago
I don't know what they use. I do know that you can use the proc events over "connector" to get all the forks and execs. That is how I would do it.
117.
▲
by
gens
9y ago
In my experience. In Croatia you have to be very much in pain to be prescribed opioids. The strongest pain killer i got is Voltaren, for toothache. A friend got opium, or some derivative of, when he got chopped up because of cancer (same go
118.
▲
by
gens
9y ago
It is hard (read expensive) to go under 14nm. Sophie Wilson talks about it much better then i could. https://www.youtube.com/watch?v=_9mzmvhwMqw
119.
▲
by
gens
9y ago
Tangents: Vacuum tubes can work a very long time without breaking, if they are never turned off. Wankel engines have less moving parts then piston engines and can last longer because of it. Problem with Wankel engines is that they need heat
120.
▲
by
gens
9y ago
IANA sold the blocks. There are still a lot of unused IPv4 addresses. IANA sold the blocks. PS IPv6 sucks.
More ›