Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
infraruby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
infraruby
8y ago
Binoculars.
2.
▲
by
infraruby
9y ago
> 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 want the link for, and not
3.
▲
by
infraruby
9y ago
> 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 recover whole plaintexts. Do you have a link e
4.
▲
by
infraruby
9y ago
More details here: https://news.ycombinator.com/item?id=10898947
5.
▲
We're more antisocial in a shared office space
(theconversation.com)
3 points
by
infraruby
10y ago
|
0 comments
6.
▲
by
infraruby
10y ago
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 must understand that local variables are allocated on the stac
7.
▲
by
infraruby
10y ago
Yes: def f(n = 16) n end p f # => 16 p f(nil) # => nil
8.
▲
by
infraruby
10y ago
The caller may pass nil explicitly.
9.
▲
by
infraruby
10y ago
require "securerandom" module SecureRandom F = File.open("/dev/urandom") def self.random_bytes(n = nil) F.read(n || 16) end end
10.
▲
InfraRuby 4.0 statically typed Ruby compiler released
(infraruby.com)
24 points
by
infraruby
11y ago
|
0 comments
11.
▲
by
infraruby
11y ago
InfraRuby is a statically-typed Ruby (compiles to the JVM). InfraRuby code runs on Ruby interpreters without modification: http://infraruby.com/blog/why-infraruby
12.
▲
by
infraruby
11y ago
> 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".
13.
▲
by
infraruby
11y ago
> 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/2015/04/hire-like-goog
14.
▲
by
infraruby
11y ago
> 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...
15.
▲
by
infraruby
11y ago
> 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.html
16.
▲
The Terrifying Reality of Long-Term Unemployment (2013)
(theatlantic.com)
8 points
by
infraruby
11y ago
|
0 comments
17.
▲
by
infraruby
11y ago
> 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 experience up to a point (evidently six months), so this fac
18.
▲
by
infraruby
11y ago
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 about heart surgery? I'd prefer th
19.
▲
by
infraruby
11y ago
> 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 average job performance? The
20.
▲
by
infraruby
11y ago
> 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 job performance.
21.
▲
by
infraruby
11y ago
> 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?
22.
▲
Tweets are disappearing on Twitter
(washingtonpost.com)
3 points
by
infraruby
11y ago
|
0 comments
23.
▲
by
infraruby
11y ago
BTW, the fourth amendment contains the mother of all exceptions: " unreasonable searches and seizures"
24.
▲
by
infraruby
11y ago
> 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 practice ever since Marbury v. Madison.
25.
▲
by
infraruby
11y ago
"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 that Taney's orders were unconstitutional, President
26.
▲
by
infraruby
11y ago
$~ and friends are not global: def f p $~ # => nil "123" =~ /\w+/ p $~ # => #<MatchData "123"> end p $~ # => nil "abc" =~ /\w+/ p $~ # => #<Matc
27.
▲
by
infraruby
11y ago
Yes! Ruby language features supported by InfraRuby have the same behavior as Ruby interpreters. InfraRuby projects are created with rake tasks to run your code with either the InfraRuby runtime or Ruby interpreters. You could implement a fi
28.
▲
by
infraruby
11y ago
InfraRuby code runs in Ruby interpreters.
29.
▲
by
infraruby
11y ago
> I'm looking for something beautiful like Ruby but fast like Go. Have you tried InfraRuby? InfraRuby is a compiler and runtime for statically typed Ruby: http://infraruby.com/blog/why-infraruby
30.
▲
by
infraruby
11y ago
> How does this compare to Crystal? You can use InfraRuby code with a Ruby interpreter: http://infraruby.com/blog/why-infraruby > Tried to figure out what InfraRuby compiles to, but no avail. Sorry, that should b
More ›