- Blog - When to use parallel streams?
- Blog - Sequential vs Parallel vs Concurrent
- Blog - Nested Parallel Streams more concurrency less performance
- Blob - Why your parallel stream might not be parallel at all
- Blog - Synchronous vs Asynchronous
- Blog - Virtual thread with Spring boot
- Video - Java 24 Stops Pinning Virtual Threads (Almost) - Inside Java Newscast #80
- [Blog - Netflix blog: Dude where's my lock?](https://netflixtechblog.com/java-21-virt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package br.com.zup.edu.app2.xxx.samples.aws.sqs; | |
| import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.Customer; | |
| import br.com.zup.edu.app2.xxx.samples.aws.sqs.model.CustomerRepository; | |
| import io.awspring.cloud.messaging.listener.SqsMessageDeletionPolicy; | |
| import io.awspring.cloud.messaging.listener.annotation.SqsListener; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; | |
| import org.springframework.messaging.handler.annotation.Header; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sunrun.fi.ingestion.input | |
| import java.io.ByteArrayOutputStream | |
| import java.nio.file.Paths | |
| import java.util.zip.ZipInputStream | |
| interface Step<I, O> { | |
| fun process(input : I) : O | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.sunrun.fi.ingestion.input | |
| import java.io.ByteArrayOutputStream | |
| import java.nio.file.Paths | |
| import java.util.zip.ZipInputStream | |
| interface Step<I, O> { | |
| fun process(input : I) : O | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| functions: | |
| hello: | |
| handler: handler.hello | |
| events: | |
| - http: | |
| path: users | |
| method: get | |
| integration: lambda | |
| request: | |
| template: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sealed class Result<A, E> { | |
| fun <B> map(mapping: (A) -> B): Result<B, E> = | |
| when (this) { | |
| is Success -> Success(mapping(value)) | |
| is Failure -> Failure(reason) | |
| } | |
| fun <B> bind(mapping: (A) -> Result<B, E>): Result<B, E> = | |
| when (this) { | |
| is Success -> mapping(value) |
- https://hackernoon.com/a-primer-on-blockchains-protocols-and-token-sales-9ebe117b5759
- https://hackernoon.com/tokens-at-the-gate-what-happens-after-the-icos-5cd013f37782
- https://hackernoon.com/icos-for-dummies-like-me-1e82a8bc27f4
- https://medium.com/l4-media/making-sense-of-cryptoeconomics-c6455776669
- https://hackernoon.com/the-cryptocurrency-trading-bible-43d0c57e3fe6
- https://hackernoon.com/the-cryptocurrency-trading-bible-two-the-seven-deadly-sins-of-technical-analysis-cacd04f916b3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # multiprocessing_producer_consumer.py | |
| # https://pymotw.com/3/multiprocessing/communication.html | |
| import multiprocessing | |
| import time | |
| class Consumer(multiprocessing.Process): |
NewerOlder
