Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
markus2012
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
markus2012
10y ago
If you follow the best practices for using Cargo you don't have a Cargo.lock file for libraries. This means your library tests will not be deterministic. Using the Cargo.lock file for libraries does solve this, but then every binary pa
2.
▲
by
markus2012
10y ago
Well, now you can do that in Cargo as well :-) What we do currently is we lock everything to an explicit version - even libraries. At least it's possible to get deterministic builds if you are willing to do a bit of work carefully 
3.
▲
by
markus2012
10y ago
I built myself a setup like this a few years ago. Everything about it seemed glorious - but I soon started having trouble with the back of my head. I never noticed how heavy my head was before. I started to have dizziness problems because o
4.
▲
by
markus2012
10y ago
I haven't read anywhere that they failed. Isn't the timeline: - Akamai mitigates attack just fine - After the attack is over, Akamai does the cost/benefit analysis and decides to stop providing the free service.
5.
▲
by
markus2012
10y ago
The first day in radar class the instructor put a piece of steel wool in front of a small dish and it instantly melted white and dropped molten metal onto the floor. It always made me nervous when the class goofballs turned the horns on oth
6.
▲
by
markus2012
10y ago
I think it's an inside joke: 2 people bet each other a dollar they could take a fundamentally simple concept and wax poetic insanity around it until the text was so insane no one could actually read through it - so people just shrug, w
7.
▲
by
markus2012
10y ago
Amazing Rust announcements (core and third party) have been coming in constantly for quite a while now. So much win.
8.
▲
by
markus2012
10y ago
Yeah, I can't help but feel like I'm just 'walking the spreadsheet'. I do find helping my kids to 'save the world' is still enjoyable! Losing to my 12 y/o daughter at Rocket League (seriously trying my har
9.
▲
by
markus2012
10y ago
As part of a recent project I had to: - build an AST from a large and complicated DSL - transform the AST into something that could be compiled into a DSO. I chose to write both parts in Rust. Fwiw the semantics of the language really didn&
10.
▲
by
markus2012
10y ago
Your 8-bit adder will have to wait ~225 CLKs (possibly x 2) to get the data it needs to add. Add a ton of transistors to intelligently prefetch and cache will in some cases decrease those 225 CLKs. A great deal of transistors are added to c
11.
▲
by
markus2012
10y ago
Where I work client auth is used for a good (and growing) number of internal services. Client auth is simple to use - our internal services are given the username from the CN, which they use to perform authorization checks. For a lot of sim
12.
▲
by
markus2012
10y ago
I'm just now completing a rather large event-driven system in Rust. It's also callback-based and has to interoperate with C. I do struggle with the ownership rules sometimes but it's pretty much always because I'm clashi
13.
▲
by
markus2012
10y ago
I quit doing the survey when I read the color question. If you had worded it something like, 'do you feel welcome' I would have answered (yes) and kept going.
14.
▲
by
markus2012
10y ago
So... build more detectors and pinpoint the direction the gravity wave is coming from?
15.
▲
by
markus2012
10y ago
Memory is terribly expensive and I have to fight all of the other developers/product folks/upper management for every byte in my environment (hundreds of thousands of servers). I have no choice but to use DSOs for our Rust code.
16.
▲
by
markus2012
10y ago
I wonder if times are changing again. It just seems that meeting vendors or walking down the street for resistor strips is no longer necessary. Rationale: you now just need to bulk order the raw materials / components and "feed th
17.
▲
by
markus2012
10y ago
Incredibly impressive! I solved this. The center required all of my soldiers to be maxed out, and all of them carrying lasers. Iirc... it feels like several lifetimes ago... I'd give it a go but after moving about 15 times there's
18.
▲
by
markus2012
11y ago
What about for using it as a headless browser with javascript and Rust manipulation of the DOM? We have a http proxy that would like to analyze html responses and rewrite parts of the page. Is servo ready for that or should we use something
19.
▲
by
markus2012
11y ago
I've always felt that if I had done all of my calculus with Mathematica I would have left college with an excellent grasp on how to use higher level functions provided by Mathematica that would have largely abstracted away all of this.
20.
▲
by
markus2012
11y ago
I randomly lie about my gender, age, and anything that could be used to identify me. I learned this from others, and have also encourage my spouse/children/etc. to do the same (which they seem to do). There is no compelling reason
21.
▲
by
markus2012
11y ago
Related: we're wondering how to use Rust because currently all non-Rust dependencies in our org are pulled from: - corporate source code control systems - corporate central repositories - caching/proxying immutable repositories Th
22.
▲
by
markus2012
11y ago
Ok, just to summarize: foo(some_struct) == memcpy() for both copy and move. foo(&some_struct) == copy usize ref/pointer value onto stack So, mostly the same as C++. The exception is that Rust can use a ref under the hood for foo(so
23.
▲
by
markus2012
11y ago
Here's something I find confusing about Rust references/borrowing. Please correct me: The '&' character does not seem to mean 'pass by reference' ala C++ - it simply means borrow. Put another way, using &#x
24.
▲
by
markus2012
11y ago
I completely agree. unwrap() is a huge mistake in Rust. There are brilliant ideas implemented in Rust (primarily the borrow checker) but their advantages seem to be wiped out by the kludge of unwrap.
25.
▲
by
markus2012
11y ago
What bout HSAIL / LLVM: https://github.com/HSAFoundation/HLC-HSAIL-Development-LLVM (HSA Intermediate Language LLVM support) It would seem an IR is already available and it's already integrated on an existing
26.
▲
by
markus2012
11y ago
It seems AMD's Kaveri CPU implements HSA. Some HSA benchmarks from AnandTech: http://www.tomshardware.com/reviews/amd-a10-7800-kaveri-apu-... Note: the tests seem to use OpenCL and while they mention, "Lookin
27.
▲
by
markus2012
11y ago
Completely disagree.
28.
▲
by
markus2012
11y ago
What helps today is skipping the translation phase (syntax checking only) using rustc -Z no-trans. This makes the edit/fix syntax cycle 20x faster. A way to configure this in vim: https://www.reddit.com/r/rust/
29.
▲
by
markus2012
11y ago
bug? - (click) Clean text using regular expression - Load external lib: https://vega.github.io/datalib/datalib.min.js - Impossible (because there is no 'load external lib' functionality)
30.
▲
by
markus2012
11y ago
I have also switched to Rust for backend work. I'm using Iron instead of Nickel. Not sure who will become more popular over time... Because of the language (no null, bounds checking, option/result types, etc.) and borrow checker I
More ›