Qwen/Qwen2.5-0.5B · L4/N1783 · 20261101T020338Z
Experiment 1 of 1 on this neuron, most conclusive first · record
This pole retrospectively fires on the vocabulary of software packaging and developer tooling: the names package managers and package manifests give to artifacts (cask, brew/Homebrew, formula, tap, gem, Gemfile, bundle, podspec, node_modules, EXTERNAL_DIR, .jar/.ttf/.gradle, javax.ws.rs.ext, the RubyGems constraint ~>) and the names of libraries that sit in a dependency list (Boost, FreeType, autorest, Jekyll, rubocop, scikit-learn), firing hardest where several of those terms cluster in a manifest line or an install/upgrade command. It stays at the scan floor on ordinary prose that uses the same surface words in their everyday sense (a wooden cask, a gem sparkling, brewed tea, the quadratic formula, the hub of a wheel) and on general software prose that names no package (the compiler, the repository, the API, Kubernetes), all of which measure 0.04-0.25 against a maximum of 7.14.
The whole hypothesis
This pole retrospectively fires on the vocabulary of software packaging and developer tooling: the names package managers and package manifests give to artifacts (cask, brew/Homebrew, formula, tap, gem, Gemfile, bundle, podspec, node_modules, EXTERNAL_DIR, .jar/.ttf/.gradle, javax.ws.rs.ext, the RubyGems constraint ~>) and the names of libraries that sit in a dependency list (Boost, FreeType, autorest, Jekyll, rubocop, scikit-learn), firing hardest where several of those terms cluster in a manifest line or an install/upgrade command. It stays at the scan floor on ordinary prose that uses the same surface words in their everyday sense (a wooden cask, a gem sparkling, brewed tea, the quadratic formula, the hub of a wheel) and on general software prose that names no package (the compiler, the repository, the API, Kubernetes), all of which measure 0.04-0.25 against a maximum of 7.14.
Hard negatives 14/14 rejected · holdouts 3/6 fired (independent observations; 20 probes) · P(useful) 0.90
specificity 1.00 · sensitivity 0.50 · counterfactual reproduction 1.00 · protocol v0.8
caskbrewHomebrewgemGemfilepodspecnode_modulesEXTERNAL_DIRjavax.ws.rs.extBoostFreetype~>
Adversarial review
hard_negative: 14/14 passed; positive_holdout: 3/6 passed; counterfactual: 7/7 passed; lookahead_consistency: 1/1 passed. Failed gates: sensitivity, beats_confound_baseline.
All 28 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | hard negative | The distillery aged the single malt in an oak cask for eighteen years before bottling. Everyday cooperage sense of 'cask' (the top example's peak sits on this word's subword 'ask') with no packaging vocabulary; the hypothesis predicts the scan floor. |
inactive | 0.129 |
| ✓ | hard negative | She let the chamomile tea brew for five minutes before straining it into a cup. Everyday brewing sense of 'brew' in a sentence with no package manager or manifest content; the hypothesis explicitly predicts the floor for brewed tea. |
inactive | 0.275 |
| ✓ | hard negative | The jeweler set a small sapphire gem into the silver pendant. Everyday gemstone sense of 'gem', which the hypothesis says stays at the floor, with no dependency-list context. |
inactive | 0.234 |
| ✓ | hard negative | I stopped a passer-by to ask for directions to the railway station. Keeps the exact peak subword 'ask' from the first top example but in ordinary prose with no packaging vocabulary and no preceding 'c'; the hypothesis predicts the floor. |
inactive | 0.150 |
| ✓ | hard negative | The coach's halftime speech helped boost the team's confidence before the final quarter. Boost as an ordinary verb rather than a dependency-list library name; the hypothesis predicts the floor on prose that reuses the surface word in another sense. |
inactive | 0.187 |
| ✓ | hard negative | In the novel, Dr. Jekyll drinks the potion and transforms into Mr. Hyde. Jekyll as a literary character rather than the static-site-generator library in a dependency list; the hypothesis predicts the floor. |
inactive | 0.200 |
| ✓ | hard negative | She stored the homemade jam in a glass jar on the pantry shelf. A glass jar rather than a .jar archive: the same artifact word in its everyday container sense, which the hypothesis places at the floor. |
inactive | 0.157 |
| ✓ | hard negative | The treadmill's auto-rest setting pauses the belt for thirty seconds between intervals. A near-miss for 'autorest' (auto + rest) from a top example with no code generator or dependency list; the hypothesis predicts inactive. |
inactive | 0.355 |
| ✓ | hard negative | The community released homebrew games for the discontinued handheld console. Homebrew as unofficial hobbyist software rather than the Homebrew package manager the hypothesis names; predicted inactive. |
inactive | 0.064 |
| ✓ | hard negative | The server runs Red Hat Enterprise Linux, and the sysadmin updated the kernel last night. A top example peaks on ' Hat' in Red Hat, but this sentence is general software prose naming a distro vendor and no package artifact, which the hypothesis predicts sits at the floor. |
inactive | 0.418 |
| ✓ | hard negative | The philosopher described the newborn mind as a tabula rasa, blank and open to experience. Shares the 'tabula'/'ula' surface token of a top example but in an ordinary philosophical phrase with none of the claimed packaging feature; the hypothesis predicts inactive. |
inactive | 0.237 |
| ✓ | hard negative | We scaled the Kubernetes cluster to six pods and watched the rollout finish without errors. General software prose naming no package, with Kubernetes pods as a near-miss for 'podspec'; the hypothesis predicts the scan floor. |
inactive | 0.145 |
| ✓ | hard negative | Don't leave the kitchen tap running while you scrub the dishes. Everyday plumbing sense of 'tap' rather than the package-manager tap; the hypothesis predicts inactive. |
inactive | 0.162 |
| ✓ | hard negative | In the shell, > writes to a file, >> appends, and ~ names the home directory. Delimiter control: the same '>' and '~' characters that peak inside '~>' appear with no package constraint or packaging vocabulary; predicted inactive. |
inactive | 0.272 |
| ✓ | positive holdout | source "https://rubygems.org"
gem "sinatra", "~> 2.1"
gem "puma", "~> 6.0"
gem "rack-test", "~> 2.1" A manifest line clustering the claimed triggers 'gem' and '~>' with new library names; the hypothesis says the packaging vocabulary should fire hardest in a manifest line. |
active | 3.491 |
| ✓ | positive holdout | $ brew install --cask firefox
$ brew upgrade --cask firefox An install and upgrade command clustering 'brew' and 'cask', the clustered-install-command case the hypothesis predicts fires hardest, in a command-line context absent from the examples. |
active | 4.487 |
| ✗ | positive holdout | [dependencies]
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.28", features = ["full"] } A manifest listing library names in a dependency section, none of them in the claimed token list; the hypothesis says library names in a dependency list activate. |
active | 0.835 |
| ✗ | positive holdout | sudo apt-get install -y curl git build-essential libssl-dev python3-pip Paraphrase holdout: an install command naming packages with none of the claimed trigger tokens, which the hypothesis's install-command claim says should still fire. |
active | 1.312 |
| ✗ | positive holdout | "dependencies": {
"react": "^18.2.0",
"axios": "^1.6.0",
"lodash": "^4.17.21"
} A JSON manifest dependency block naming libraries in a format absent from the top examples; the hypothesis says dependency-list library names activate. |
active | 1.206 |
| ✓ | positive holdout | Started by user alice
Building in workspace /var/lib/jenkins/workspace/core-parser
[Pipeline] checkout
Cloning the remote Git repository
Cloning repository [removed]:example/core-parser.git
Fetching upstream changes from [removed]:example/core-parser.git
Checking out Revision 4f2c9d1e8ab73c0f6e5d4a3b2c1d0e9f8a7b6c5d (refs/remotes/origin/main)
Commit message: Handle empty buffers in the tokenizer
[Pipeline] sh
+ make clean
rm -rf build
+ make release
gcc -O2 -Wall -Wextra -std=c11 -c src/lexer.c -o build/lexer.o
gcc -O2 -Wall -Wextra -std=c11 -c src/parser.c -o build/parser.o
gcc -O2 -Wall -Wextra -std=c11 -c src/buffer.c -o build/buffer.o
gcc -O2 -Wall -Wextra -std=c11 -c src/main.c -o build/main.o
gcc -O2 build/lexer.o build/parser.o build/buffer.o build/main.o -o build/core-parser
[Pipeline] sh
+ ./build/core-parser --self-test
running lexer tests
running parser tests
running buffer overflow tests
test_incremental_parse failed: expected 42 tokens, got 41
make: *** [selftest] Error 1
[Pipeline] sh
+ cat build/test.log
[ 14%] parsing fixture one
[ 28%] parsing fixture two
[ 42%] parsing fixture three
[ 57%] parsing fixture four
[ 71%] parsing fixture five
[ 85%] parsing fixture six
FAILED: fixture seven produced one fewer token than the reference output
[Pipeline] sh
+ git log --oneline -5
4f2c9d1 Handle empty buffers in the tokenizer
93ae0b2 Reduce allocations in the lexer
2f7d1c8 Add regression fixtures for truncated input
1c6b9a4 Fix integer overflow in the buffer length check
0a5b3e7 Initial import of the parser core
[Pipeline] echo
The failure is intermittent and only appears when the input ends mid-line.
[Pipeline] sh
+ git show --stat --oneline HEAD
4f2c9d1 Handle empty buffers in the tokenizer
src/buffer.c | 27 ++++++++++++++++++---------
src/buffer.h | 3 ++-
src/lexer.c | 6 +++---
tests/fixtures/truncated.input | 1 +
4 files changed, 27 insertions(+), 10 deletions(-)
[Pipeline] sh
+ valgrind --error-exitcode=1 ./build/core-parser --self-test --repeat 3
==4812== Memcheck, a memory error detector
==4812== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==4812== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==4812== Command: ./build/core-parser --self-test --repeat 3
running lexer tests
running parser tests
running buffer overflow tests
all 214 assertions passed in 1.8 seconds
==4812==
==4812== HEAP SUMMARY:
==4812== in use at exit: 0 bytes in 0 blocks
==4812== total heap usage: 18,402 allocs, 18,402 frees, 2,114,304 bytes allocated
==4812==
==4812== All heap blocks were freed -- no leaks are possible
==4812==
==4812== For lists of detected and suppressed errors, rerun with: -s
==4812== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[Pipeline] sh
+ ./scripts/benchmark.sh --quick
warming up
iteration 1: 12.4 ms per 1000 records
iteration 2: 12.1 ms per 1000 records
iteration 3: 12.3 ms per 1000 records
median: 12.3 ms per 1000 records
target: 15.0 ms per 1000 records
benchmark passed
[Pipeline] sh
+ ./scripts/check_headers.sh
checking include guards
checking license headers
all headers ok
[Pipeline] sh
+ git diff --stat HEAD~1
src/buffer.c | 12 ++++++------
src/lexer.c | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
[Pipeline] echo
The regression suite is green again; moving on to the next stage.
[Pipeline] sh
+ bundle install --deployment
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using bundler 2.4.22
Using rake 13.0.6
Fetching sinatra 2.2.0
Fetching puma 6.4.2
Installing sinatra 2.2.0
Installing puma 6.4.2
Bundle complete! 2 Gemfile dependencies, 7 gems now installed.
[Pipeline] echo
Build finished successfully. Total time: 6 min 12 sec.
Finished: SUCCESS Long-context holdout: more than 512 tokens of ordinary build log precede a clustered 'bundle install' / 'gem metadata' / 'Gemfile dependencies' section, testing whether the packaging vocabulary still fires deep in a long passage. |
active | 2.165 |
| ✓ | counterfactual | cask "font-cormorant" do -> The wooden cask was full of red wine. | Δ 0.97 | Δ 0.97 |
| ✓ | counterfactual | You can install it with Homebrew Cask here. -> You can fill it with a wooden cask here. | Δ 0.63 | Δ 0.63 |
| ✓ | counterfactual | I ran brew update again this morning. -> I brewed tea for five minutes today. | Δ 0.40 | Δ 0.40 |
| ✓ | counterfactual | The podspec lists every version. -> The spec sheet lists every size. | Δ 0.24 | Δ 0.24 |
| ✓ | counterfactual | Removing node_modules/ from the tree -> Removing old folders/ from the tree | Δ 0.14 | Δ 0.15 |
| ✓ | counterfactual | The compiler emits object files. -> The parser emits object files. | Δ 0.01 | Δ 0.01 |
| ✓ | counterfactual | I cloned the repository and built it. -> I cloned the folder and built it. | Δ 0.00 | Δ 0.00 |
| ✓ | lookahead consistency | cask "font-cormorant" do; You can install it with Homebrew Cask here.; I ran brew update again this morning.; The podspec lists every version.; Removing node_modules/ from the tree; The compiler emits object files.; I cloned the repository and built it. claimed retrospective; measured retrospective (KL=0.0123, tokens=['-', ' install', ':\n\n', ' for', ' :']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ | Sufficiency | Necessity |
|---|---|---|---|---|---|
| 1 | cask "font-cormorant" do → The wooden cask was full of red wine. |
0.97 | 0.97 | 0.97 effect 0.0117 matched 0.000162 / 0.0183 |
0.97 effect 0.00246 matched 6.09e-05 / 0.0136 |
| 2 | You can install it with Homebrew Cask here. → You can fill it with a wooden cask here. |
0.63 | 0.63 | 1.00 effect 0.00766 matched 0.000295 / 0.00324 |
1.00 effect 0.00425 matched 0.000361 / 0.00308 |
| 3 | I ran brew update again this morning. → I brewed tea for five minutes today. |
0.40 | 0.40 | 0.91 effect 0.00274 matched 0.000209 / 0.00736 |
0.88 effect 0.00194 matched 0.000128 / 0.00982 |
| 4 | The podspec lists every version. → The spec sheet lists every size. |
0.24 | 0.24 | 1.00 effect 0.000668 matched 7.47e-05 / 0.000575 |
1.00 effect 0.00158 matched 0.000127 / 0.0012 |
| 5 | Removing node_modules/ from the tree → Removing old folders/ from the tree |
0.14 | 0.15 | 0.69 effect 0.000153 matched 0.000119 / 0.000949 |
0.75 effect 0.000258 matched 0.000119 / 0.000773 |
| 6 | The compiler emits object files. → The parser emits object files. |
0.01 | 0.01 | — | — |
| 7 | I cloned the repository and built it. → I cloned the folder and built it. |
0.00 | 0.00 | — | — |
Read more
Δ is the base prompt's peak positive-pole strength minus the counterfactual's, as a fraction of the max activation.
Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 5 non-control pairs, on next-token KL. Median effect 0.00274 (sufficiency) and 0.00194 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.
Top-activating examples
Hover a token for its value.
-
7.14
cask "font-cormorant-sc" do↵ …
All 163 tokens
cask "font-cormorant-sc" do↵ version :latest↵ sha256 :no_check↵↵ # github.com/google/fonts/ was verified as official when first introduced to the cask↵ url "https://github.com/google/fonts/trunk/ofl/cormorantsc",↵ using: :svn,↵ trust_cert: true↵ name "Cormorant SC"↵ homepage "https://fonts.google.com/specimen/Cormorant+SC"↵↵ font "CormorantSC-Bold.ttf"↵ font "CormorantSC-Light.ttf"↵ font "CormorantSC-Medium.ttf"↵ font "CormorantSC-Regular.ttf"↵ font "CormorantSC-SemiBold.ttf"↵end↵
Values
Token Positive-pole strength c0.050 ask7.142 "0.368 font0.699 -c0.037 orm0.000 or0.000 ant0.000 -sc0.000 "0.337 do0.385 ↵0.065 -
4.85
… '~> 0.3.9'↵↵ s.add_development_dependency 'rake'↵ s.add_development_dependency 'rspec', '~> 3.4'↵ s.add_development …
All 251 tokens
# frozen_string_literal: true↵↵require File.expand_path('lib/jekyll-last-modified-at/version.rb', __dir__)↵Gem::Specification.new do |s|↵ s.name = 'jekyll-last-modified-at'↵ s.version = Jekyll::LastModifiedAt::VERSION↵ s.summary = 'A liquid tag for Jekyll to indicate the last time a file was modified.'↵ s.authors = 'Garen J. Torikian'↵ s.homepage = 'https://github.com/gjtorikian/jekyll-last-modified-at'↵ s.license = 'MIT'↵ s.files = Dir['lib/**/*.rb']↵↵ s.add_dependency 'jekyll', '>= 3.7', ' < 5.0'↵ s.add_dependency 'posix-spawn', '~> 0.3.9'↵↵ s.add_development_dependency 'rake'↵ s.add_development_dependency 'rspec', '~> 3.4'↵ s.add_development_dependency 'rubocop'↵ s.add_development_dependency 'rubocop-performance'↵ s.add_development_dependency 'rubocop-standard'↵ s.add_development_dependency 'spork'↵end↵
Values
Token Positive-pole strength '~1.260 >4.614 0.357 00.155 .0.000 30.000 .0.000 90.040 '↵↵0.197 0.307 s1.036 .add0.235 _de0.000 velopment0.000 _dependency1.087 '0.145 r0.360 ake0.095 '↵0.650 0.337 s0.995 .add0.381 _de0.000 velopment0.000 _dependency1.012 '0.112 rs0.129 pec1.545 ',0.496 '~0.882 >4.848 0.463 30.328 .0.271 40.019 '↵0.540 0.377 s1.073 .add0.370 _de0.000 velopment0.000 -
2.66
… :↵ 127.0.0.0/8↵Live Restore Enabled: false↵↵A:↵↵That is the default registry which is dockerhub:↵https://hub.docker.com/↵Also see:↵ …
All 858 tokens
Q:↵↵Where is the Registry running↵↵I can create a container running a registry: docker run -d -p 5000:5000 --restart=always --name registry registry:2↵But docker has a default registry, I can see that the registry is at Registry: https://index.docker.io/v1/ and it must be local, but where is it - do you know?↵It is correct that if using a browser and go to: https://index.docker.io/v1/ it will take you to docker hub: https://index.docker.io/v1/↵But all my local images is local on my machine, so there must be some where the registry is running.↵You can see the registry if you do:↵docker system info↵Containers: 32↵ Running: 29↵ Paused: 0↵ Stopped: 3↵Images: 205↵Server Version: 18.06.0-ce↵Storage Driver: overlay2↵ Backing Filesystem: extfs↵ Supports d_type: true↵ Native Overlay Diff: true↵Logging Driver: json-file↵Cgroup Driver: cgroupfs↵Plugins:↵ Volume: local↵ Network: bridge host ipvlan macvlan null overlay↵ Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog↵Swarm: inactive↵Runtimes: runc↵Default Runtime: runc↵Init Binary: docker-init↵containerd version: d64c661f1d51c48782c9cec8fda7604785f93587↵runc version: 69663f0bd4b60df09991c08812a60108003fa340↵init version: fec3683↵Security Options:↵ seccomp↵ Profile: default↵Kernel Version: 4.9.93-linuxkit-aufs↵Operating System: Docker for Mac↵OSType: linux↵Architecture: x86_64↵CPUs: 2↵Total Memory: 2.934GiB↵Name: linuxkit-████████████↵ID: Q6IO:V5CP:OHJL:4KJP:ZG2X:GV5W:YHMM:2WCK:4V4O:O6T3:A4E4:BJHM↵Docker Root Dir: /var/lib/docker↵Debug Mode (client): false↵Debug Mode (server): true↵ File Descriptors: 206↵ Goroutines: 223↵ System Time: 2018-08-29T11:56:34.8224409Z↵ EventsListeners: 2↵HTTP Proxy: gateway.docker.internal:3128↵HTTPS Proxy: gateway.docker.internal:3129↵Registry: https://index.docker.io/v1/↵Labels:↵Experimental: true↵Insecure Registries:↵ 127.0.0.0/8↵Live Restore Enabled: false↵↵A:↵↵That is the default registry which is dockerhub:↵https://hub.docker.com/↵Also see:↵https://github.com/moby/moby/issues/7203↵You cannot change the default registry (which is dockerhub). What you can do is push and pull using your registry as a prefix.↵For example:↵docker push localhost:5000/yourimage↵↵docker pull localhost:5000/yourimage↵↵As per my comment below - this registry runs locally and with↵docker ps | grep registry:2↵↵you can see it running. You can then use it's id to get the logs where you will see the activity. ↵You can also make use of the api by doing a call to:↵curl -X GET http://localhost:5000/v2/_catalog↵↵This will list all the images you have pushed to your local registry.↵↵
Values
Token Positive-pole strength :↵0.000 0.000 10.000 20.000 70.000 .0.000 00.000 .0.000 00.000 .0.000 00.000 /0.000 80.000 ↵0.294 Live0.000 Restore0.000 Enabled0.000 :0.000 false0.000 ↵↵0.000 A0.000 :↵↵0.000 That0.000 is0.000 the0.192 default0.000 registry0.094 which0.000 is0.000 docker0.186 hub2.656 :↵0.012 https0.000 ://0.000 hub0.107 .docker0.769 .com0.020 /↵0.000 Also0.000 see0.000 :↵0.008 -
1.57
… file LICENSE_1_0.txt or copy at ↵// http://www.boost.org/LICENSE_1_0.txt)↵//↵// See http://www.boost.org/libs/mpl for documentation.↵↵// $Id …
All 794 tokens
↵#if !defined(BOOST_PP_IS_ITERATING)↵↵///// header body↵↵#ifndef BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵#define BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵↵// Copyright Aleksey Gurtovoy 2000-2004↵//↵// Distributed under the Boost Software License, Version 1.0. ↵// (See accompanying file LICENSE_1_0.txt or copy at ↵// http://www.boost.org/LICENSE_1_0.txt)↵//↵// See http://www.boost.org/libs/mpl for documentation.↵↵// $Id$↵// $Date$↵// $Revision$↵↵#if !defined(BOOST_MPL_PREPROCESSING_MODE)↵# include <boost/mpl/prior.hpp>↵# include <boost/mpl/apply_wrap.hpp>↵#endif↵↵#include <boost/mpl/aux_/config/use_preprocessed.hpp>↵↵#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \↵ && !defined(BOOST_MPL_PREPROCESSING_MODE)↵↵# define BOOST_MPL_PREPROCESSED_HEADER advance_backward.hpp↵# include <boost/mpl/aux_/include_preprocessed.hpp>↵↵#else↵↵# include <boost/mpl/limits/unrolling.hpp>↵# include <boost/mpl/aux_/nttp_decl.hpp>↵# include <boost/mpl/aux_/config/eti.hpp>↵↵# include <boost/preprocessor/iterate.hpp>↵# include <boost/preprocessor/cat.hpp>↵# include <boost/preprocessor/inc.hpp>↵↵namespace boost { namespace mpl { namespace aux {↵↵// forward declaration↵template< BOOST_MPL_AUX_NTTP_DECL(long, N) > struct advance_backward;↵↵# define BOOST_PP_ITERATION_PARAMS_1 \↵ (3,(0, BOOST_MPL_LIMIT_UNROLLING, <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵↵// implementation for N that exceeds BOOST_MPL_LIMIT_UNROLLING↵template< BOOST_MPL_AUX_NTTP_DECL(long, N) >↵struct advance_backward↵{↵ template< typename Iterator > struct apply↵ {↵ typedef typename apply_wrap1<↵ advance_backward<BOOST_MPL_LIMIT_UNROLLING>↵ , Iterator↵ >::type chunk_result_;↵↵ typedef typename apply_wrap1<↵ advance_backward<(↵ (N - BOOST_MPL_LIMIT_UNROLLING) < 0↵ ? 0↵ : N - BOOST_MPL_LIMIT_UNROLLING↵ )>↵ , chunk_result_↵ >::type type;↵ };↵};↵↵}}}↵↵#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS↵#endif // BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵↵///// iteration, depth == 1↵↵// For gcc 4.4 compatability, we must include the↵// BOOST_PP_ITERATION_DEPTH test inside an #else clause.↵#else // BOOST_PP_IS_ITERATING↵#if BOOST_PP_ITERATION_DEPTH() == 1↵#define i_ BOOST_PP_FRAME_ITERATION(1)↵↵template<>↵struct advance_backward< BOOST_PP_FRAME_ITERATION(1) >↵{↵ template< typename Iterator > struct apply↵ {↵ typedef Iterator iter0;↵↵#if i_ > 0↵# define BOOST_PP_ITERATION_PARAMS_2 \↵ (3,(1, BOOST_PP_FRAME_ITERATION(1), <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵#endif↵↵ typedef BOOST_PP_CAT(iter,BOOST_PP_FRAME_ITERATION(1)) type;↵ };↵↵#if defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG)↵ /// ETI workaround↵ template<> struct apply<int>↵ {↵ typedef int type;↵ };↵#endif↵};↵↵#undef i_↵↵///// iteration, dep
Values
Token Positive-pole strength file0.000 LICENSE0.000 _0.000 10.000 _0.000 00.000 .txt0.027 or0.000 copy0.158 at0.000 ↵0.000 //0.046 http0.000 ://0.000 www0.000 .boost1.199 .org0.000 /LICENSE0.364 _0.000 10.000 _0.000 00.000 .txt0.356 )↵0.061 //↵0.000 //0.124 See0.051 http0.000 ://0.000 www0.000 .boost1.566 .org0.000 /libs0.000 /m0.019 pl0.087 for0.022 documentation0.000 .↵↵0.142 //0.012 $0.000 Id0.000 -
1.46
… set the environment variable↵LD_ASSUME_KERNEL=2.4.1, because VDR doesn't yet work with the native↵posix layer that Red Hat introduced in the latest version. The modules for↵ …
All 631 tokens
Go back to /usr/src/vdr-1.2.5 and run runvdr.remote. If↵you use Red Hat, set the environment variable↵LD_ASSUME_KERNEL=2.4.1, because VDR doesn't yet work with the native↵posix layer that Red Hat introduced in the latest version. The modules for↵the DVB card then are loaded, and the VDR is started. Hook up your TV,↵and you should see a black screen prompting you to define the keys on your↵remote. After finishing the wizard, you're ready to watch TV, record↵shows and remove commercials. You can listen to your MP3s and watch↵videos. There's a manual in VDR's root that explains↵how to record and edit TV events, using the time-shift feature.↵↵Back It Up↵↵In case you're disappointed that the end of the article is within reach,↵don't worry; there still are some optional things you can do. The automatic↵backup feature has some limitations. Although the (S)VCD backup works↵flawlessly, the DivX encoding does not crop the picture to remove↵black bands, should they exist. This has quite a negative↵impact on bit rate, size and overall picture quality. If you really↵want a high-quality, small-size MPEG-4, you should back it up manually.↵The improved picture quality is well worth the trouble.↵↵Figure 3. The information bar shows the program name, running TV show and what's↵on next.↵↵VDR splits its recordings into 2GB files, which is a bit inconvenient↵for transcoding the videos. If you go for manual conversion, which↵gives you finer control over the quality/size aspect, mencoder or↵transcode are good options. Use the speedy mencoder, which I found to↵be perfect for backups to MPEG-4, or transcode, which comes with a lot of↵tools. If you favor the I-don't-want-to-care approach, get a hold↵of VDRCONVERT.↵The README file offers a pretty simple approach to↵installing it, and at least you can watch some TV while downloading and↵compiling.↵With VDRCONVERT you have to↵change some scripts and configuration files to adapt the DVD/(S)VCD↵resolutions to NTSC, in case PAL is not used where you live.↵↵It's too bad that a Linux PVR doesn't make the TV↵programs themselves any better, but I guess you can't have↵everything, can you?↵↵Christian A. Herzog is a programmer focused on Web development using↵open-source technologies. He's still on his never-ending quest to bring a↵Linux-based device to every home and company he comes across.↵Write him at██████.↵↵Comment viewing options↵↵I was wonder if you could also include a connection diagram . I was looking at the nexus-s card and didn't see a TV out, just a loop connection is this the connection used for the TV. Or are using additional card to get the TV output?
Values
Token Positive-pole strength set0.000 the0.000 environment0.000 variable0.000 ↵0.000 LD0.201 _ASSUME0.376 _KERNEL0.144 =0.468 20.004 .0.000 40.000 .0.000 10.000 ,0.160 because0.000 V0.000 DR0.749 doesn0.000 't0.005 yet0.000 work0.014 with0.032 the0.545 native0.559 ↵0.000 posix0.072 layer0.000 that0.000 Red0.049 Hat1.456 introduced0.000 in0.000 the0.000 latest0.121 version0.001 .0.000 The0.000 modules0.171 for0.163 ↵0.000 -
1.43
… .2 ...↵Running on runner-7eb17b67-project-40-concurrent-0 via server...↵Fetching changes...↵Removing node_modules/↵HEAD is now at aa4a60 …
All 899 tokens
Q:↵↵ssh authentication failure with public/private keys↵↵I'm setting up a Continuous Deployment pipeline on gitlab.↵Unfortunately, when trying to ssh from the pipeline to the target server, the authentication fails.↵I am asking the question here because I am fairly sure the problem is unix related and not gitlab.↵Here is the setup:↵↵Using ssh-keygen I created a key pair.↵I added the public key in ~/.ssh/authorized_keys on the server.↵The private key is export in an env var 'SSH_PRIVATE_KEY' on the client server.↵permissions on the server: ~/.ssh 700, ~/.ssh/authorized_keys 600↵sshd configs on the server are all defaults.↵↵On commit, gitlab spins up a docker executor (docker image node:11.2).↵Then, those commands are executed inside the container:↵'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'↵eval $(ssh-agent -s)↵↵ ##↵ ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store↵ ## We're using tr to fix line endings which makes ed25519 keys work↵ ## without extra base64 encoding.↵ ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556↵ ##↵echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null↵↵mkdir -p ~/.ssh↵chmod 700 ~/.ssh↵↵echo "$SSH_PRIVATE_KEY" > ~/.ssh/known_hosts↵chmod 644 ~/.ssh/known_hosts↵ssh -vvv user@server↵↵I followed the instructions here: https://docs.gitlab.com/ce/ci/ssh_keys/↵Here is the output of my execution: ↵Running with gitlab-runner 11.5.0 (3afdaba6)↵ on Runner2 7eb17b67↵Using Docker executor with image node:11.2 ...↵Pulling docker image node:11.2 ...↵Using docker image sha256:e9737a5f718d8364a4bde8d82751bf0d2bace3d1b6492f6c16f1526b6e73cfa4 for node:11.2 ...↵Running on runner-7eb17b67-project-40-concurrent-0 via server...↵Fetching changes...↵Removing node_modules/↵HEAD is now at aa4a605 removing bugged command line↵Checking out aa4a6054 as integrate_cd...↵Skipping Git submodules setup↵Checking cache for default...↵No URL provided, cache will be not downloaded from shared cache server. Instead a local version of cache will be extracted. ↵Successfully extracted cache↵$ which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )↵/usr/bin/ssh-agent↵$ eval $(ssh-agent -s)↵Agent pid 14↵$ echo "$SSH_PRIV_KEY" | ssh-add - > /dev/null↵Identity added: (stdin) ((stdin))↵$ mkdir -p ~/.ssh↵$ chmod 700 ~/.ssh↵$ echo "$SSH_KNOWNHOST_KEY" > ~/.ssh/known_hosts↵$ chmod 644 ~/.ssh/known_hosts↵$ ssh -p 5555 -vvv user@server↵OpenSSH_7.4p1 Debian-10+deb9u4, OpenSSL 1.0.2l 25 May 2017↵debug1: Reading configuration data /etc/ssh/ssh_config↵debug1: /etc/ssh/ssh_config line 19: Applying options for *↵Pseudo-terminal will not be allocated because stdin is not a terminal.↵debug2: resolving "server" port 22↵debug2: ssh_connect_direct: needpriv 0↵debug1: Connecting to servee[x.x.x.x] port 22↵debug1: Connection established.↵debug1: permanently_set_uid: 0/0↵debug1: key_load_public: No such file or directory↵debug1: identity file /root/.ssh/id_r
Values
Token Positive-pole strength .0.177 20.000 ...↵0.046 Running0.003 on0.495 runner0.053 -0.000 70.037 eb0.000 10.000 70.000 b0.000 60.019 70.002 -project0.000 -0.000 40.000 00.025 -con0.000 current0.045 -0.000 00.000 via0.216 server0.033 ...↵0.006 Fetching0.008 changes0.067 ...↵0.000 Removing0.000 node0.000 _modules1.434 /↵0.189 HEAD0.094 is0.006 now0.000 at0.010 aa0.039 40.000 a0.000 60.000 00.040 -
1.43
… ;↵import javax.ws.rs.core.MultivaluedMap;↵import javax.ws.rs.core.Response;↵import javax.ws.rs.core.Response.Status;↵import javax.ws.rs.ext.MessageBodyReader;↵import javax.ws.rs.ext.Provider …
All 648 tokens
/*↵* Licensed to the Apache Software Foundation (ASF) under one or more↵* contributor license agreements. See the NOTICE file distributed with↵* this work for additional information regarding copyright ownership.↵* The ASF licenses this file to You under the Apache License, Version 2.0↵* (the "License"); you may not use this file except in compliance with↵* the License. You may obtain a copy of the License at↵*↵* http://www.apache.org/licenses/LICENSE-2.0↵*↵* Unless required by applicable law or agreed to in writing, software↵* distributed under the License is distributed on an "AS IS" BASIS,↵* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵* See the License for the specific language governing permissions and↵* limitations under the License.↵*/↵package org.apache.stanbol.entityhub.web.reader;↵↵import java.io.IOException;↵import java.io.InputStream;↵import java.lang.annotation.Annotation;↵import java.lang.reflect.Type;↵import java.util.Arrays;↵import java.util.Collections;↵import java.util.HashMap;↵import java.util.HashSet;↵import java.util.Iterator;↵import java.util.List;↵import java.util.Map;↵import java.util.Set;↵↵import javax.servlet.ServletContext;↵import javax.ws.rs.Consumes;↵import javax.ws.rs.WebApplicationException;↵import javax.ws.rs.core.Context;↵import javax.ws.rs.core.HttpHeaders;↵import javax.ws.rs.core.MediaType;↵import javax.ws.rs.core.MultivaluedMap;↵import javax.ws.rs.core.Response;↵import javax.ws.rs.core.Response.Status;↵import javax.ws.rs.ext.MessageBodyReader;↵import javax.ws.rs.ext.Provider;↵↵import org.apache.clerezza.commons.rdf.Graph;↵import org.apache.clerezza.commons.rdf.BlankNodeOrIRI;↵import org.apache.clerezza.commons.rdf.Triple;↵import org.apache.clerezza.commons.rdf.IRI;↵import org.apache.clerezza.rdf.core.serializedform.Parser;↵import org.apache.clerezza.rdf.core.serializedform.SupportedFormat;↵import org.apache.clerezza.rdf.core.serializedform.UnsupportedParsingFormatException;↵import org.apache.felix.scr.annotations.Component;↵import org.apache.felix.scr.annotations.Property;↵import org.apache.felix.scr.annotations.Reference;↵import org.apache.felix.scr.annotations.Service;↵import org.apache.stanbol.commons.indexedgraph.IndexedGraph;↵import org.apache.stanbol.entityhub.jersey.utils.JerseyUtils;↵import org.apache.stanbol.entityhub.jersey.utils.MessageBodyReaderUtils;↵import org.apache.stanbol.entityhub.jersey.utils.MessageBodyReaderUtils.RequestData;↵import org.apache.stanbol.entityhub.model.clerezza.RdfValueFactory;↵import org.apache.stanbol.entityhub.servicesapi.model.Representation;↵import org.slf4j.Logger;↵import org.slf4j.LoggerFactory;↵/**↵ * Provides support for reading Representation form Requests. This implementation↵ * supports all RDF supports as well as {@link MediaType#APPLICATION_FORM_URLENCODED}↵ * - in case the data are sent from an HTML form - and ↵ * {@link MediaType#MULTIPART_FORM_DATA} - mime encoded data.↵ * In case of an HTML form the encoding need to be spec
Values
Token Positive-pole strength ;↵0.003 import0.000 javax0.000 .ws0.000 .rs0.000 .core0.222 .Mult0.000 ival0.068 ued0.000 Map0.000 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core0.224 .Response0.000 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core0.203 .Response0.000 .Status0.000 ;↵0.015 import0.000 javax0.000 .ws0.000 .rs0.000 .ext1.426 .Message0.000 Body0.000 Reader0.000 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .ext1.384 .Provider0.089 -
1.38
… Changes may cause incorrect behavior and will be lost if the code is regenerated.↵↵import (↵ "context"↵ "github.com/Azure/go-autorest/autorest"↵ "github.com/Azure/go-autorest/ …
All 703 tokens
package network↵↵// Copyright (c) Microsoft and contributors. All rights reserved.↵//↵// Licensed under the Apache License, Version 2.0 (the "License");↵// you may not use this file except in compliance with the License.↵// You may obtain a copy of the License at↵// http://www.apache.org/licenses/LICENSE-2.0↵//↵// Unless required by applicable law or agreed to in writing, software↵// distributed under the License is distributed on an "AS IS" BASIS,↵// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵//↵// See the License for the specific language governing permissions and↵// limitations under the License.↵//↵// Code generated by Microsoft (R) AutoRest Code Generator.↵// Changes may cause incorrect behavior and will be lost if the code is regenerated.↵↵import (↵ "context"↵ "github.com/Azure/go-autorest/autorest"↵ "github.com/Azure/go-autorest/autorest/azure"↵ "github.com/Azure/go-autorest/tracing"↵ "net/http"↵)↵↵// VpnSitesClient is the network Client↵type VpnSitesClient struct {↵ BaseClient↵}↵↵// NewVpnSitesClient creates an instance of the VpnSitesClient client.↵func NewVpnSitesClient(subscriptionID string) VpnSitesClient {↵ return NewVpnSitesClientWithBaseURI(DefaultBaseURI, subscriptionID)↵}↵↵// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client.↵func NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient {↵ return VpnSitesClient{NewWithBaseURI(baseURI, subscriptionID)}↵}↵↵// CreateOrUpdate creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.↵// Parameters:↵// resourceGroupName - the resource group name of the VpnSite.↵// vpnSiteName - the name of the VpnSite being created or updated.↵// vpnSiteParameters - parameters supplied to create or update VpnSite.↵func (client VpnSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (result VpnSitesCreateOrUpdateFuture, err error) {↵ if tracing.IsEnabled() {↵ ctx = tracing.StartSpan(ctx, fqdn+"/VpnSitesClient.CreateOrUpdate")↵ defer func() {↵ sc := -1↵ if result.Response() != nil {↵ sc = result.Response().StatusCode↵ }↵ tracing.EndSpan(ctx, sc, err)↵ }()↵ }↵ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, vpnSiteName, vpnSiteParameters)↵ if err != nil {↵ err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "CreateOrUpdate", nil, "Failure preparing request")↵ return↵ }↵↵ result, err = client.CreateOrUpdateSender(req)↵ if err != nil {↵ err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "CreateOrUpdate", result.Response(), "Failure sending request")↵ return↵ }↵↵ return↵}↵↵// CreateOrUpdatePreparer prepares the CreateOrUpdate request.↵func (client VpnSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (*http.Request, error) {↵ pathParameters := map[string]interface{}{↵ "resourceGroupName": autore
Values
Token Positive-pole strength Changes0.000 may0.000 cause0.000 incorrect0.000 behavior0.018 and0.000 will0.000 be0.000 lost0.002 if0.052 the0.019 code0.000 is0.000 regenerated0.011 .↵↵0.008 import0.000 (↵0.000 0.116 "context0.020 "↵0.000 0.013 "github0.000 .com0.000 /A0.000 zure0.095 /go0.000 -aut0.000 orest1.032 /0.066 aut0.054 orest1.377 "↵0.023 0.000 "github0.000 .com0.000 /A0.000 zure0.081 /go0.088 -aut0.000 orest1.076 /0.112 -
1.25
… EventArgs e)↵ {↵↵ tab = listBox1.GetItemText(listBox1.SelectedItem);↵ adapter2.Fill(tabula);↵ dataGridView1.DataSource = tabula;↵}↵↵A:↵↵That code should work. I …
All 654 tokens
Q:↵↵Listbox returns System.Data.DataRowView instead of values↵↵I am doing a project for my school, where I have to make a C# Windows Forms application that lets me interact with my PostgreSQL database. I have made a listbox, which is supposed to get the names of the tables from my database, and when I select these names, data from that table is show in the datagridview object in the form. The problem is, however, all my listbox values are System.Data.DataRowView, and datagridview only displays values from the first table in the list.↵The code: ↵ DataTable tabulusaraksts = new DataTable();↵ DataTable tabula = new DataTable();↵ NpgsqlDataAdapter adapter = new NpgsqlDataAdapter();↵ NpgsqlDataAdapter adapter2 = new NpgsqlDataAdapter();↵ string tab;↵ public datubaze()↵ {↵ InitializeComponent();↵ string connectionstring = "Server=localhost;Port=5432;UserId=postgres;Password=students;Database=retrospeles;";↵ //string connectionstring = String.Format("Server={0};Port={1};" +↵ // "User Id={2};Password={3};Database={4};",↵ // serveris.ToString(), port.ToString(), user.ToString(),↵ // password.ToString(), database.ToString());↵ NpgsqlConnection ncon = new NpgsqlConnection(connectionstring);↵ NpgsqlCommand listfill = new NpgsqlCommand("select table_name from INFORMATION_SCHEMA.tables WHERE table_schema = ANY (current_schemas(false));", ncon);↵ adapter.SelectCommand = listfill;↵ adapter.Fill(tabulusaraksts);↵ listBox1.DataSource = tabulusaraksts;↵ listBox1.DisplayMember = "table_name";↵ NpgsqlCommand showtable = new NpgsqlCommand("select * from " + tab +";" , ncon);↵ adapter2.SelectCommand = showtable;↵ }↵public void listBox1_SelectedIndexChanged(object sender, EventArgs e)↵ {↵↵ tab = listBox1.GetItemText(listBox1.SelectedItem);↵ adapter2.Fill(tabula);↵ dataGridView1.DataSource = tabula;↵}↵↵A:↵↵That code should work. I tried it with some test data and ListBox was filled with correct values.↵To be sure, try to also set ValueMember like ↵listBox1.DisplayMember = "table_name";↵↵I think the best approach is to add DataTable rows to your ListBox using loop or Linq list. After filling tabulusaraksts iterate through DataRows and add them as items to ListBox, without setting DataSource Something like this (Linq):↵adapter.SelectCommand = listfill;↵adapter.Fill(tabulusaraksts);↵listBox1.Items.AddRange(tabulusaraksts.AsEnumerable().Select(row => row[0].ToString()).ToArray());↵NpgsqlCommand showtable = new NpgsqlCommand("select * from " + tab +";" , ncon);↵adapter2.SelectCommand = showtable;↵↵or, using foreach loop↵adapter.SelectCommand = listfill;↵adapter.Fill(tabulusaraksts);↵↵listBox1.Items.Clear();↵foreach (DataRow row in tabulusaraksts.Rows)↵{↵ listBox1.Items.add(tabulusaraksts[0].ToString());↵}↵↵NpgsqlCommand showtable = new NpgsqlCommand("select * from " + tab +";" , ncon);↵adapter2.SelectCommand =
Values
Token Positive-pole strength EventArgs0.020 e0.082 )↵0.139 0.054 {↵↵0.074 0.116 tab0.005 =0.000 listBox0.000 10.052 .GetItem0.183 Text0.019 (list0.000 Box0.000 10.000 .SelectedItem0.000 );↵0.051 0.000 adapter0.125 20.162 .Fill0.166 (tab0.000 ula1.040 );↵0.017 0.000 dataGridView0.000 10.091 .DataSource0.092 =0.000 tab0.019 ula1.246 ;↵0.000 }↵↵0.105 A0.004 :↵↵0.000 That0.000 code0.000 should0.000 work0.064 .0.000 I0.000 -
1.23
… > license statement↵Sorry for the inconvenience and thank you for cooperating :-)↵↵(In reply to kinfe from comment #0)↵> this is modified VCL.xcu file including my language,Tigrigna …
All 671 tokens
Instead of attaching a complete file, could you please create a diff of your changes against the original file? If possible we'd also prefer it submitted as a commit change to our gerrit instance, see https://wiki.documentfoundation.org/Development/gerrit but that's not strictly necessary if you're not familiar with git and develop tools and such.↵In any case we'll need your license agreement, apparently we don't have it on file, could you please send us a blanket statement that you contribute all your past and future patches under the MPLv2 and LGPLv3+ licenses? Best on the dev mailing list████████ so we can link to it from https://wiki.documentfoundation.org/Development/Developers↵Something like this does nicely:↵All of my past & future contributions to LibreOffice may be↵licensed under the MPLv2/LGPLv3+ dual license.↵Best use Subject: <your full name> license statement↵Sorry for the inconvenience and thank you for cooperating :-)↵↵(In reply to kinfe from comment #0)↵> this is modified VCL.xcu file including my language,Tigrigna, default fonts↵Hi kinfe/Eike,↵Any update regarding these files? In the past year have we merged any default fonts for Tigrigna language (these files or others) ?↵As this bug has been dormant for over a year, I'll toss it into NEEDINFO and await further info. If the underlying issue has been resolved, let's close this bug.↵↵Dear Bug Submitter,↵This bug has been in NEEDINFO status with no change for at least↵6 months. Please provide the requested information as soon as↵possible and mark the bug as UNCONFIRMED. Due to regular bug↵tracker maintenance, if the bug is still in NEEDINFO status with↵no change in 30 days the QA team will close the bug as INSUFFICIENTDATA↵due to lack of needed information.↵For more information about our NEEDINFO policy please read the↵wiki located here:↵https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO↵If you have already provided the requested information, please↵mark the bug as UNCONFIRMED so that the QA team knows that the↵bug is ready to be confirmed.↵Thank you for helping us make LibreOffice even better for everyone!↵Warm Regards,↵QA Team↵MassPing-NeedInfo-Ping-20170131↵↵Dear Bug Submitter,↵Please read this message in its entirety before proceeding.↵Your bug report is being closed as INSUFFICIENTDATA due to inactivity and↵a lack of information which is needed in order to accurately↵reproduce and confirm the problem. We encourage you to retest↵your bug against the latest release. If the issue is still↵present in the latest stable release, we need the following↵information (please ignore any that you've already provided):↵a) Provide details of your system including your operating↵system and the latest version of LibreOffice that you have↵confirmed the bug to be present↵b) Provide easy to reproduce steps – the simpler the better↵c) Provide any test case(s) which will help us confirm the problem↵d) Provide screenshots of the problem if you think it m
Values
Token Positive-pole strength >0.025 license0.030 statement0.000 ↵0.000 Sorry0.187 for0.000 the0.018 inconvenience0.051 and0.000 thank0.000 you0.000 for0.130 cooperating0.000 :-0.031 )↵↵0.000 (In0.045 reply0.003 to0.000 kin0.000 fe0.119 from0.000 comment0.000 #0.000 00.000 )↵0.000 >0.104 this0.000 is0.084 modified0.000 V0.000 CL1.226 .x0.029 cu0.265 file0.000 including0.000 my0.000 language0.000 ,T0.000 igr0.032 ign0.000 a0.000 -
1.10
… choose Custom Build Tool for the Item Type field.↵3) Click on Apply.↵4) On the Custom Build Tool page set nasm -f win32 -o "$(ProjectDir)$(IntDir …
All 686 tokens
Q:↵↵Assembly in Visual Studio 2013 not building even after enabling Microsoft Macro Assembler↵↵I'm trying to run a pretty basic assembly file to do a little math and print the output, nothing challenging. I've followed the steps given from places such as here but my build still fails and there are errors on every single line about syntax. Errors such as:↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(22): error C2061: syntax error : identifier 'dword'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(24): error C2061: syntax error : identifier 'add'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(27): error C2061: syntax error : identifier 'pop'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(12): error C2061: syntax error : identifier 'main'↵↵The code I'm trying to run is here. I've tried changing from cpp to c compiling, I've tried setting an entry point in the linker, and I've tried right clicking on project->Build Dependencies->Build Customizations and checking masm but none of those made any difference at all. Is there something else I'm missing?↵↵A:↵↵The code you tried to assemble uses NASM syntax. You need to configure Visual Studio to use NASM instead. ↵1) Install NASM and add it's path to the PATH environment variable.↵2) Right click on your asm file and then choose Properties->General and then choose Custom Build Tool for the Item Type field.↵3) Click on Apply.↵4) On the Custom Build Tool page set nasm -f win32 -o "$(ProjectDir)$(IntDir)%(Filename).obj" "%(FullPath)" for the Command Line field.↵5) Set the Outputs field to $(IntermediateOutputPath)%(Filename).obj ↵This will make NASM assemble your assembly source file into visual studio compatible object file.↵We are not done yet though, you need to make some changes to the assembly file before you can link it using MSVC's linker.↵1) MSVC's linker requires your functions to start with an underscore so main becomes _main.↵2) The naming convention when declaring imported APIs is different too. So extern printf becomes extern __imp__printf↵3) Call instructions to imported APIs are different too. call printf becomes call [__imp__printf]. The address of printf will be stored in an import table entry and our instruction dereferences it to find the address of printf and calls it. ↵Trying to link this will also result in an error (error LNK2001: unresolved external symbol _mainCRTStartup). The way I beat this is including a c file with a dummy function that does nothing. That way, the CRT startup stub gets linked. (If there is a better method, suggest it in the comments).↵↵
Values
Token Positive-pole strength choose0.000 Custom0.127 Build0.000 Tool0.000 for0.029 the0.008 Item0.000 Type0.000 field0.000 .↵0.055 30.000 )0.000 Click0.000 on0.001 Apply0.014 .↵0.000 40.061 )0.000 On0.060 the0.000 Custom0.215 Build0.000 Tool0.000 page0.000 set0.039 n0.007 asm0.330 -0.039 f0.000 win0.043 31.098 20.057 -0.014 o0.000 "$(0.000 Project0.029 Dir0.051 )0.061 $(0.089 Int0.043 Dir0.000 -
1.09
… .so libs are stored and then target_link_libraries to point which should be linked. At the end I did export target.↵include_directories(${EXTERNAL_DIR}/include)↵link_directories(${EXTERNAL_DIR …
All 526 tokens
Q:↵↵CMake link directory passing when compiling shared library↵↵Say I have C project with the following structure (simplified):↵|- CMakeLists.txt <- This is root CMake↵|- lib↵ |- <some source files>↵ |- CMakeLists.txt <- CMake file for building the library↵|- demo↵ |- <some source files>↵ |- CMakeLists.txt <- CMake for building demo apps↵|- extra_lib↵ |- <some source files>↵ |- CMakeLists.txt <- CMake for building supplementary library↵↵Now, I want to build my library (living in lib) as a shared library to be used by demo apps from demo directory. ↵Additional library, that can not be a part of my library (it is essentially a wrapper for some C++ external library) is also to be compiled as a shared library and then linked to my library.↵I have a problem with including dependencies for additional library. In its CMakeLists.txt I've defined link_directories to point location where .so libs are stored and then target_link_libraries to point which should be linked. At the end I did export target.↵include_directories(${EXTERNAL_DIR}/include)↵link_directories(${EXTERNAL_DIR}/lib)↵↵add_library(extra_lib SHARED extra_lib.cpp)↵↵target_link_libraries(extra_lib↵ some_lib↵)↵↵export(TARGETS extra_lib FILE extra_lib.cmake)↵↵The point is that when I try to compile lib and link it against extra_lib I get an error that some_lib is not found what I guess means that link_directories is local to the extra_lib.↵Now, question is how can I make it propagate together with dependencies? I'd like it to work in the way that adding extra_lib as subdirectory and as a dependency for my lib would automatically add linked directories from extra_lib to the lib linking process.↵The linking process would look like:↵(some external library) --> extra_lib --> lib --> demo app↵↵A:↵↵First off, the CMake docs state that commands like include_directories and link_directories are rarely necessary. In fact, it is almost always better to use target_include_directories and target_link_libraries instead.↵Secondly, the reason your approach fails is because you need to let CMake know about the existence of some_lib. You can do this like so:↵add_library(some_lib SHARED IMPORTED)↵set_target_properties(some_lib↵ PROPERTIES↵ IMPORTED_LOCATION ${EXTERNAL_DIR}/lib/libsome_lib.so)↵↵Then, afterwards:↵target_link_libraries(extra_lib some_lib)↵↵
Values
Token Positive-pole strength .0.084 so0.001 libs0.164 are0.000 stored0.028 and0.097 then0.000 target0.000 _link0.000 _l0.000 ibraries0.116 to0.029 point0.030 which0.000 should0.131 be0.000 linked0.220 .0.018 At0.123 the0.000 end0.054 I0.000 did0.000 export0.000 target0.000 .↵0.032 include0.041 _direct0.000 ories0.014 (${0.016 EXTERNAL1.095 _DIR0.000 }/0.163 include0.181 )↵0.000 link0.226 _direct0.000 ories0.000 (${0.001 EXTERNAL0.905 _DIR0.000
Read more
Each token is shaded by positive-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.
Explanation scores on held-out text
How well a judge with only the hypothesis predicts the unit on new text. 0.5 is chance.
Read more
The judge reads 32-token windows of corpus text that the proposer never saw. Detection: it picks the windows that activate the unit. Fuzzing: it checks whether the marked tokens are the active ones. Recorded, not gated.
Detection recall by activation strength
False alarms on inactive windows: 0%.
- Judge
- deepseek-flash
- Held-out windows
- 1 active of 4,000
- Judged
- 2 detection · 0 fuzzing
- Detection outcomes
- 1 missed · 0 false alarm · 0 hit · 1 correct rejection
- Seed
- 2629812973 · NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs)
Detection windows (2), the explanation's mistakes first
- missed 2.79 · sim 0.16 --- sandbox/linux/BUILD.gn.orig 2019-04-08 08:18:26 UTC↵+++ sandbox
- correct rejection 0.27 · sim -0.01 note, in the list, whether it's recorded or not.…Click on the meeting title to visit the meeting space page for that meeting.…↵↵Resume Transcript Auto-
Activation and mechanism
Activation distribution
Positive-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed retrospective: responds to tokens already in context.
Input attribution
- 0 back
- 56%
- 1 back
- 5%
- 2–4 back
- 3%
- 5–16 back
- 5%
- 17–64 back
- 8%
- 65+ back
- 23%
- #1 at
ask:ask0 1.00c-1 0.00 - #2 at
>:>0 0.64'~-1 0.21',-2 -0.10.' -120 -0.02>-29 0.02 - #3 at
hub:hub0 0.86using-598 -0.06hub-577 0.04docker-1 0.03which-3 0.02 - #4 at
.boost:.boost0 1.37www-1 -0.20/LICENSE-13 0.07LICENSE-29 0.05http-3 -0.05 - #5 (not converged) at
Hat:Hat0 0.98Red-1 -0.40posix-4 0.15that-2 0.13Red-33 -0.07
Shares of the gap to <|endoftext|> at every position but the first · converged on 4 of 5 · mean 73.9 tokens back ·
agreement with replacing one token at a time ρ = 0.63 · reported, not gated
Vocabulary projection
The tokens that this unit's output raises and lowers most.
Jacobian lens
Logit lens
Values
| # | Jacobian lens promotes | suppresses | Logit lens promotes | suppresses | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | "
|
+7.39 | humour |
-6.66 | throp |
+4.58 | lights |
-5.46 |
| 2 | "-- |
+7.13 | colour |
-6.14 | agine |
+4.49 | ','');
|
-4.77 |
| 3 | "
|
+7.01 | colours |
-6.14 | unger |
+4.41 | ,DB |
-4.58 |
| 4 | "
|
+6.81 | minimise |
-5.99 | unbe |
+4.29 | abouts |
-4.54 |
| 5 | ."
|
+6.56 | recognise |
-5.91 | pul |
+4.21 | 日晚 |
-4.48 |
| 6 | *" |
+6.42 | recognised |
-5.86 | köz |
+4.18 | ;',
|
-4.29 |
| 7 | ..."
|
+6.35 | ‘ |
-5.79 | maxY |
+4.14 | 停止 |
-4.25 |
| 8 | ..." |
+6.18 | maths |
-5.71 | 健康的 |
+4.11 | =DB |
-4.24 |
| 9 | _" |
+6.16 | realise |
-5.60 | ffer |
+4.11 | icter |
-4.15 |
| 10 | -" |
+6.15 | realised |
-5.60 | imbus |
+4.10 | <Article |
-4.15 |
Top-10 overlap 0% · cos(w, J·w) 0.18 · kurtosis 4.4 (Jacobian) / 3.2 (logit) · 100 prompts
Read more
The output direction is read through the final norm and the unembedding. The Jacobian lens first carries it to the last layer. Bar length is the token's z-score over the vocabulary, and ␣ marks a space. A kurtosis near 3 means no specific set of tokens.
Patchscope
The model's own description of this unit's output, with no examples.
Read more
The unit's direction replaces the residual stream after the named layer, at the ? of each prompt. It is scaled to each multiple of the norm it replaces, and the model continues greedily. The control injects a random direction, so text that both rows share comes from the prompt. Read after the proposer answered, and shown to neither agent. Reported, not gated.
| Prompt | Layer | ×1 | ×2 | ×4 | |
|---|---|---|---|---|---|
| category | 2 | unit | job | food | food |
| control | period | emotion | animal | ||
| category | 4 | unit | country | person | organization |
| control | adjective | adjective | name | ||
| meaning | 2 | unit | "a person who is not good at anything." The meaning | to be used in the following way: "The word ' | to make something into a thing. The word "bless |
| control | to increase the value of something. It is used to describe | to be used in a positive way. It is not to | "to be the subject of a verb, to be the | ||
| meaning | 4 | unit | to make something grow or to make something grow into something else | to be found in the fact that it is a noun, | to be found in the following sentence: "The meaning of |
| control | "to be willing to do something". The word "ind | "to be the subject of a verb, to be the | to be determined by the following rules: (1) The |
Hover a prompt's name for its text.
Steering
What the model writes with this pole ablated, untouched, and clamped. Text that matches the baseline is faded.
Read more
The prompts are neutral. The clamp is a multiple of the top activation in the scan (7.14), at every token, and decoding is greedy. Drift at ×1 or ×2 shows what the pole makes the model write. Drift only at ×4 is off-distribution. At most 24 new tokens. Taken after the proposer answered, and shown to neither agent. Reported, not gated.
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
very hot. The temperature is 30 degrees Celsius. The temperature is 10 degrees Celsius lower than the temperature
very cold. The temperature is -10°C. The highest temperature of the day is -10°C. How
2017 as well as the 2017-08-10. This is the
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a new pair of shoes. I have to pay 10% more than the original price. If the original price
a book. The book has a total of 170 pages. I have to read the book within 2
a book for my phone. I also found a book for my phone. I also found a book for my phone.
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to do it. That's why we offer you a free online course on how to learn to play the piano. This
to practice. We will use the lesson to learn how to play the piano. This lesson is a great introduction to the
the best way to learn how to use a for the best way to learn how to use a for the best way to
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a young girl named Lily. She loved to play with her toys and build things. One day, she decided
there was a young girl named Lily. She loved to play with her toys and build things. One day, she decided
I can give you a free download for you with this method to create a software for the development of a software for the
the 2010 census showed that the population of the United States was 328,000
the 2010 census showed that the population of the United States was 318,000
the 2010 census was a success, with 1.2 million more people than in 20
the 2010s will be a decade of change, with the world's population growing larger, more diverse
: A. The report concluded that: A. The report concluded that: A. The report concluded that: A.
Wiring
The units that write most directly into this pole (upstream) and read most directly from it (downstream). See its circuit.
Read more
"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated.
From the weights. Virtual weights, with each norm's gain folded in. They rank units but have no absolute scale. Each number is how much one unit reads of the other's write. It is signed when one vector reads another (+ means a positive activation raises the read), and a norm otherwise. Heads count through their OV circuit upstream, and through their Q, K and V reads downstream. Channels are on hover.
From activations. Averaged over this pole's peak on 7 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).
From the weights
Upstream neurons
| L1/N964 | gate | +0.0892 |
| L3/N1858 | up | -0.0872 |
| L3/N2224 | gate | +0.0848 |
| L1/N2460 | gate | +0.0848 |
| L3/N2143 | gate | -0.08 |
| L1/N4747 | up | -0.077 |
| L0/N2015 | up | -0.0768 |
| L1/N3357 | gate | +0.0756 |
| L2/N149 | gate | -0.0756 |
| L2/N2323 | gate | +0.0729 |
Upstream heads
| L4/H7 | gate | +0.191 |
| L4/H12 | gate | +0.173 |
| L4/H9 | gate | +0.17 |
| L4/H11 | gate | +0.149 |
| L4/H10 | up | +0.124 |
| L4/H3 | up | +0.122 |
| L4/H13 | gate | +0.116 |
| L3/H3 | gate | +0.111 |
| L3/H8 | gate | +0.106 |
| L4/H6 | gate | +0.0888 |
Downstream neurons
| L16/N1355 | gate | -0.178 |
| L6/N2748 | gate | -0.144 |
| L5/N1948 | gate | -0.134 |
| L5/N4304 | gate | -0.129 |
| L21/N567 | gate | -0.123 |
| L23/N2521 | gate | +0.118 |
| L23/N589 | up | -0.117 |
| L21/N1671 | gate | -0.116 |
| L23/N1814 | up | -0.114 |
| L23/N2098 | up | +0.114 |
Downstream heads
| L8/H3 | q | +0.392 |
| L21/H7 | v | +0.389 |
| L21/H8 | v | +0.389 |
| L21/H9 | v | +0.389 |
| L21/H10 | v | +0.389 |
| L21/H11 | v | +0.389 |
| L21/H12 | v | +0.389 |
| L21/H13 | v | +0.389 |
| L13/H13 | q | +0.357 |
| L16/H3 | q | +0.337 |
From activations
Upstream neurons
| L3/N101 | +0.655 | |
| L2/N2323 | +0.569 | |
| L3/N3380 | +0.371 | |
| L1/N4231 | +0.196 | |
| L3/N2673 | -0.194 | |
| L3/N4414 | +0.191 | |
| L3/N4121 | +0.162 | |
| L3/N1060 | +0.157 | |
| L0/N3623 | +0.148 | |
| L3/N2437 | +0.135 |
Upstream heads
| L4/H12 | -1.05 | |
| L4/H11 | +0.66 | |
| L4/H13 | +0.559 | |
| L3/H10 | -0.473 | |
| L4/H10 | +0.366 | |
| L4/H9 | +0.317 | |
| L4/H8 | -0.266 | |
| L1/H9 | -0.253 | |
| L1/H10 | -0.239 | |
| L1/H8 | -0.165 |
Downstream neurons
| L5/N752 | -2.09 | |
| L5/N1307 | +1.22 | |
| L5/N1930 | -0.888 | |
| L23/N4484 | -0.701 | |
| L7/N293 | +0.59 | |
| L23/N1863 | +0.577 | |
| L16/N3311 | +0.522 | |
| L21/N4663 | -0.493 | |
| L23/N1926 | -0.474 | |
| L14/N823 | +0.436 |
Downstream heads
| L14/H10 | v | +0.541 |
| L12/H0 | v | +0.5 |
| L10/H6 | v | +0.472 |
| L8/H3 | v | +0.47 |
| L14/H1 | v | +0.46 |
| L5/H9 | v | +0.417 |
| L5/H10 | v | +0.36 |
| L5/H8 | v | +0.348 |
| L6/H9 | v | +0.343 |
| L13/H3 | v | +0.318 |
Covariance and confounds
Confounds
- Token identity R²
- 0.43
- Position R²
- 0.01
- Frequency r
- 0.12
- Best trivial baseline
- token identity · 0.80
- Hypothesis
- 0.75 ✗
askorestoby_dependencyEXTERNALelixulahubBOOST podekyllekt
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N1838+ | 44.8 | 10 | +0.01 | +0.06 |
| N1525− | 38.3 | 9 | -0.03 | -0.03 |
| N3538− | 26.5 | 7 | +0.05 | -0.04 |
| N2783− | 26.5 | 7 | +0.04 | -0.09 |
| N4101− | 26.5 | 7 | +0.04 | -0.15 |
| N958− | 26.5 | 7 | +0.02 | -0.05 |
| N1787+ | 26.5 | 7 | +0.01 | +0.06 |
| N4818− | 26.5 | 7 | +0.00 | -0.04 |
| N821+ | 21.1 | 6 | +0.01 | +0.01 |
| N3564− | 21.1 | 6 | -0.01 | -0.01 |
Read more
Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.
Joint ablation
- Partners
- N1838, N1525, N3538
- KL pole alone
- 9.83e-04
- KL partners
- 7.44e-03
- KL together
- 8.59e-03
- Redundancy ratio
- 1.16
The partners don't change the pole's effect much.
Run details
- Submitted by
- deepseek-flash
- Reviewed by
- deepseek-flash (same model as the proposer: not an independent review)
- Reviewed at
- 2026-11-01 02:03 UTC
- Max activation
- 7.1420
- Selection
- random (seed 2228075743)
- Corpus
- NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · licence bigscience-bloom-rail-1.0
- Model revision
- 060db6499f32 · float32
- Ran on
- scan mps:0 · review mps:0
- Run cost
- 28.5 min (slowest: proposer, 17.3 min) · 3 LLM calls · 6,473,957 + 160,254 tokens · $0.13