Viewing profile — infraruby
infraruby
HN member- Joined
- Fri, Mar 14, 2014, 5:59 AM UTC
- HN karma
- 94
- Public activity
- 73 items
- HN profile
- View on Hacker News ↗
About infraruby
Recent public activity
-
comment
Comment #17166123
Binoculars.
-
comment
Comment #14924991
> I'm describing the CBC padding oracle attack. Ah! Wouldn't that be "attackers can replace an original ciphertext with two chosen blocks"? > I'm surprised this is the thing you wa…
-
comment
Comment #14924412
> You could "weaken" a protocol so that attackers can replace an original plaintext with 16 uniform random bits. If the protocol is using CBC mode, you've allowed attackers to reco…
-
comment
Comment #14924303
More details here: https://news.ycombinator.com/item?id=10898947
- story
-
comment
Comment #12161670
For a program without recursive calls the students can get away with believing that local variables are statically allocated, but for a program with recursive calls the students mu…
-
comment
Comment #11630966
Yes: def f(n = 16) n end p f # => 16 p f(nil) # => nil
-
comment
Comment #11628608
The caller may pass nil explicitly.
-
comment
Comment #11627989
require "securerandom" module SecureRandom F = File.open("/dev/urandom") def self.random_bytes(n = nil) F.read(n || 16) end end
- story
-
comment
Comment #10962849
InfraRuby is a statically-typed Ruby (compiles to the JVM). InfraRuby code runs on Ruby interpreters without modification: http://infraruby.com/blog/why-infraruby
-
comment
Comment #10756414
> Plus a number of other things according to the article. Yes, combining methods works even better! It's far from saying that the best way is "to just talk to them".
-
comment
Comment #10756213
> I can see this being misinterperted badly in the field of software engineering (it doesn't seem specific to software) Would you prefer Google's take on it? http://www.wired.com/2…
-
comment
Comment #10756006
> I still think the best way to interview a programmer is to just talk to them. You're wrong: http://www.ioatwork.com/selection-methods-almost-a-century-o...
-
comment
Comment #10755851
> I want the candidate to plan Then ask for that, and assess the plan, otherwise you're expecting Carnac the Magnificent: http://raganwald.com/2015/05/08/carnac-the-magnificent.htm…
- story
-
comment
Comment #10541831
> The research article you linked confirmed that job experience (years in a similar job) has positive predictive validity for job performance. Job performance does improve with exp…
-
comment
Comment #10536451
That's a whole lot of speculation! Fortunately, there is a better way: http://www.ioatwork.com/selection-methods-almost-a-century-o... EDIT: but to answer your question: > How abou…
-
comment
Comment #10535965
> Why don't you think that employment history predicts job performance? Because empiricism: https://signalvnoise.com/posts/833-years-of-irrelevance > Which group will have better a…
-
comment
Comment #10534563
> They don't have to but an employer is probably going to want to know. ... and so they do have to. It's regrettable, because employment history (gaps or no gaps) does not predict …
-
comment
Comment #10534107
> Explaining a gap in your resume is a reasonable thing for people to do when applying for a job. But why should people have to do that?
- story
-
comment
Comment #10476916
BTW, the fourth amendment contains the mother of all exceptions: " unreasonable searches and seizures"
-
comment
Comment #10476912
> Sure, but that doesn't make it so, unless you're one of those folks who holds that Constitutionality is based on the courts' opinion by definition. That's been how it works in pr…
-
comment
Comment #10473924
"U.S. Supreme Court Chief Justice Roger Taney, sitting as a federal circuit court judge, ruled that the authority to suspend habeas corpus lay exclusively with Congress. Saying tha…