Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wsargent
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
wsargent
6y ago
That depends on where the ringbuffer is placed. If you're placing the ringbuffer inside an appender, then the appender's encoder will format. However, if the ringbuffer itself is an appender, then you can store the logging events
32.
▲
by
wsargent
6y ago
Ideally the data should be filtered before it gets to logging in the first place, but if not, you can add another layer of defense by employing censors: https://tersesystems.github.io/terse-logback/guide/censor&#x
33.
▲
by
wsargent
6y ago
>> use a rate limiting logger with expiring delay > Hmm, any examples of this? https://tersesystems.github.io/terse-logback/guide/budget/
34.
▲
by
wsargent
6y ago
> To put that another way, you might not know at the time whether your function is going to be invoked from a high-throughput loop. > Is there a nice solution to this problem? There's two ways to do it from within the logging fra
35.
▲
Show HN: Blindsight, a Scala Logging API
4 points
by
wsargent
6y ago
|
0 comments
36.
▲
Show HN: Logging in Java with Diagnostic Backtraces
2 points
by
wsargent
7y ago
|
0 comments
37.
▲
Targeted Diagnostic Logging in Production
(tersesystems.com)
2 points
by
wsargent
7y ago
|
0 comments
38.
▲
by
wsargent
7y ago
Started using this yesterday, with the X410 X11 install. The nicest thing has to be running IntelliJ from X11 and have it see the linux filesystem. I can run a Yubikey with weasel-pageant and get GPG signing and SSH keychain access to githu
39.
▲
Structured Logging in Logback
2 points
by
wsargent
8y ago
|
0 comments
40.
▲
Fluent Builders for JCA / JSSE
1 points
by
wsargent
8y ago
|
0 comments
41.
▲
A Guide to Capabilities in Scala
(wsargent.github.io)
1 points
by
wsargent
8y ago
|
0 comments
42.
▲
by
wsargent
9y ago
So you assume he worked this through from first principles and is thinking critically and has checked his sources... because he works (well, worked) at Google? I can tell you that the norm among engineers, even at Google, is to receive lore
43.
▲
by
wsargent
9y ago
Also, the larger problem with debunking is that it just doesn't work all that well. It's like arguing with an antivaxxer -- they may ask for logical discussion but it has no effect. Ultimately, what convinces them is social pres
44.
▲
by
wsargent
9y ago
> I'm not going to read two books just to figure out some google guy's 10 page memo - call me lazy but perhaps nobody is going to read two books just for that purpose. Well, if it's any consolation, I wouldn't read it
45.
▲
by
wsargent
9y ago
I don't know that there's a debunking of the thesis, because there's nothing very original in there -- it's repeats and retreads of other things that have been debunked over and over, so it all merges into a mashed up me
46.
▲
by
wsargent
9y ago
Fair enough -- I was actually thinking of https://github.com/wsargent/docker-cheat-sheet/blame/master/... but that's a fair counterexample.
47.
▲
by
wsargent
9y ago
You can use an agent to disable the security manager disabling. :-) https://tersesystems.com/2016/01/19/redefining-java-dot-lang...
48.
▲
by
wsargent
9y ago
Check the blame log. That section's all me.
49.
▲
by
wsargent
9y ago
I put together a list of security tips: https://github.com/wsargent/docker-cheat-sheet#security-tips Probably the biggest one is to use Virtualbox or another virtual machine so that Docker isn't your only line of
50.
▲
by
wsargent
9y ago
Hi, I'm on the Play team. We've got a number of Play maintained example projects that show how you can configure different projects: https://playframework.com/download#examples Should save you some time if you&#x
51.
▲
by
wsargent
9y ago
I really like jhalterman's failsafe library. Exponential backoff, jitter, circuit breaker support, etc. https://github.com/jhalterman/failsafe
52.
▲
by
wsargent
9y ago
Hi, I'm on the Play team. We've got a number of projects showing compile time injection: Java compile time DI: https://github.com/playframework/play-java-compile-di-exampl... Java compile time DI using Dagger
53.
▲
by
wsargent
10y ago
The Artima book by Odersky is the bible, and so you need that one. For reference, I like http://naildrivin5.com/scalatour although it's 2.8 rather than the current 2.12. For style guide, I'd go with Li Hiayo'
54.
▲
Making a REST API with Play
(developer.lightbend.com)
1 points
by
wsargent
10y ago
|
1 comments
55.
▲
by
wsargent
10y ago
Akka, Play and Lagom are part of the Lightbend Reactive Platform -- everything's async from the ground up, built on the JVM and Scala. The authors put together the Reactive Manifesto: https://www.lightbend.com/blog/
56.
▲
by
wsargent
11y ago
The easiest way to use thread pools in Scala is to use an ExecutionContext. Akka will let you define an ExecutionContext from a configuration file using a wrapper called a Dispatcher -- you can ramp up the parallelism-max setting for more
57.
▲
by
wsargent
11y ago
https://rnduja.github.io/2016/03/25/a_first_look_to_akka_str... is also pretty good.
58.
▲
by
wsargent
11y ago
You should check out Daniel Somerfield's talk at OWASP, "Turtles All the Way Down: Storing Secrets in the Cloud and the Data Center" https://youtu.be/OUSvv2maMYI
59.
▲
An Easy Way to Secure Java Applications
(tersesystems.com)
1 points
by
wsargent
11y ago
|
0 comments
60.
▲
by
wsargent
11y ago
You're thinking of mjpt777.
More ›