Skip to content

Instantly share code, notes, and snippets.

E008] Not Found Error: /home/swissbib/environment/code/learning/gh_scala/rockjvm/typelevelstack/src/main/scala/com/rockthejvm/jobsboard/core/Jobs.scala:202:7
[error] 198 | statement
[error] 199 | .query[Job]
[error] 200 | .to[List]
[error] 201 | .transact(xa)
[error] 202 | .logError(e => s"failed query. ${e.getMessage}")
[error] | ^
[error] |value logError is not a member of F[List[com.rockthejvm.jobsboard.domain.job.Job]].
[error] |An extension method was tried, but could not be fully constructed:
[error] |
package com.rockthejvm.jobsboard.core
import cats.*
import cats.effect.*
import cats.implicits.*
import doobie.*
import doobie.util.*
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:edm="http://www.europeana.eu/schemas/edm/"
xmlns:ore="http://www.openarchives.org/ore/terms/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:wgs84_pos="http://www.w3.org/2004/02/skos/core#"
@guenterh
guenterh / edm-rdf-standard
Created April 1, 2021 06:19
edm format written with rdf xml standard writer
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:edm="http://www.europeana.eu/schemas/edm/"
xmlns:ore="http://www.openarchives.org/ore/terms/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:wgs84_pos="http://www.w3.org/2004/02/skos/core#"
@guenterh
guenterh / gist:9103299f63acedff59827e96c5f4fff9
Created May 2, 2019 13:11
keine Unterstützung für Java 11 im aktuellen Flink
Flink still only works with Java 8 at the moment. It will be a while
until we properly support Java 11.
On 02/05/2019 13:58, Günter Hipler wrote:
> swissbib@sb-ust1:~$ java -version
> openjdk version "11.0.2" 2019-01-15
> OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
> OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed
> mode, sharing)
> swissbib@sb-ust1:~$
@guenterh
guenterh / gist:6ef441b100e905b1c1edfdb8d9f561d8
Created November 1, 2018 15:00
jane austen (alter Index)
curl -s 'http://localhost:8080/lsb/person/d792881e-1e3e-36df-8489-a6c3ba957e24' | json_pp
{
"found" : true,
"_version" : 1,
"_id" : "d792881e-1e3e-36df-8489-a6c3ba957e24",
"_type" : "person",
"_index" : "lsb_20180503",
"_source" : {
"lsb:dbpBirthPlaceAsLiteral" : [
{
{
"responseHeader":{
"zkConnected":true,
"status":0,
"QTime":192},
"response":{"numFound":1,"start":0,"maxScore":15.162698,"docs":[
{
"id":"504688197",
"recordtype":"marc",
"language":["ger"],
@guenterh
guenterh / gist:e7f87436f468339038b92a43ab9688e9
Created July 7, 2018 11:27
Installation von symphony 2.3
composer require api
Using version ^1.1 for api-platform/api-pack
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 22 installs, 0 updates, 0 removals
- Installing symfony/translation (v4.1.1): Loading from cache
- Installing symfony/validator (v4.1.1): Loading from cache
- Installing symfony/security (v4.1.1): Loading from cache
- Installing symfony/security-bundle (v4.1.1): Loading from cache
@guenterh
guenterh / gist:0003a8cb39ae320db908279c10a92ef6
Created January 3, 2018 14:31
swissbib_viaf_birthYear_gndidentifier
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE LIMES SYSTEM "limes.dtd">
<LIMES>
<PREFIX>
<NAMESPACE>http://www.w3.org/1999/02/22-rdf-syntax-ns#</NAMESPACE>
<LABEL>rdf</LABEL>
</PREFIX>
<PREFIX>
<NAMESPACE>http://xmlns.com/foaf/0.1/</NAMESPACE>
<LABEL>foaf</LABEL>
@guenterh
guenterh / gist:2f9fa6e49e886fdd3396994d36857d54
Created January 3, 2018 14:28
limes_swissbib_viaf_birthYear_deathYear
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE LIMES SYSTEM "limes.dtd">
<LIMES>
<PREFIX>
<NAMESPACE>http://www.w3.org/1999/02/22-rdf-syntax-ns#</NAMESPACE>
<LABEL>rdf</LABEL>
</PREFIX>
<PREFIX>
<NAMESPACE>http://xmlns.com/foaf/0.1/</NAMESPACE>
<LABEL>foaf</LABEL>